proteus 1.9.0
C/C++/Fortran libraries
Loading...
Searching...
No Matches
mesh

A library of mesh generation and manipulation functions. More...

Classes

struct  Mesh
struct  MultilevelMesh
class  NodeTuple< nNodes >
class  Node
class  ElementNeighbors

Functions

void initializeMesh (Mesh &mesh)
void deleteMesh (Mesh &mesh)
void initializeMultilevelMesh (MultilevelMesh &multilevelMesh)
void deleteMultilevelMesh (MultilevelMesh &multilevelMesh)
int edgeMeshElements (const int &nx, Mesh &mesh)
int regularEdgeMeshNodes (const int &nx, const double &Lx, Mesh &mesh)
int globallyRefineEdgeMesh (const int &nLevels, Mesh &mesh, MultilevelMesh &multilevelMesh, bool averageNewNodeFlags=false)
int locallyRefineEdgeMesh (MultilevelMesh &multilevelMesh, int *elementTagArray)
int locallyRefineTriangleMesh (MultilevelMesh &multilevelMesh, int *elementTagArray)
int locallyRefineTriangleMesh_4T (MultilevelMesh &multilevelMesh, int *elementTagArray)
int locallyRefineTriangleMesh_redGreen (MultilevelMesh &multilevelMesh, int *elementTagArray)
int setNewestNodeBasesToLongestEdge (MultilevelMesh &multilevelMesh)
int regularRectangularToTriangularMeshElements (const int &nx, const int &ny, Mesh &mesh, int triangleFlag)
int regularRectangularToTriangularMeshNodes (const int &nx, const int &ny, const double &Lx, const double &Ly, Mesh &mesh)
int regularRectangularToTriangularElementBoundaryMaterials (const double &Lx, const double &Ly, Mesh &mesh)
int globallyRefineTriangularMesh (const int &nLevels, Mesh &mesh, MultilevelMesh &multilevelMesh, bool averageNewNodeFlags=false)
int regularQuadrilateralMeshElements (const int &nx, const int &ny, Mesh &mesh)
int regularQuadrilateralMeshElementBoundaryMaterials (const double &Lx, const double &Ly, Mesh &mesh)
int globallyRefineQuadrilateralMesh (const int &nLevels, Mesh &mesh, MultilevelMesh &multilevelMesh, bool averageNewNodeFlags=false)
int regularMeshNodes (const int &nx, const int &ny, const int &nz, const double &Lx, const double &Ly, const double &Lz, Mesh &mesh)
int regularMeshNodes2D (const int &nx, const int &ny, const double &Lx, const double &Ly, Mesh &mesh)
int regularHexahedralMeshElementBoundaryMaterials (const double &Lx, const double &Ly, const double &Lz, Mesh &mesh)
int regularHexahedralToTetrahedralMeshNodes (const int &nx, const int &ny, const int &nz, const double &Lx, const double &Ly, const double &Lz, Mesh &mesh)
int regularHexahedralToTetrahedralMeshElements (const int &nx, const int &ny, const int &nz, Mesh &mesh)
int regularHexahedralToTetrahedralElementBoundaryMaterials (const double &Lx, const double &Ly, const double &Lz, Mesh &mesh)
int regularHexahedralMeshElements (const int &nx, const int &ny, const int &nz, const int &px, const int &py, const int &pz, Mesh &mesh)
int reorientTetrahedralMesh (Mesh &mesh)
int regularNURBSMeshElements (const int &nx, const int &ny, const int &nz, const int &px, const int &py, const int &pz, Mesh &mesh)
int globallyRefineHexahedralMesh (const int &nLevels, Mesh &mesh, MultilevelMesh &multilevelMesh, bool averageNewNodeFlags=false)
int globallyRefineTetrahedralMesh (const int &nLevels, Mesh &mesh, MultilevelMesh &multilevelMesh, bool averageNewNodeFlags=false)
int constructElementBoundaryElementsArray_edge (Mesh &mesh)
int constructElementBoundaryElementsArray_triangle (Mesh &mesh)
int constructElementBoundaryElementsArray_quadrilateral (Mesh &mesh)
int constructElementBoundaryElementsArray_tetrahedron (Mesh &mesh)
int constructElementBoundaryElementsArray_hexahedron (Mesh &mesh)
int constructElementBoundaryElementsArray_NURBS (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_edge (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_triangle (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_quadrilateral (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_tetrahedron (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_edge (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_triangle (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_quadrilateral (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_tetrahedron (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_hexahedron (Mesh &mesh)
int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_NURBS (Mesh &mesh)
int writeElements (std::ostream &meshFile, const Mesh &mesh)
int writeNodes (std::ostream &meshFile, const Mesh &mesh)
int readElements (std::istream &meshFile, Mesh &mesh)
int allocateGeometricInfo_tetrahedron (Mesh &mesh)
int allocateGeometricInfo_triangle (Mesh &mesh)
int allocateGeometricInfo_edge (Mesh &mesh)
int allocateGeometricInfo_quadrilateral (Mesh &mesh)
int allocateGeometricInfo_hexahedron (Mesh &mesh)
int allocateGeometricInfo_NURBS (Mesh &mesh)
int computeGeometricInfo_tetrahedron (Mesh &mesh)
int computeGeometricInfo_triangle (Mesh &mesh)
int computeGeometricInfo_edge (Mesh &mesh)
int computeGeometricInfo_hexahedron (Mesh &mesh)
int computeGeometricInfo_quadrilateral (Mesh &mesh)
int computeGeometricInfo_NURBS (Mesh &mesh)
int assignElementBoundaryMaterialTypesFromParent (Mesh &parentMesh, Mesh &childMesh, const int *levelElementParentsArray, const int &nSpace_global)
int allocateNodeAndElementNodeDataStructures (Mesh &mesh, int nElements_global, int nNodes_global, int nNodes_element)
int setFromTriangleElements (triangulateio *trimesh, Mesh &mesh, int base)
int setFromTriangleNodes (triangulateio *trimesh, Mesh &mesh, int base)
int readTriangleMesh (Mesh &mesh, const char *filebase, int base)
int readTriangleElementBoundaryMaterialTypes (Mesh &mesh, const char *filebase, int base)
int writeTriangleMesh (Mesh &mesh, const char *filebase, int base)
int readTetgenMesh (Mesh &mesh, const char *filebase, int base)
int readTetgenElementBoundaryMaterialTypes (Mesh &mesh, const char *filebase, int base)
int writeTetgenMesh (Mesh &mesh, const char *filebase, int base)
int read3DM (Mesh &mesh, const char *filebase, int indexBase)
int read2DM (Mesh &mesh, const char *filebase, int indexBase)
int readHex (Mesh &mesh, const char *filebase, int indexBase)
int readBC (Mesh &mesh, const char *filebase, int indexBase)
int write3dmMesh (Mesh &mesh, const char *filebase, int base)
int write2dmMesh (Mesh &mesh, const char *filebase, int base)
int copyElementBoundaryMaterialTypesFromTriangle (triangulateio *trimesh, Mesh &mesh, int base)
int readDMPlexMesh (PyObject *dmplexMesh, Mesh &mesh)
template<int nNodes>
bool operator< (const NodeTuple< nNodes > &left, const NodeTuple< nNodes > &right)
void midpoint (const double *left, const double *right, Node &midpoint)
double edgeLength (const Node &left, const Node &right)
double edgeLengthFromNodeNumbers (double *nodeArray, const int &left, const int &right)
bool operator< (const Node &left, const Node &right)
int newEdge (int eN, int *nodes, int n0, int n1)
int newTriangle (int eN, int *nodes, int n0, int n1, int n2)
int newTetrahedron (int eN, int *nodes, int n0, int n1, int n2, int n3)
int newQuadrilateral (int eN, int *nodes, int n0, int n1, int n2, int n3)
int newHexahedron (int eN, int *nodes, int n0, int n1, int n2, int n3, int n4, int n5, int n6, int n7)
bool newestNodeBisect (int eN, int &nElements_global, int &nNodes_global, std::vector< double > &nodeArray, std::vector< int > &elementNodesArray, std::vector< int > &elementNeighborsArray, std::vector< std::list< int > > &childrenList, std::vector< int > &elementParentsArray, std::vector< int > &bases, std::vector< bool > &refined)
bool add4TnodesForRefinement2d (int eN, int &nNodes_global, std::vector< bool > &refined, std::vector< int > &edgeMidNodesArray, const int *elementNodesArray, const int *elementBoundariesArray, const int *elementNeighborsArray, const double *nodeArray)
bool add4TnodesForConformity2d (int eN, int ebN_longest, int ebN_neig, int eN_neig, int &nNodes_global, std::vector< bool > &refined, std::vector< int > &edgeMidNodesArray, const int *elementNodesArray, const int *elementBoundariesArray, const int *elementNeighborsArray, const double *nodeArray)
int findLocalLongestEdge2d (int eN, const int *elementNodesArray, const double *nodeArray)
bool subdivideTriangle4T (int eN_parent, int &eN_new, int *elementParentsArray, int *elementChildrenOffsets, int *elementChildrenArray, int *elementNodesArray_child, const std::vector< int > &edgeMidNodesArray, const std::vector< bool > &refined, const int *elementNodesArray_parent, const int *elementBoundariesArray_parent, const double *nodeArray_parent)

Detailed Description

Function Documentation

◆ add4TnodesForConformity2d()

bool add4TnodesForConformity2d ( int eN,
int ebN_longest,
int ebN_neig,
int eN_neig,
int & nNodes_global,
std::vector< bool > & refined,
std::vector< int > & edgeMidNodesArray,
const int * elementNodesArray,
const int * elementBoundariesArray,
const int * elementNeighborsArray,
const double * nodeArray )

Definition at line 7260 of file mesh.cpp.

◆ add4TnodesForRefinement2d()

bool add4TnodesForRefinement2d ( int eN,
int & nNodes_global,
std::vector< bool > & refined,
std::vector< int > & edgeMidNodesArray,
const int * elementNodesArray,
const int * elementBoundariesArray,
const int * elementNeighborsArray,
const double * nodeArray )

Definition at line 7202 of file mesh.cpp.

◆ allocateGeometricInfo_edge()

int allocateGeometricInfo_edge ( Mesh & mesh)

Definition at line 3926 of file mesh.cpp.

◆ allocateGeometricInfo_hexahedron()

int allocateGeometricInfo_hexahedron ( Mesh & mesh)

Definition at line 3651 of file mesh.cpp.

◆ allocateGeometricInfo_NURBS()

int allocateGeometricInfo_NURBS ( Mesh & mesh)

Definition at line 3743 of file mesh.cpp.

◆ allocateGeometricInfo_quadrilateral()

int allocateGeometricInfo_quadrilateral ( Mesh & mesh)

Definition at line 3856 of file mesh.cpp.

◆ allocateGeometricInfo_tetrahedron()

int allocateGeometricInfo_tetrahedron ( Mesh & mesh)

Definition at line 3535 of file mesh.cpp.

◆ allocateGeometricInfo_triangle()

int allocateGeometricInfo_triangle ( Mesh & mesh)

Definition at line 3756 of file mesh.cpp.

◆ allocateNodeAndElementNodeDataStructures()

int allocateNodeAndElementNodeDataStructures ( Mesh & mesh,
int nElements_global,
int nNodes_global,
int nNodes_element )

Definition at line 4007 of file mesh.cpp.

◆ assignElementBoundaryMaterialTypesFromParent()

int assignElementBoundaryMaterialTypesFromParent ( Mesh & parentMesh,
Mesh & childMesh,
const int * levelElementParentsArray,
const int & nSpace_global )

Definition at line 4570 of file mesh.cpp.

◆ computeGeometricInfo_edge()

int computeGeometricInfo_edge ( Mesh & mesh)

Definition at line 3938 of file mesh.cpp.

◆ computeGeometricInfo_hexahedron()

int computeGeometricInfo_hexahedron ( Mesh & mesh)

Definition at line 3663 of file mesh.cpp.

◆ computeGeometricInfo_NURBS()

int computeGeometricInfo_NURBS ( Mesh & mesh)

Definition at line 3749 of file mesh.cpp.

◆ computeGeometricInfo_quadrilateral()

int computeGeometricInfo_quadrilateral ( Mesh & mesh)

Definition at line 3866 of file mesh.cpp.

◆ computeGeometricInfo_tetrahedron()

int computeGeometricInfo_tetrahedron ( Mesh & mesh)

Definition at line 3547 of file mesh.cpp.

◆ computeGeometricInfo_triangle()

int computeGeometricInfo_triangle ( Mesh & mesh)

Definition at line 3768 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_edge()

int constructElementBoundaryElementsArray_edge ( Mesh & mesh)

Definition at line 622 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_hexahedron()

int constructElementBoundaryElementsArray_hexahedron ( Mesh & mesh)

Definition at line 1308 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_NURBS()

int constructElementBoundaryElementsArray_NURBS ( Mesh & mesh)

Definition at line 1516 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_quadrilateral()

int constructElementBoundaryElementsArray_quadrilateral ( Mesh & mesh)

Definition at line 949 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_tetrahedron()

int constructElementBoundaryElementsArray_tetrahedron ( Mesh & mesh)

Definition at line 1118 of file mesh.cpp.

◆ constructElementBoundaryElementsArray_triangle()

int constructElementBoundaryElementsArray_triangle ( Mesh & mesh)

Definition at line 780 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_edge()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_edge ( Mesh & mesh)

Definition at line 2632 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_hexahedron()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_hexahedron ( Mesh & mesh)

Definition at line 3305 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_NURBS()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_NURBS ( Mesh & mesh)

Definition at line 1738 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_quadrilateral()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_quadrilateral ( Mesh & mesh)

Definition at line 2962 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_tetrahedron()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_tetrahedron ( Mesh & mesh)

Definition at line 3117 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_triangle()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryAndEdgeNumbers_triangle ( Mesh & mesh)

Definition at line 2787 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_edge()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_edge ( Mesh & mesh)

Definition at line 1944 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_quadrilateral()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_quadrilateral ( Mesh & mesh)

Definition at line 2279 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_tetrahedron()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_tetrahedron ( Mesh & mesh)

Definition at line 2452 of file mesh.cpp.

◆ constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_triangle()

int constructElementBoundaryElementsArrayWithGivenElementBoundaryNumbers_triangle ( Mesh & mesh)

Definition at line 2105 of file mesh.cpp.

◆ copyElementBoundaryMaterialTypesFromTriangle()

int copyElementBoundaryMaterialTypesFromTriangle ( triangulateio * trimesh,
Mesh & mesh,
int base )

◆ deleteMesh()

void deleteMesh ( Mesh & mesh)
inline

Definition at line 170 of file mesh.h.

◆ deleteMultilevelMesh()

void deleteMultilevelMesh ( MultilevelMesh & multilevelMesh)
inline

Definition at line 281 of file mesh.h.

◆ edgeLength()

double edgeLength ( const Node & left,
const Node & right )
inline

Definition at line 472 of file mesh.h.

◆ edgeLengthFromNodeNumbers()

double edgeLengthFromNodeNumbers ( double * nodeArray,
const int & left,
const int & right )
inline

Definition at line 479 of file mesh.h.

◆ edgeMeshElements()

int edgeMeshElements ( const int & nx,
Mesh & mesh )

Definition at line 59 of file mesh.cpp.

◆ findLocalLongestEdge2d()

int findLocalLongestEdge2d ( int eN,
const int * elementNodesArray,
const double * nodeArray )

Definition at line 7331 of file mesh.cpp.

◆ globallyRefineEdgeMesh()

int globallyRefineEdgeMesh ( const int & nLevels,
Mesh & mesh,
MultilevelMesh & multilevelMesh,
bool averageNewNodeFlags = false )

Definition at line 4027 of file mesh.cpp.

◆ globallyRefineHexahedralMesh()

int globallyRefineHexahedralMesh ( const int & nLevels,
Mesh & mesh,
MultilevelMesh & multilevelMesh,
bool averageNewNodeFlags = false )

Definition at line 4551 of file mesh.cpp.

◆ globallyRefineQuadrilateralMesh()

int globallyRefineQuadrilateralMesh ( const int & nLevels,
Mesh & mesh,
MultilevelMesh & multilevelMesh,
bool averageNewNodeFlags = false )

Definition at line 4247 of file mesh.cpp.

◆ globallyRefineTetrahedralMesh()

int globallyRefineTetrahedralMesh ( const int & nLevels,
Mesh & mesh,
MultilevelMesh & multilevelMesh,
bool averageNewNodeFlags = false )

Definition at line 4266 of file mesh.cpp.

◆ globallyRefineTriangularMesh()

int globallyRefineTriangularMesh ( const int & nLevels,
Mesh & mesh,
MultilevelMesh & multilevelMesh,
bool averageNewNodeFlags = false )

Definition at line 4122 of file mesh.cpp.

◆ initializeMesh()

void initializeMesh ( Mesh & mesh)
inline

Definition at line 93 of file mesh.h.

◆ initializeMultilevelMesh()

void initializeMultilevelMesh ( MultilevelMesh & multilevelMesh)
inline

Definition at line 272 of file mesh.h.

◆ locallyRefineEdgeMesh()

int locallyRefineEdgeMesh ( MultilevelMesh & multilevelMesh,
int * elementTagArray )

Definition at line 5778 of file mesh.cpp.

◆ locallyRefineTriangleMesh()

int locallyRefineTriangleMesh ( MultilevelMesh & multilevelMesh,
int * elementTagArray )

Definition at line 5928 of file mesh.cpp.

◆ locallyRefineTriangleMesh_4T()

int locallyRefineTriangleMesh_4T ( MultilevelMesh & multilevelMesh,
int * elementTagArray )

Definition at line 6646 of file mesh.cpp.

◆ locallyRefineTriangleMesh_redGreen()

int locallyRefineTriangleMesh_redGreen ( MultilevelMesh & multilevelMesh,
int * elementTagArray )

Definition at line 6135 of file mesh.cpp.

◆ midpoint()

void midpoint ( const double * left,
const double * right,
Node & midpoint )
inline

Definition at line 465 of file mesh.h.

◆ newEdge()

int newEdge ( int eN,
int * nodes,
int n0,
int n1 )
inline

Definition at line 511 of file mesh.h.

◆ newestNodeBisect()

bool newestNodeBisect ( int eN,
int & nElements_global,
int & nNodes_global,
std::vector< double > & nodeArray,
std::vector< int > & elementNodesArray,
std::vector< int > & elementNeighborsArray,
std::vector< std::list< int > > & childrenList,
std::vector< int > & elementParentsArray,
std::vector< int > & bases,
std::vector< bool > & refined )

Definition at line 6824 of file mesh.cpp.

◆ newHexahedron()

int newHexahedron ( int eN,
int * nodes,
int n0,
int n1,
int n2,
int n3,
int n4,
int n5,
int n6,
int n7 )
inline

Definition at line 547 of file mesh.h.

◆ newQuadrilateral()

int newQuadrilateral ( int eN,
int * nodes,
int n0,
int n1,
int n2,
int n3 )
inline

Definition at line 537 of file mesh.h.

◆ newTetrahedron()

int newTetrahedron ( int eN,
int * nodes,
int n0,
int n1,
int n2,
int n3 )
inline

Definition at line 527 of file mesh.h.

◆ newTriangle()

int newTriangle ( int eN,
int * nodes,
int n0,
int n1,
int n2 )
inline

Definition at line 518 of file mesh.h.

◆ operator<() [1/2]

bool operator< ( const Node & left,
const Node & right )
inline

Definition at line 486 of file mesh.h.

◆ operator<() [2/2]

template<int nNodes>
bool operator< ( const NodeTuple< nNodes > & left,
const NodeTuple< nNodes > & right )
inline

Definition at line 445 of file mesh.h.

◆ read2DM()

int read2DM ( Mesh & mesh,
const char * filebase,
int indexBase )

Definition at line 5489 of file mesh.cpp.

◆ read3DM()

int read3DM ( Mesh & mesh,
const char * filebase,
int indexBase )

Definition at line 5405 of file mesh.cpp.

◆ readBC()

int readBC ( Mesh & mesh,
const char * filebase,
int indexBase )

Definition at line 5656 of file mesh.cpp.

◆ readDMPlexMesh()

int readDMPlexMesh ( PyObject * dmplexMesh,
Mesh & mesh )

Definition at line 7669 of file mesh.cpp.

◆ readElements()

int readElements ( std::istream & meshFile,
Mesh & mesh )

Definition at line 4756 of file mesh.cpp.

◆ readHex()

int readHex ( Mesh & mesh,
const char * filebase,
int indexBase )

Definition at line 5581 of file mesh.cpp.

◆ readTetgenElementBoundaryMaterialTypes()

int readTetgenElementBoundaryMaterialTypes ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 5082 of file mesh.cpp.

◆ readTetgenMesh()

int readTetgenMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 5023 of file mesh.cpp.

◆ readTriangleElementBoundaryMaterialTypes()

int readTriangleElementBoundaryMaterialTypes ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 4965 of file mesh.cpp.

◆ readTriangleMesh()

int readTriangleMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 4875 of file mesh.cpp.

◆ regularEdgeMeshNodes()

int regularEdgeMeshNodes ( const int & nx,
const double & Lx,
Mesh & mesh )

Definition at line 73 of file mesh.cpp.

◆ regularHexahedralMeshElementBoundaryMaterials()

int regularHexahedralMeshElementBoundaryMaterials ( const double & Lx,
const double & Ly,
const double & Lz,
Mesh & mesh )

Definition at line 312 of file mesh.cpp.

◆ regularHexahedralMeshElements()

int regularHexahedralMeshElements ( const int & nx,
const int & ny,
const int & nz,
const int & px,
const int & py,
const int & pz,
Mesh & mesh )

Definition at line 470 of file mesh.cpp.

◆ regularHexahedralToTetrahedralElementBoundaryMaterials()

int regularHexahedralToTetrahedralElementBoundaryMaterials ( const double & Lx,
const double & Ly,
const double & Lz,
Mesh & mesh )

Definition at line 268 of file mesh.cpp.

◆ regularHexahedralToTetrahedralMeshElements()

int regularHexahedralToTetrahedralMeshElements ( const int & nx,
const int & ny,
const int & nz,
Mesh & mesh )

Definition at line 232 of file mesh.cpp.

◆ regularHexahedralToTetrahedralMeshNodes()

int regularHexahedralToTetrahedralMeshNodes ( const int & nx,
const int & ny,
const int & nz,
const double & Lx,
const double & Ly,
const double & Lz,
Mesh & mesh )

Definition at line 457 of file mesh.cpp.

◆ regularMeshNodes()

int regularMeshNodes ( const int & nx,
const int & ny,
const int & nz,
const double & Lx,
const double & Ly,
const double & Lz,
Mesh & mesh )

Definition at line 368 of file mesh.cpp.

◆ regularMeshNodes2D()

int regularMeshNodes2D ( const int & nx,
const int & ny,
const double & Lx,
const double & Ly,
Mesh & mesh )

Definition at line 419 of file mesh.cpp.

◆ regularNURBSMeshElements()

int regularNURBSMeshElements ( const int & nx,
const int & ny,
const int & nz,
const int & px,
const int & py,
const int & pz,
Mesh & mesh )

Definition at line 541 of file mesh.cpp.

◆ regularQuadrilateralMeshElementBoundaryMaterials()

int regularQuadrilateralMeshElementBoundaryMaterials ( const double & Lx,
const double & Ly,
Mesh & mesh )

Definition at line 362 of file mesh.cpp.

◆ regularQuadrilateralMeshElements()

int regularQuadrilateralMeshElements ( const int & nx,
const int & ny,
Mesh & mesh )

Definition at line 513 of file mesh.cpp.

◆ regularRectangularToTriangularElementBoundaryMaterials()

int regularRectangularToTriangularElementBoundaryMaterials ( const double & Lx,
const double & Ly,
Mesh & mesh )

Definition at line 139 of file mesh.cpp.

◆ regularRectangularToTriangularMeshElements()

int regularRectangularToTriangularMeshElements ( const int & nx,
const int & ny,
Mesh & mesh,
int triangleFlag )

Definition at line 88 of file mesh.cpp.

◆ regularRectangularToTriangularMeshNodes()

int regularRectangularToTriangularMeshNodes ( const int & nx,
const int & ny,
const double & Lx,
const double & Ly,
Mesh & mesh )

Definition at line 166 of file mesh.cpp.

◆ reorientTetrahedralMesh()

int reorientTetrahedralMesh ( Mesh & mesh)

Definition at line 225 of file mesh.cpp.

◆ setFromTriangleElements()

int setFromTriangleElements ( triangulateio * trimesh,
Mesh & mesh,
int base )

◆ setFromTriangleNodes()

int setFromTriangleNodes ( triangulateio * trimesh,
Mesh & mesh,
int base )

◆ setNewestNodeBasesToLongestEdge()

int setNewestNodeBasesToLongestEdge ( MultilevelMesh & multilevelMesh)

Definition at line 6107 of file mesh.cpp.

◆ subdivideTriangle4T()

bool subdivideTriangle4T ( int eN_parent,
int & eN_new,
int * elementParentsArray,
int * elementChildrenOffsets,
int * elementChildrenArray,
int * elementNodesArray_child,
const std::vector< int > & edgeMidNodesArray,
const std::vector< bool > & refined,
const int * elementNodesArray_parent,
const int * elementBoundariesArray_parent,
const double * nodeArray_parent )

Definition at line 7359 of file mesh.cpp.

◆ write2dmMesh()

int write2dmMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 5714 of file mesh.cpp.

◆ write3dmMesh()

int write3dmMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 5694 of file mesh.cpp.

◆ writeElements()

int writeElements ( std::ostream & meshFile,
const Mesh & mesh )

Definition at line 4832 of file mesh.cpp.

◆ writeNodes()

int writeNodes ( std::ostream & meshFile,
const Mesh & mesh )

Definition at line 4820 of file mesh.cpp.

◆ writeTetgenMesh()

int writeTetgenMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 5370 of file mesh.cpp.

◆ writeTriangleMesh()

int writeTriangleMesh ( Mesh & mesh,
const char * filebase,
int base )

Definition at line 4935 of file mesh.cpp.