Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDCouplingCartesianAMRMeshSub Class Reference
Inheritance diagram for MEDCoupling::MEDCouplingCartesianAMRMeshSub:
Collaboration diagram for MEDCoupling::MEDCouplingCartesianAMRMeshSub:

Public Member Functions

void detachFromFather ()
 
int getAbsoluteLevel () const
 
int getAbsoluteLevelRelativeTo (const MEDCouplingCartesianAMRMeshGen *ref) const
 
const
MEDCouplingCartesianAMRMeshGen
getFather () const
 
const
MEDCouplingCartesianAMRMeshGen
getGodFather () const
 
 MEDCouplingCartesianAMRMeshSub (MEDCouplingCartesianAMRMeshGen *father, MEDCouplingIMesh *mesh)
 
std::vector< std::pair< int,
int > > 
positionRelativeToGodFather (std::vector< int > &st) const
 
- Public Member Functions inherited from MEDCoupling::MEDCouplingCartesianAMRMeshGen
void addPatch (const std::vector< std::pair< int, int > > &bottomLeftTopRight, const std::vector< int > &factors)
 
MEDCouplingFieldDoublebuildCellFieldOnRecurseWithoutOverlapWithoutGhost (int ghostSz, const std::vector< const DataArrayDouble * > &recurseArrs) const
 
MEDCoupling1SGTUMeshbuildMeshFromPatchEnvelop () const
 
MEDCoupling1SGTUMeshbuildMeshOfDirectChildrenOnly () const
 
std::string buildPythonDumpOfThis () const
 
MEDCouplingUMeshbuildUnstructured () const
 
DataArrayDoublecreateCellFieldOnPatch (int patchId, const DataArrayDouble *cellFieldOnThis) const
 
void createPatchesFromCriterion (const INTERP_KERNEL::BoxSplittingOptions &bso, const std::vector< bool > &criterion, const std::vector< int > &factors)
 
void createPatchesFromCriterion (const INTERP_KERNEL::BoxSplittingOptions &bso, const DataArrayByte *criterion, const std::vector< int > &factors)
 
void createPatchesFromCriterion (const INTERP_KERNEL::BoxSplittingOptions &bso, const DataArrayDouble *criterion, const std::vector< int > &factors, double eps)
 
DataArrayDoubleextractGhostFrom (int ghostSz, const DataArrayDouble *arr) const
 
void fillCellFieldComingFromPatch (int patchId, const DataArrayDouble *cellFieldOnPatch, DataArrayDouble *cellFieldOnThis, bool isConservative=true) const
 
void fillCellFieldComingFromPatchGhost (int patchId, const DataArrayDouble *cellFieldOnPatch, DataArrayDouble *cellFieldOnThis, int ghostLev, bool isConservative=true) const
 
void fillCellFieldOnPatch (int patchId, const DataArrayDouble *cellFieldOnThis, DataArrayDouble *cellFieldOnPatch, bool isConservative=true) const
 
void fillCellFieldOnPatchGhost (int patchId, const DataArrayDouble *cellFieldOnThis, DataArrayDouble *cellFieldOnPatch, int ghostLev, bool isConservative=true) const
 
void fillCellFieldOnPatchGhostAdv (int patchId, const DataArrayDouble *cellFieldOnThis, int ghostLev, const std::vector< const DataArrayDouble * > &arrsOnPatches, bool isConservative=true) const
 
void fillCellFieldOnPatchOnlyGhostAdv (int patchId, int ghostLev, const std::vector< const DataArrayDouble * > &arrsOnPatches) const
 
void fillCellFieldOnPatchOnlyOnGhostZone (int patchId, const DataArrayDouble *cellFieldOnThis, DataArrayDouble *cellFieldOnPatch, int ghostLev) const
 
void fillCellFieldOnPatchOnlyOnGhostZoneWith (int ghostLev, const MEDCouplingCartesianAMRPatch *patchToBeModified, const MEDCouplingCartesianAMRPatch *neighborPatch, DataArrayDouble *cellFieldOnPatch, const DataArrayDouble *cellFieldNeighbor) const
 
DataArrayIntfindPatchesInTheNeighborhoodOf (int patchId, int ghostLev) const
 
const std::vector< int > & getFactors () const
 
const MEDCouplingIMeshgetImageMesh () const
 
int getMaxNumberOfLevelsRelativeToThis () const
 
const
MEDCouplingCartesianAMRMeshGen
getMeshAtPosition (const std::vector< int > &pos) const
 
