#include <DriverMED_W_SMESHDS_Mesh.h>
Enumerator |
---|
DRS_OK |
|
DRS_EMPTY |
|
DRS_WARN_RENUMBER |
|
DRS_WARN_SKIP_ELEM |
|
DRS_WARN_DESCENDING |
|
DRS_FAIL |
|
DriverMED_W_SMESHDS_Mesh::DriverMED_W_SMESHDS_Mesh |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddAllSubMeshes |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddAllToGroup |
( |
| ) |
|
Set up a flag to add all elements not belonging to any group to some auxiliary group.
This is needed for SMESH -> SAUVE -> SMESH conversion, which since PAL0023285 reads only SAUVE elements belonging to any group, and hence can lose some elements. That auxiliary group is ignored while reading a MED file.
References myDoAllInGroups.
functions to prepare adding one mesh
References myGroups.
void DriverMED_W_SMESHDS_Mesh::AddGroupOf0DElems |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddGroupOfBalls |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddGroupOfEdges |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddGroupOfFaces |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddGroupOfNodes |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddGroupOfVolumes |
( |
| ) |
|
void DriverMED_W_SMESHDS_Mesh::AddODOnVertices |
( |
bool |
toAdd | ) |
|
std::string Driver_Mesh::GetMeshName |
( |
| ) |
const |
|
virtualinherited |
string DriverMED_W_SMESHDS_Mesh::GetVersionString |
( |
const MED::EVersion |
theVersion, |
|
|
int |
theNbDigits = 2 |
|
) |
| |
|
static |
add one mesh
Implements Driver_Mesh.
References MED::CrWrapper(), Driver_Mesh::DRS_FAIL, Driver_Mesh::DRS_OK, MED::eARETE, MED::eBALL, MED::eCART, Edge, MED::eFACE, MED::eFAUX, MED::eFULL_INTERLACE, MED::eHEXA20, MED::eHEXA27, MED::eHEXA8, SMDS_Mesh::elementEntityIterator(), SMDS_Mesh::elementGeomIterator(), SMDS_Mesh::elementsIterator(), MED::eMAILLE, MED::eNOD, MED::eNOEUD_ELEMENT, MED::eOCTA12, MED::ePENTA15, MED::ePENTA6, MED::ePOINT1, MED::ePOLYEDRE, MED::ePOLYGON2, MED::ePOLYGONE, MED::ePYRA13, MED::ePYRA5, MED::eQUAD4, MED::eQUAD8, MED::eQUAD9, MED::eSEG2, MED::eSEG3, MED::eSTRUCT_ELEMENT, MED::eTETRA10, MED::eTETRA4, MED::eTRIA3, MED::eTRIA6, MED::eTRIA7, MED::eVRAI, Face, SMDS_MeshElement::GetID(), SMDS_Mesh::GetMeshInfo(), MED::GetNbNodes(), SMDS_MeshElement::GetNode(), getNodesOfMissing0DOnVert(), SMDS_Mesh::hasConstructionEdges(), SMDS_Mesh::hasConstructionFaces(), SMDS_MeshElement::IsPoly(), DriverMED_Family::MakeFamilies(), Max(), myAddODOnVertices, myAllSubMeshes, myAutoDimension, myDoAllInGroups, myDoGroupOf0DElems, myDoGroupOfBalls, myDoGroupOfEdges, myDoGroupOfFaces, myDoGroupOfNodes, myDoGroupOfVolumes, Driver_Mesh::myFile, myGroups, myMedVersion, Driver_SMESHDS_Mesh::myMesh, Driver_Mesh::myMeshId, Driver_Mesh::myMeshName, SMDS_MeshInfo::Nb0DElements(), SMDS_Mesh::Nb0DElements(), SMDS_MeshInfo::NbBalls(), SMDS_Mesh::NbBalls(), SMDS_MeshInfo::NbBiQuadQuadrangles(), SMDS_MeshInfo::NbBiQuadTriangles(), SMDS_MeshInfo::NbEdges(), SMDS_Mesh::NbEdges(), SMDS_VtkVolume::NbFaceNodes(), SMDS_VtkVolume::NbFaces(), SMDS_Mesh::NbFaces(), SMDS_MeshInfo::NbHexas(), SMDS_MeshInfo::NbHexPrisms(), SMDS_VtkVolume::NbNodes(), SMDS_MeshElement::NbNodes(), SMDS_Mesh::NbNodes(), SMDS_MeshInfo::NbPolygons(), SMDS_MeshInfo::NbPolyhedrons(), SMDS_MeshInfo::NbPrisms(), SMDS_MeshInfo::NbPyramids(), SMDS_MeshInfo::NbQuadrangles(), SMDS_MeshInfo::NbTetras(), SMDS_MeshInfo::NbTriangles(), SMDS_MeshInfo::NbTriQuadHexas(), SMDS_Mesh::NbVolumes(), NIG_0DELEM_FAMILY, NIG_BALL_FAMILY, NIG_EDGES_FAMILY, NIG_FACES_FAMILY, NIG_VOLS_FAMILY, SMDS_MeshElement::nodesIterator(), SMDS_Mesh::nodesIterator(), ORDER_LINEAR, ORDER_QUADRATIC, REST_0DELEM_FAMILY, REST_BALL_FAMILY, REST_EDGES_FAMILY, REST_FACES_FAMILY, REST_NODES_FAMILY, REST_VOLUMES_FAMILY, SMESHDS_Mesh::ShapeToMesh(), SMDSAbs_0DElement, SMDSAbs_Ball, SMDSAbs_Edge, SMDSAbs_Face, SMDSAbs_NbElementTypes, SMDSAbs_Node, SMDSAbs_Volume, SMDSEntity_Polygon, SMDSEntity_Quad_Polygon, SMDSGeom_POLYHEDRA, SMESHDS_Mesh::SubMeshes(), SMESHDS_Mesh::SubMeshIndices(), SMDS_MeshNode::X(), SMDS_MeshNode::Y(), and SMDS_MeshNode::Z().
void DriverMED_W_SMESHDS_Mesh::SetAutoDimension |
( |
bool |
toFindOutDimension | ) |
|
void DriverMED_W_SMESHDS_Mesh::SetFile |
( |
const std::string & |
theFileName | ) |
|
|
virtual |
void DriverMED_W_SMESHDS_Mesh::SetFile |
( |
const std::string & |
theFileName, |
|
|
MED::EVersion |
theId |
|
) |
| |
void Driver_Mesh::SetMeshId |
( |
int |
theMeshId | ) |
|
|
inherited |
void Driver_Mesh::SetMeshName |
( |
const std::string & |
theMeshName | ) |
|
|
virtualinherited |
virtual void Driver_Mesh::SetOption |
( |
const std::string & |
optionName, |
|
|
const std::string & |
optionValue |
|
) |
| |
|
virtualinherited |
bool DriverMED_W_SMESHDS_Mesh::myAddODOnVertices |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myAllSubMeshes |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myAutoDimension |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoAllInGroups |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOf0DElems |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOfBalls |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOfEdges |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOfFaces |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOfNodes |
|
private |
bool DriverMED_W_SMESHDS_Mesh::myDoGroupOfVolumes |
|
private |
std::vector< std::string > Driver_Mesh::myErrorMessages |
|
protectedinherited |
std::string Driver_Mesh::myFile |
|
protectedinherited |
int Driver_Mesh::myMeshId |
|
protectedinherited |
std::string Driver_Mesh::myMeshName |
|
protectedinherited |