NeoPZ
pzcheckgeom.h
Go to the documentation of this file.
1 
6 #ifndef TPZCHECKGEOMH
7 #define TPZCHECKGEOMH
8 
9 #include "pzgeoel.h"
10 #include "pzgmesh.h"
11 
16 class TPZCheckGeom {
17 
19 
20 public:
21  TPZCheckGeom(TPZGeoMesh *gmesh = NULL);
22 
24  int PerformCheck();
25 
27  int DivideandCheck();
28 
29  int CheckElement(TPZGeoEl *gel);
30 
31  /*** @brief Check if all node and elements ids are unique */
32  int CheckIds();
33 
36 
38  int CheckRefinement(TPZGeoEl *gel);
39 
41  int CheckNeighbourMap(TPZGeoEl *gel);
42 
43  int CheckSideTransform(TPZGeoEl *gel, int sidefrom, int sideto);
44 
46  int CheckSubFatherTransform(TPZGeoEl *subel, int sidesub);
47 
49  void CheckUniqueId();
50 
52  void UniformRefine(int nDiv);
53 
54  void CreateMesh();
55  static int main();
56 
57 };
58 
59 #endif
60 
int CheckElement(TPZGeoEl *gel)
Definition: pzcheckgeom.cpp:19
This class performs a series of consistency tests on geometric transformations between elements...
Definition: pzcheckgeom.h:16
void CreateMesh()
void CheckUniqueId()
Verify is the ids of the elements and nodes are unique.
int DivideandCheck()
divide all elements and call PerformCheck
Definition: pzcheckgeom.cpp:52
static int main()
void UniformRefine(int nDiv)
Uniform refine the geometric mesh.
int CheckSideTransform(TPZGeoEl *gel, int sidefrom, int sideto)
int CheckInternalTransforms(TPZGeoEl *)
check the internal side transformations
Definition: pzcheckgeom.cpp:29
int CheckNeighbourMap(TPZGeoEl *gel)
verify if the mapping between neighbouring elements is conforming
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
Definition: pzgeoel.h:43
int PerformCheck()
verify compatibility between elements and their father and between elements and their neighbours ...
Definition: pzcheckgeom.cpp:93
int CheckSubFatherTransform(TPZGeoEl *subel, int sidesub)
verify if the transformation between sons and father are conforming
TPZGeoMesh * fMesh
Definition: pzcheckgeom.h:18
int CheckRefinement(TPZGeoEl *gel)
check the maps between the element and its father
TPZCheckGeom(TPZGeoMesh *gmesh=NULL)
Definition: pzcheckgeom.cpp:16
This class implements a geometric mesh for the pz environment. Geometry.
Definition: pzgmesh.h:48