int getNumberOfCellsAtCurrentLevel () const
 
int getNumberOfCellsAtCurrentLevelGhost (int ghostLev) const
 
int getNumberOfCellsRecursiveWithoutOverlap () const
 
int getNumberOfCellsRecursiveWithOverlap () const
 
int getNumberOfPatches () const
 
const
MEDCouplingCartesianAMRPatch * 
getPatch (int patchId) const
 
const
MEDCouplingCartesianAMRPatch * 
getPatchAtPosition (const std::vector< int > &pos) const
 
std::vector< const
MEDCouplingCartesianAMRPatch * > 
getPatches () const
 
int getPatchIdFromChildMesh (const MEDCouplingCartesianAMRMeshGen *mesh) const
 
std::vector< int > getPatchIdsInTheNeighborhoodOf (int patchId, int ghostLev) const
 
std::vector< int > getPositionRelativeTo (const MEDCouplingCartesianAMRMeshGen *ref) const
 
int getSpaceDimension () const
 
bool isPatchInNeighborhoodOf (int patchId1, int patchId2, int ghostLev) const
 
void removeAllPatches ()
 
void removePatch (int patchId)
 
virtual std::vector
< MEDCouplingCartesianAMRPatchGen * > 
retrieveGridsAt (int absoluteLev) const
 
void setFactors (const std::vector< int > &newFactors)
 
- Public Member Functions inherited from MEDCoupling::TimeLabel
void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 

Protected Attributes

MEDCouplingCartesianAMRMeshGen_father
 
- Protected Attributes inherited from MEDCoupling::MEDCouplingCartesianAMRMeshGen
std::vector< int > _factors
 
MCAuto< MEDCouplingIMesh_mesh
 
std::vector< MCAuto
< MEDCouplingCartesianAMRPatch > > 
_patches
 

Additional Inherited Members

- Static Public Member Functions inherited from MEDCoupling::BigMemoryObject
static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 
- Protected Member Functions inherited from MEDCoupling::MEDCouplingCartesianAMRMeshGen
void checkFactorsAndIfNotSetAssign (const std::vector< int > &factors)
 
void checkPatchId (int patchId) const
 
void dumpPatchesOf (const std::string &varName, std::ostream &oss) const
 
std::vector< const
DataArrayDouble * > 
extractSubTreeFromGlobalFlatten (const MEDCouplingCartesianAMRMeshGen *head, const std::vector< const DataArrayDouble * > &all) const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
 MEDCouplingCartesianAMRMeshGen (const MEDCouplingCartesianAMRMeshGen &other)
 
 MEDCouplingCartesianAMRMeshGen (const std::string &meshName, int spaceDim, const int *nodeStrctStart, const int *nodeStrctStop, const double *originStart, const double *originStop, const double *dxyzStart, const double *dxyzStop)
 
 MEDCouplingCartesianAMRMeshGen (MEDCouplingIMesh *mesh)
 
void retrieveGridsAtInternal (int lev, std::vector< MCAuto< MEDCouplingCartesianAMRPatchGen > > &grids) const
 
void updateTime () const
 
- Static Protected Member Functions inherited from MEDCoupling::MEDCouplingCartesianAMRMeshGen
static int GetGhostLevelInFineRef (int ghostLev, const std::vector< int > &factors)
 

Constructor & Destructor Documentation

MEDCouplingCartesianAMRMeshSub::MEDCouplingCartesianAMRMeshSub ( MEDCouplingCartesianAMRMeshGen father,
MEDCouplingIMesh mesh 
)

References _father.

Member Function Documentation

const MEDCouplingCartesianAMRMeshGen * MEDCouplingCartesianAMRMeshSub::getFather ( ) const
virtual
const MEDCouplingCartesianAMRMeshGen * MEDCouplingCartesianAMRMeshSub::getGodFather ( ) const
virtual
int MEDCouplingCartesianAMRMeshSub::getAbsoluteLevel ( ) const
virtual

This method returns the level of this. 0 for god father. 1 for children of god father ...

Implements MEDCoupling::MEDCouplingCartesianAMRMeshGen.

References _father, and MEDCoupling::MEDCouplingCartesianAMRMeshGen::getAbsoluteLevel().

void MEDCouplingCartesianAMRMeshSub::detachFromFather ( )
virtual
int MEDCouplingCartesianAMRMeshSub::getAbsoluteLevelRelativeTo ( const MEDCouplingCartesianAMRMeshGen ref) const
virtual

Member Data Documentation