NeoPZ
|
Manages the manipulation of geometric meshes. Getting Data generated by the GMSH in order to be used for the NeoPZ. More...
#include <TPZGMSHReadMesh.h>
Public Member Functions | |
TPZGMSHReadMesh (TPZGeoMesh *gmesh) | |
~TPZGMSHReadMesh () | |
void | ReadMesh2D (const char *meshfile, TPZStack< TPZGeoEl *> &elemlist, TPZStack< TPZGeoElSide > &elembclist) |
void | ReadMesh2D2 (char *meshfile, TPZStack< TPZGeoEl *> &elemlist, TPZStack< TPZGeoElSide > &elembclist) |
void | ReadMesh3D (char *meshfile, TPZStack< TPZGeoEl *> &elemlist, TPZStack< TPZGeoElSide > &elembclist) |
void | Resequence (TPZStack< int64_t > &Indexes, const char *meshfile) |
Rearranges the nodal numeration given by the GMSH of sequential form. More... | |
void | PrintGeoMesh (std::ostream &out=std::cout) |
Private Attributes | |
std::ifstream | fInGSMHGeoMesh |
archive generated for the GMSH to be used (interpreted) inside of the NeoPZ More... | |
TPZGeoMesh * | fGeoMesh |
defined geometric mesh in the NeoPZ More... | |
Manages the manipulation of geometric meshes. Getting Data generated by the GMSH in order to be used for the NeoPZ.
The archive generated for the GMSH must contain volume elements and contour elements,
The data of these elements must be:
Definition at line 28 of file TPZGMSHReadMesh.h.
TPZGMSHReadMesh::TPZGMSHReadMesh | ( | TPZGeoMesh * | gmesh | ) |
Definition at line 12 of file TPZGMSHReadMesh.cpp.
References fGeoMesh.
|
inline |
Definition at line 45 of file TPZGMSHReadMesh.h.
References PrintGeoMesh(), ReadMesh2D(), ReadMesh2D2(), ReadMesh3D(), and Resequence().
void TPZGMSHReadMesh::PrintGeoMesh | ( | std::ostream & | out = std::cout | ) |
Definition at line 205 of file TPZGMSHReadMesh.cpp.
References fGeoMesh, and TPZGeoMesh::Print().
Referenced by ~TPZGMSHReadMesh().
void TPZGMSHReadMesh::ReadMesh2D | ( | const char * | meshfile, |
TPZStack< TPZGeoEl *> & | elemlist, | ||
TPZStack< TPZGeoElSide > & | elembclist | ||
) |
Definition at line 16 of file TPZGMSHReadMesh.cpp.
References TPZGeoMesh::CreateGeoElement(), EOned, EQuadrilateral, ETriangle, fGeoMesh, TPZGeoMesh::NodeVec(), TPZStack< T, NumExtAlloc >::Push(), Resequence(), TPZAdmChunkVector< T, EXP >::Resize(), and TPZVec< T >::Resize().
Referenced by ~TPZGMSHReadMesh().
void TPZGMSHReadMesh::ReadMesh2D2 | ( | char * | meshfile, |
TPZStack< TPZGeoEl *> & | elemlist, | ||
TPZStack< TPZGeoElSide > & | elembclist | ||
) |
Definition at line 71 of file TPZGMSHReadMesh.cpp.
References TPZGeoMesh::CreateGeoElement(), EOned, EQuadrilateral, ETriangle, fGeoMesh, TPZGeoMesh::NodeVec(), TPZStack< T, NumExtAlloc >::Push(), TPZAdmChunkVector< T, EXP >::Resize(), and TPZVec< T >::Resize().
Referenced by ~TPZGMSHReadMesh().
void TPZGMSHReadMesh::ReadMesh3D | ( | char * | meshfile, |
TPZStack< TPZGeoEl *> & | elemlist, | ||
TPZStack< TPZGeoElSide > & | elembclist | ||
) |
Definition at line 123 of file TPZGMSHReadMesh.cpp.
References TPZGeoMesh::CreateGeoElement(), ECube, EQuadrilateral, ETetraedro, ETriangle, fGeoMesh, TPZGeoMesh::NodeVec(), TPZStack< T, NumExtAlloc >::Push(), Resequence(), TPZAdmChunkVector< T, EXP >::Resize(), and TPZVec< T >::Resize().
Referenced by ~TPZGMSHReadMesh().
void TPZGMSHReadMesh::Resequence | ( | TPZStack< int64_t > & | Indexes, |
const char * | meshfile | ||
) |
Rearranges the nodal numeration given by the GMSH of sequential form.
Definition at line 180 of file TPZGMSHReadMesh.cpp.
References TPZStack< T, NumExtAlloc >::Push().
Referenced by ReadMesh2D(), ReadMesh3D(), and ~TPZGMSHReadMesh().
|
private |
defined geometric mesh in the NeoPZ
Definition at line 38 of file TPZGMSHReadMesh.h.
Referenced by PrintGeoMesh(), ReadMesh2D(), ReadMesh2D2(), ReadMesh3D(), and TPZGMSHReadMesh().
|
private |
archive generated for the GMSH to be used (interpreted) inside of the NeoPZ
Definition at line 33 of file TPZGMSHReadMesh.h.