NeoPZ
pzcheckmesh.h
Go to the documentation of this file.
1 
6 #ifndef PZCHECKMESHH
7 #define PZCHECKMESHH
8 
9 #include "pzcompel.h"
10 #include "pzcmesh.h"
11 #include <fstream>
12 
13 template <class T, int N>
14 class TPZStack;
15 
20 class TPZCheckMesh {
21 
22 protected:
24  std::ostream *fOut;
25 
26 public:
29  int CheckDimensions();
31  TPZCheckMesh(TPZCompMesh *mesh, std::ostream *out);
32 
37  void DependencyReport(int connect);
38 
44  void DependencyReport(int connect, TPZCompElSide & large);
45 
52  void BuildDependList(int connect, TPZStack<int> &dependlist);
53 
58  TPZCompElSide FindElement(int connect);
59 
65  int VerifyConnect(int connect);
66 
73 
78  int VerifyAllConnects();
79 
85 
90 
91 private:
93  int fNState;
94 
95 };
96 
97 #endif
int CheckConnectSeqNumberConsistency()
This method verifies if the sequence numbers of dependent connects and/or condensed connect are order...
void BuildDependList(int connect, TPZStack< int > &dependlist)
This method will build a list of all connect indices which depend on the connect passed in the argume...
Definition: pzcheckmesh.cpp:20
Implements computational element and a side. Computational Element.
Definition: pzcompel.h:632
void DependencyReport(int connect)
This method will write a report to the std::ostream about all connects which potentially depend on th...
TPZCompMesh * fMesh
Definition: pzcheckmesh.h:23
int CheckConnectOrderConsistency()
This method will verify whether the fSiderOrder data structure is in sink with the Order of the Conne...
Contains declaration of TPZCompEl class which defines the interface of a computational element...
int CheckConstraintDimension()
int VerifyAllConnects()
Loop over all connects verifying dependency and the compatibility between number of shapes in connect...
int CheckDimensions()
int VerifyConnect(int connect)
This method will verify if the connects which depend on the connect passed in the argument list will ...
Definition: pzcheckmesh.cpp:73
std::ostream * fOut
Definition: pzcheckmesh.h:24
TPZCompElSide FindElement(int connect)
This method will search in the mesh for an element/side which corresponds to the connect index passed...
Definition: pzcheckmesh.cpp:32
Contains declaration of TPZCompMesh class which is a repository for computational elements...
This class implements a stack object. Utility.
Definition: pzcheckmesh.h:14
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
int CheckElementShapeDimension()
TPZCheckMesh(TPZCompMesh *mesh, std::ostream *out)
Constructor.
Definition: pzcheckmesh.cpp:14
This class verifies the consistency of the datastructure of a TPZCompMesh object. Computational Mesh...
Definition: pzcheckmesh.h:20
int VerifyCompatibilityBetweenNShapesAndBlockSize(int connect)
This method will verify if the number of shape functions in connect is compatible with the size of th...
Definition: pzcheckmesh.cpp:57