proteus  1.8.1
C/C++/Fortran libraries
Functions
meshIO Namespace Reference

Functions

bool readTriangleMeshNodesAndElements (const char *filebase, const int &indexBase, int &nElements, int &nNodes, std::vector< double > &nodeArray, std::vector< int > &elementNodesArray, std::vector< int > &nodeMaterialTypes, std::vector< int > &elementMaterialTypes, const int &defaultElementMaterialType, const int &defaultNodeMaterialType)
 
bool writeTriangleMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *nodeMaterialTypes, const int *elementMaterialTypes)
 
bool readTriangleElementBoundaries (const char *filebase, const int &indexBase, bool &hasMarkers, int &nElementBoundaries, std::vector< int > &elementBoundaryNodesArray, std::vector< int > &elementBoundaryMaterialTypesArray, const int &defaultBoundaryMaterialType)
 
bool writeTriangleElementBoundaryNodes (const char *filebase, const int &indexBase, const int &nElementBoundaries, const int *elementBoundaryNodesArray, const int *elementBoundaryMaterialTypes)
 
bool readTetgenMeshNodesAndElements (const char *filebase, const int &indexBase, int &nElements, int &nNodes, std::vector< double > &nodeArray, std::vector< int > &elementNodesArray, std::vector< int > &nodeMaterialTypes, std::vector< int > &elementMaterialTypes, const int &defaultElementMaterialType, const int &defaultNodeMaterialType)
 
bool readTetgenElementBoundaries (const char *filebase, const int &indexBase, bool &hasMarkers, int &nElementBoundaries, std::vector< int > &elementBoundaryNodesArray, std::vector< int > &elementBoundaryMaterialTypesArray, const int &defaultBoundaryMaterialType)
 
bool writeTetgenMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *nodeMaterialTypes, const int *elementMaterialTypes)
 
bool writeTetgenElementBoundaryNodes (const char *filebase, const int &indexBase, const int &nElementBoundariesToWrite, const int *elementBoundaryNodesArray, const int *elementBoundaryMaterialTypes, const bool &writeExteriorElementBoundariesOnly, const int *exteriorElementBoundariesArray)
 
bool write3dmMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *elementMaterialTypes)
 
bool write2dmMeshNodesAndElements (const char *filebase, const int &indexBase, const int &nElements, const int &nNodes, const double *nodeArray, const int *elementNodesArray, const int *elementMaterialTypes)
 

Function Documentation

◆ readTetgenElementBoundaries()

bool meshIO::readTetgenElementBoundaries ( const char *  filebase,
const int &  indexBase,
bool &  hasMarkers,
int &  nElementBoundaries,
std::vector< int > &  elementBoundaryNodesArray,
std::vector< int > &  elementBoundaryMaterialTypesArray,
const int &  defaultBoundaryMaterialType 
)

Definition at line 448 of file meshio.cpp.

◆ readTetgenMeshNodesAndElements()

bool meshIO::readTetgenMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
int &  nElements,
int &  nNodes,
std::vector< double > &  nodeArray,
std::vector< int > &  elementNodesArray,
std::vector< int > &  nodeMaterialTypes,
std::vector< int > &  elementMaterialTypes,
const int &  defaultElementMaterialType,
const int &  defaultNodeMaterialType 
)

Definition at line 339 of file meshio.cpp.

◆ readTriangleElementBoundaries()

bool meshIO::readTriangleElementBoundaries ( const char *  filebase,
const int &  indexBase,
bool &  hasMarkers,
int &  nElementBoundaries,
std::vector< int > &  elementBoundaryNodesArray,
std::vector< int > &  elementBoundaryMaterialTypesArray,
const int &  defaultBoundaryMaterialType 
)

Definition at line 232 of file meshio.cpp.

◆ readTriangleMeshNodesAndElements()

bool meshIO::readTriangleMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
int &  nElements,
int &  nNodes,
std::vector< double > &  nodeArray,
std::vector< int > &  elementNodesArray,
std::vector< int > &  nodeMaterialTypes,
std::vector< int > &  elementMaterialTypes,
const int &  defaultElementMaterialType,
const int &  defaultNodeMaterialType 
)

Definition at line 41 of file meshio.cpp.

◆ write2dmMeshNodesAndElements()

bool meshIO::write2dmMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
const int &  nElements,
const int &  nNodes,
const double *  nodeArray,
const int *  elementNodesArray,
const int *  elementMaterialTypes 
)

Definition at line 718 of file meshio.cpp.

◆ write3dmMeshNodesAndElements()

bool meshIO::write3dmMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
const int &  nElements,
const int &  nNodes,
const double *  nodeArray,
const int *  elementNodesArray,
const int *  elementMaterialTypes 
)

Definition at line 668 of file meshio.cpp.

◆ writeTetgenElementBoundaryNodes()

bool meshIO::writeTetgenElementBoundaryNodes ( const char *  filebase,
const int &  indexBase,
const int &  nElementBoundariesToWrite,
const int *  elementBoundaryNodesArray,
const int *  elementBoundaryMaterialTypes,
const bool &  writeExteriorElementBoundariesOnly,
const int *  exteriorElementBoundariesArray 
)

Definition at line 586 of file meshio.cpp.

◆ writeTetgenMeshNodesAndElements()

bool meshIO::writeTetgenMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
const int &  nElements,
const int &  nNodes,
const double *  nodeArray,
const int *  elementNodesArray,
const int *  nodeMaterialTypes,
const int *  elementMaterialTypes 
)

Definition at line 508 of file meshio.cpp.

◆ writeTriangleElementBoundaryNodes()

bool meshIO::writeTriangleElementBoundaryNodes ( const char *  filebase,
const int &  indexBase,
const int &  nElementBoundaries,
const int *  elementBoundaryNodesArray,
const int *  elementBoundaryMaterialTypes 
)

Definition at line 290 of file meshio.cpp.

◆ writeTriangleMeshNodesAndElements()

bool meshIO::writeTriangleMeshNodesAndElements ( const char *  filebase,
const int &  indexBase,
const int &  nElements,
const int &  nNodes,
const double *  nodeArray,
const int *  elementNodesArray,
const int *  nodeMaterialTypes,
const int *  elementMaterialTypes 
)

Definition at line 150 of file meshio.cpp.