NeoPZ
pzcheckrestraint.h
Go to the documentation of this file.
1 
6 #ifndef PZCHECKRESTRAINTH
7 #define PZCHECKRESTRAINTH
8 
9 #include "pzcompel.h"
10 #include "pzfmatrix.h"
11 #include "pzvec.h"
12 
13 class TPZCompMesh;
14 
38 
39 
40 public:
45 
47  int CheckRestraint();
49  void Diagnose();
51  void Print(std::ostream &out);
52 
53 private:
54 
55  int SmallConnect(int connectid);
56 
57  int LargeConnect(int connectid);
58 
59  void AddConnect(int connectindex);
60 
61  void AddDependency(int smallconnectid, int largeconnectid, TPZFMatrix<REAL> &depend);
62 
63 };
64 
65 #endif
Will verify the consistency of the restraints of shape functions along a side. Computational Element...
Implements computational element and a side. Computational Element.
Definition: pzcompel.h:632
void Print(std::ostream &out)
Prints the information into the computational elements and side and geometric information also...
TPZCheckRestraint(TPZCompElSide smalll, TPZCompElSide large)
Constructor with small and large element with commom side.
Contains declaration of TPZCompEl class which defines the interface of a computational element...
Templated vector implementation.
TPZFMatrix< REAL > fRestraint
Restraints matrix.
void Diagnose()
Get the small element and check restraints with all elements with lower dimension on side correspondi...
TPZVec< int > fLargeConnect
Stores the indexes of the connect over the side for large element.
TPZCompElSide fLarge
Computational element with side including fSmall.
TPZVec< int > fSmallPos
void AddDependency(int smallconnectid, int largeconnectid, TPZFMatrix< REAL > &depend)
TPZVec< int > fLargeSize
Number of shape function corresponding to the connect associated with side of the large element...
TPZCompElSide fSmall
Computational element with side included into the fLarge.
TPZVec< int > fSmallConnect
Stores the indexes of the connect over the side for small element.
Contains TPZMatrixclass which implements full matrix (using column major representation).
int CheckRestraint()
Gets the shape functions over the sides of the small and large elements and check the matrix restrain...
TPZCompMesh * fMesh
Pointer for computational mesh containing the computational elements given.
int LargeConnect(int connectid)
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
void AddConnect(int connectindex)
TPZFMatrix< REAL > & RestraintMatrix()
Returns the restraint matrix.
TPZVec< int > fLargePos
TPZVec< int > fSmallSize
Number of shape function corresponding to the connect associated with side of the small element...
int SmallConnect(int connectid)