NeoPZ
Public Member Functions | Private Attributes | List of all members
TPZGMSHReadMesh Class Reference

Manages the manipulation of geometric meshes. Getting Data generated by the GMSH in order to be used for the NeoPZ. More...

#include <TPZGMSHReadMesh.h>

Collaboration diagram for TPZGMSHReadMesh:
[legend]

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...
 
TPZGeoMeshfGeoMesh
 defined geometric mesh in the NeoPZ More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ TPZGMSHReadMesh()

TPZGMSHReadMesh::TPZGMSHReadMesh ( TPZGeoMesh gmesh)

Definition at line 12 of file TPZGMSHReadMesh.cpp.

References fGeoMesh.

◆ ~TPZGMSHReadMesh()

TPZGMSHReadMesh::~TPZGMSHReadMesh ( )
inline

Definition at line 45 of file TPZGMSHReadMesh.h.

References PrintGeoMesh(), ReadMesh2D(), ReadMesh2D2(), ReadMesh3D(), and Resequence().

Member Function Documentation

◆ PrintGeoMesh()

void TPZGMSHReadMesh::PrintGeoMesh ( std::ostream &  out = std::cout)

Definition at line 205 of file TPZGMSHReadMesh.cpp.

References fGeoMesh, and TPZGeoMesh::Print().

Referenced by ~TPZGMSHReadMesh().

◆ ReadMesh2D()

void TPZGMSHReadMesh::ReadMesh2D ( const char *  meshfile,
TPZStack< TPZGeoEl *> &  elemlist,
TPZStack< TPZGeoElSide > &  elembclist 
)

◆ ReadMesh2D2()

void TPZGMSHReadMesh::ReadMesh2D2 ( char *  meshfile,
TPZStack< TPZGeoEl *> &  elemlist,
TPZStack< TPZGeoElSide > &  elembclist 
)

◆ ReadMesh3D()

void TPZGMSHReadMesh::ReadMesh3D ( char *  meshfile,
TPZStack< TPZGeoEl *> &  elemlist,
TPZStack< TPZGeoElSide > &  elembclist 
)

◆ Resequence()

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().

Member Data Documentation

◆ fGeoMesh

TPZGeoMesh* TPZGMSHReadMesh::fGeoMesh
private

defined geometric mesh in the NeoPZ

Definition at line 38 of file TPZGMSHReadMesh.h.

Referenced by PrintGeoMesh(), ReadMesh2D(), ReadMesh2D2(), ReadMesh3D(), and TPZGMSHReadMesh().

◆ fInGSMHGeoMesh

std::ifstream TPZGMSHReadMesh::fInGSMHGeoMesh
private

archive generated for the GMSH to be used (interpreted) inside of the NeoPZ

Definition at line 33 of file TPZGMSHReadMesh.h.


The documentation for this class was generated from the following files: