Public Member Functions | |
std::string | advancedRepr () const |
MEDCouplingUMesh * | build3DUnstructuredMesh () const |
MEDCouplingFieldDouble * | buildOrthogonalField () const |
MEDCouplingMesh * | buildPart (const int *start, const int *end) const |
MEDCouplingMesh * | buildPartAndReduceNodes (const int *start, const int *end, DataArrayInt *&arr) const |
MEDCouplingUMesh * | buildUnstructured () const |
void | checkConsistency (double eps=1e-12) const |
void | checkConsistencyLight () const |
void | checkDeepEquivalOnSameNodesWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor) const |
void | checkDeepEquivalWith (const MEDCouplingMesh *other, int cellCompPol, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const |
DataArrayInt * | checkTypeConsistencyAndContig (const std::vector< int > &code, const std::vector< const DataArrayInt * > &idsPerType) const |
MEDCouplingMappedExtrudedMesh * | clone (bool recDeepCpy) const |
DataArrayDouble * | computeCellCenterOfMass () const |
DataArrayInt * | computeEffectiveNbOfNodesPerCell () const |
DataArrayDouble * | computeIsoBarycenterOfNodesPerCell () const |
DataArrayInt * | computeNbOfFacesPerCell () const |
DataArrayInt * | computeNbOfNodesPerCell () const |
void | copyTinyStringsFrom (const MEDCouplingMesh *other) |
MEDCouplingMappedExtrudedMesh * | deepCopy () const |
int | get2DCellIdForExtrusion () const |
std::set < INTERP_KERNEL::NormalizedCellType > | getAllGeoTypes () const |
void | getBoundingBox (double *bbox) const |
int | getCellContainingPoint (const double *pos, double eps) const |
void | getCellsContainingPoint (const double *pos, double eps, std::vector< int > &elts) const |
DataArrayDouble * | getCoordinatesAndOwner () const |
void | getCoordinatesOfNode (int nodeId, std::vector< double > &coo) const |
const DataArrayDouble * | getDirectAccessOfCoordsArrIfInStructure () const |
std::vector< const BigMemoryObject * > | getDirectChildrenWithNull () const |
std::vector< int > | getDistributionOfTypes () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
MEDCouplingFieldDouble * | getMeasureField (bool) const |
MEDCouplingFieldDouble * | getMeasureFieldOnNode (bool) const |
MEDCouplingUMesh * | getMesh1D () const |
MEDCouplingUMesh * | getMesh2D () const |
DataArrayInt * | getMesh3DIds () const |
int | getMeshDimension () const |
void | getNodeIdsOfCell (int cellId, std::vector< int > &conn) const |
int | getNumberOfCells () const |
int | getNumberOfCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
int | getNumberOfNodes () const |
void | getReverseNodalConnectivity (DataArrayInt *revNodal, DataArrayInt *revNodalIndx) const |
int | getSpaceDimension () const |
void | getTinySerializationInformation (std::vector< double > &tinyInfoD, std::vector< int > &tinyInfo, std::vector< std::string > &littleStrings) const |
MEDCouplingMeshType | getType () const |
INTERP_KERNEL::NormalizedCellType | getTypeOfCell (int cellId) const |
std::string | getVTKFileExtension () const |
DataArrayInt * | giveCellsWithType (INTERP_KERNEL::NormalizedCellType type) const |
bool | isEqualIfNotWhy (const MEDCouplingMesh *other, double prec, std::string &reason) const |
bool | isEqualWithoutConsideringStr (const MEDCouplingMesh *other, double prec) const |
MEDCouplingMesh * | mergeMyselfWith (const MEDCouplingMesh *other) const |
void | renumberCells (const int *old2NewBg, bool check=true) |
void | reprQuickOverview (std::ostream &stream) const |
void | resizeForUnserialization (const std::vector< int > &tinyInfo, DataArrayInt *a1, DataArrayDouble *a2, std::vector< std::string > &littleStrings) const |
void | rotate (const double *center, const double *vector, double angle) |
void | scale (const double *point, double factor) |
void | serialize (DataArrayInt *&a1, DataArrayDouble *&a2) const |
std::string | simpleRepr () const |
DataArrayInt * | simplexize (int policy) |
void | splitProfilePerType (const DataArrayInt *profile, std::vector< int > &code, std::vector< DataArrayInt * > &idsInPflPerType, std::vector< DataArrayInt * > &idsPerType) const |
void | translate (const double *vector) |
void | unserialization (const std::vector< double > &tinyInfoD, const std::vector< int > &tinyInfo, const DataArrayInt *a1, DataArrayDouble *a2, const std::vector< std::string > &littleStrings) |
void | updateTime () const |
Public Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
virtual bool | areCompatibleForMerge (const MEDCouplingMesh *other) const |
virtual MEDCouplingMesh * | buildPartRange (int beginCellIds, int endCellIds, int stepCellIds) const |
virtual MEDCouplingMesh * | buildPartRangeAndReduceNodes (int beginCellIds, int endCellIds, int stepCellIds, int &beginOut, int &endOut, int &stepOut, DataArrayInt *&arr) const |
virtual void | checkFastEquivalWith (const MEDCouplingMesh *other, double prec) const |
void | checkGeoEquivalWith (const MEDCouplingMesh *other, int levOfCheck, double prec, DataArrayInt *&cellCor, DataArrayInt *&nodeCor) const |
virtual void | copyTinyInfoFrom (const MEDCouplingMesh *other) |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, FunctionToEvaluate func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalytic (TypeOfField t, int nbOfComp, const std::string &func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalyticCompo (TypeOfField t, int nbOfComp, const std::string &func) const |
virtual MEDCouplingFieldDouble * | fillFromAnalyticNamedCompo (TypeOfField t, int nbOfComp, const std::vector< std::string > &varsOrder, const std::string &func) const |
virtual DataArrayInt * | getCellIdsFullyIncludedInNodeIds (const int *partBg, const int *partEnd) const |
virtual void | getCellsContainingPoints (const double *pos, int nbOfPoints, double eps, MCAuto< DataArrayInt > &elts, MCAuto< DataArrayInt > &eltsIndex) const |
std::string | getDescription () const |
std::size_t | getHeapMemorySizeWithoutChildren () const |
std::string | getName () const |
double | getTime (int &iteration, int &order) const |
std::string | getTimeUnit () const |
std::string | getVTKFileNameOf (const std::string &fileName) const |
virtual bool | isEqual (const MEDCouplingMesh *other, double prec) const |
bool | isStructured () const |
void | setDescription (const std::string &descr) |
void | setName (const std::string &name) |
void | setTime (double val, int iteration, int order) |
void | setTimeUnit (const std::string &unit) |
std::string | writeVTK (const std::string &fileName, bool isBinary=true) const |
Public Member Functions inherited from MEDCoupling::TimeLabel | |
void | declareAsNew () const |
std::size_t | getTimeOfThis () const |
TimeLabel & | operator= (const TimeLabel &other) |
Additional Inherited Members | |
Protected Member Functions inherited from MEDCoupling::MEDCouplingMesh | |
MEDCouplingMesh () | |
MEDCouplingMesh (const MEDCouplingMesh &other) | |
virtual | ~MEDCouplingMesh () |
|
static |
Build an extruded mesh instance from 3D and 2D unstructured mesh lying on the same coords.
mesh3D | 3D unstructured mesh. |
mesh2D | 2D unstructured mesh lying on the same coordinates than mesh3D. Warning mesh2D is not const because the mesh is aggregated and potentially modified by rotate or translate method. |
cell2DId | Id of cell in mesh2D mesh where the computation of 1D mesh will be done. |
|
static |
|
static |
This constructor is here only for unserialisation process. This constructor is normally completely useless for end user.
Referenced by MEDCoupling::MEDFileUMesh::convertToExtrudedMesh().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::EXTRUDED.
|
virtual |
Implements MEDCoupling::BigMemoryObject.
References MEDCoupling::MEDCouplingMesh::getHeapMemorySizeWithoutChildren().
|
virtual |
Implements MEDCoupling::BigMemoryObject.
|
virtual |
This method copyies all tiny strings from other (name and components name).
if | other and this have not same mesh type. |
Reimplemented from MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::copyTinyStringsFrom().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by advancedRepr(), and simpleRepr().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by getCoordinatesAndOwner().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References clone().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by deepCopy().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Reimplemented from MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::isEqualIfNotWhy().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::DataArrayInt::applyLin(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::DataArrayInt::New(), and MEDCoupling::DataArrayTemplate< T >::renumberR().
Referenced by computeEffectiveNbOfNodesPerCell().
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References computeNbOfNodesPerCell().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
|
virtual |
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
Referenced by checkConsistency().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References checkConsistencyLight().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggregates objects.
Implements MEDCoupling::TimeLabel.
References MEDCoupling::TimeLabel::updateTimeWith().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
MEDCouplingUMesh* MEDCoupling::MEDCouplingMappedExtrudedMesh::getMesh2D | ( | ) | const |
Referenced by MEDCoupling::MEDFileUMesh::New().
MEDCouplingUMesh* MEDCoupling::MEDCouplingMappedExtrudedMesh::getMesh1D | ( | ) | const |
DataArrayInt* MEDCoupling::MEDCouplingMappedExtrudedMesh::getMesh3DIds | ( | ) | const |
MEDCouplingUMesh * MEDCouplingMappedExtrudedMesh::build3DUnstructuredMesh | ( | ) | const |
WARNING in case of modif think to update MEDFileUMesh::New implementation !
References MEDCoupling::MEDCouplingMesh::getName(), and MEDCoupling::MCAuto< T >::retn().
Referenced by buildUnstructured().
|
virtual |
WARNING in case of modif think to update MEDFileUMesh::New implementation !
Implements MEDCoupling::MEDCouplingMesh.
References build3DUnstructuredMesh().
Referenced by getReverseNodalConnectivity(), and MEDCoupling::MEDFileUMesh::New().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::MEDCouplingMesh::getName(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingFieldDouble::New(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::ON_CELLS, and MEDCoupling::ONE_TIME.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
static |
|
static |
This method is callable on 1Dmeshes (meshDim==1 && spaceDim==3) returned by MEDCouplingMappedExtrudedMesh::getMesh1D typically. These 1Dmeshes (meshDim==1 && spaceDim==3) have a special semantic because these meshes do not specify a static location but a translation along a path. This method checks that 'm1' and 'm2' are compatible, if not an exception is thrown. In case these meshes ('m1' and 'm2') are compatible 2 corresponding meshes are created ('m1r' and 'm2r') that can be used for interpolation.
m1 | input mesh with meshDim==1 and spaceDim==3 |
m2 | input mesh with meshDim==1 and spaceDim==3 |
eps | tolerance acceptable to determine compatibility |
m1r | output mesh with ref count equal to 1 with meshDim==1 and spaceDim==1 |
m2r | output mesh with ref count equal to 1 with meshDim==1 and spaceDim==1 |
v | is the output normalized vector of the common direction of 'm1' and 'm2' |
in | case that m1 and m2 are not compatible each other. |
References MEDCoupling::MEDCouplingPointSet::changeSpaceDimension(), MEDCoupling::MEDCouplingUMesh::clone(), MEDCoupling::MEDCouplingPointSet::getCoordinatesOfNode(), MEDCoupling::MEDCouplingPointSet::getCoords(), MEDCoupling::MEDCouplingUMesh::getNodeIdsOfCell(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingPointSet::getSpaceDimension(), and MEDCoupling::MEDCouplingUMesh::project1D().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References getNumberOfNodes(), and MEDCoupling::DataArrayDouble::New().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References buildUnstructured(), and MEDCoupling::MEDCouplingUMesh::getReverseNodalConnectivity().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::getDescription(), and MEDCoupling::MEDCouplingMesh::getName().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::RefCountObjectOnly::decrRef(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::MEDCouplingUMesh::New(), MEDCoupling::DataArrayDouble::New(), and MEDCoupling::DataArrayInt::New().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::alloc(), MEDCoupling::DataArrayTemplate< T >::begin(), MEDCoupling::RefCountObjectOnly::decrRef(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::DataArrayDouble::New(), and MEDCoupling::DataArrayInt::New().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::DataArrayTemplate< T >::begin(), MEDCoupling::RefCountObjectOnly::decrRef(), MEDCoupling::DataArrayTemplate< T >::getNbOfElems(), MEDCoupling::DataArrayTemplate< T >::getPointer(), MEDCoupling::MEDCouplingUMesh::New(), MEDCoupling::DataArrayDouble::New(), MEDCoupling::DataArrayInt::New(), MEDCoupling::MEDCouplingMesh::setDescription(), and MEDCoupling::MEDCouplingMesh::setName().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
References MEDCoupling::MEDCouplingMesh::getName().
|
virtual |
Implements MEDCoupling::MEDCouplingMesh.
int MEDCoupling::MEDCouplingMappedExtrudedMesh::get2DCellIdForExtrusion | ( | ) | const |
Referenced by MEDCoupling::MEDFileUMesh::New().