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

This class performs a series of consistency tests on geometric transformations between elements. Geometry. More...

#include <pzcheckgeom.h>

Collaboration diagram for TPZCheckGeom:
[legend]

Public Member Functions

 TPZCheckGeom (TPZGeoMesh *gmesh=NULL)
 
int PerformCheck ()
 verify compatibility between elements and their father and between elements and their neighbours More...
 
int DivideandCheck ()
 divide all elements and call PerformCheck More...
 
int CheckElement (TPZGeoEl *gel)
 
int CheckIds ()
 
int CheckInternalTransforms (TPZGeoEl *)
 check the internal side transformations More...
 
int CheckRefinement (TPZGeoEl *gel)
 check the maps between the element and its father More...
 
int CheckNeighbourMap (TPZGeoEl *gel)
 verify if the mapping between neighbouring elements is conforming More...
 
int CheckSideTransform (TPZGeoEl *gel, int sidefrom, int sideto)
 
int CheckSubFatherTransform (TPZGeoEl *subel, int sidesub)
 verify if the transformation between sons and father are conforming More...
 
void CheckUniqueId ()
 Verify is the ids of the elements and nodes are unique. More...
 
void UniformRefine (int nDiv)
 Uniform refine the geometric mesh. More...
 
void CreateMesh ()
 

Static Public Member Functions

static int main ()
 

Private Attributes

TPZGeoMeshfMesh
 

Detailed Description

This class performs a series of consistency tests on geometric transformations between elements. Geometry.

Definition at line 16 of file pzcheckgeom.h.

Constructor & Destructor Documentation

◆ TPZCheckGeom()

TPZCheckGeom::TPZCheckGeom ( TPZGeoMesh gmesh = NULL)

Definition at line 16 of file pzcheckgeom.cpp.

Member Function Documentation

◆ CheckElement()

int TPZCheckGeom::CheckElement ( TPZGeoEl gel)

Definition at line 19 of file pzcheckgeom.cpp.

References CheckInternalTransforms(), CheckNeighbourMap(), and CheckRefinement().

Referenced by PerformCheck().

◆ CheckIds()

int TPZCheckGeom::CheckIds ( )

◆ CheckInternalTransforms()

int TPZCheckGeom::CheckInternalTransforms ( TPZGeoEl gel)

◆ CheckNeighbourMap()

int TPZCheckGeom::CheckNeighbourMap ( TPZGeoEl gel)

◆ CheckRefinement()

int TPZCheckGeom::CheckRefinement ( TPZGeoEl gel)

◆ CheckSideTransform()

int TPZCheckGeom::CheckSideTransform ( TPZGeoEl gel,
int  sidefrom,
int  sideto 
)

◆ CheckSubFatherTransform()

int TPZCheckGeom::CheckSubFatherTransform ( TPZGeoEl subel,
int  sidesub 
)

◆ CheckUniqueId()

void TPZCheckGeom::CheckUniqueId ( )

Verify is the ids of the elements and nodes are unique.

Definition at line 400 of file pzcheckgeom.cpp.

References DebugStop, TPZGeoMesh::Element(), fMesh, TPZGeoEl::Id(), TPZGeoMesh::NElements(), TPZGeoMesh::NNodes(), and TPZGeoMesh::NodeVec().

Referenced by TPZCompMesh::AutoBuild().

◆ CreateMesh()

void TPZCheckGeom::CreateMesh ( )

◆ DivideandCheck()

int TPZCheckGeom::DivideandCheck ( )

divide all elements and call PerformCheck

Definition at line 52 of file pzcheckgeom.cpp.

References TPZGeoEl::Divide(), TPZGeoMesh::ElementVec(), fMesh, TPZGeoMesh::NElements(), and PerformCheck().

Referenced by main().

◆ main()

int TPZCheckGeom::main ( )
static

Definition at line 266 of file pzcheckgeom.cpp.

References CreateMesh(), DivideandCheck(), fMesh, and TPZGeoMesh::Print().

◆ PerformCheck()

int TPZCheckGeom::PerformCheck ( )

verify compatibility between elements and their father and between elements and their neighbours

Definition at line 93 of file pzcheckgeom.cpp.

References CheckElement(), CheckIds(), TPZGeoMesh::ElementVec(), fMesh, and TPZGeoMesh::NElements().

Referenced by DivideandCheck().

◆ UniformRefine()

void TPZCheckGeom::UniformRefine ( int  nDiv)

Uniform refine the geometric mesh.

Definition at line 435 of file pzcheckgeom.cpp.

References TPZGeoEl::Divide(), TPZGeoMesh::ElementVec(), fMesh, TPZGeoEl::HasSubElement(), and TPZGeoMesh::NElements().

Referenced by MalhaGeom().

Member Data Documentation

◆ fMesh

TPZGeoMesh* TPZCheckGeom::fMesh
private

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