NeoPZ
|
Will verify the consistency of the restraints of shape functions along a side. Computational Element. More...
#include <pzcheckrestraint.h>
Public Member Functions | |
TPZCheckRestraint (TPZCompElSide smalll, TPZCompElSide large) | |
Constructor with small and large element with commom side. More... | |
TPZFMatrix< REAL > & | RestraintMatrix () |
Returns the restraint matrix. More... | |
int | CheckRestraint () |
Gets the shape functions over the sides of the small and large elements and check the matrix restraint making multiplication of matrizes. More... | |
void | Diagnose () |
Get the small element and check restraints with all elements with lower dimension on side corresponding. More... | |
void | Print (std::ostream &out) |
Prints the information into the computational elements and side and geometric information also. More... | |
Private Member Functions | |
int | SmallConnect (int connectid) |
int | LargeConnect (int connectid) |
void | AddConnect (int connectindex) |
void | AddDependency (int smallconnectid, int largeconnectid, TPZFMatrix< REAL > &depend) |
Private Attributes | |
TPZCompElSide | fSmall |
Computational element with side included into the fLarge. More... | |
TPZCompElSide | fLarge |
Computational element with side including fSmall. More... | |
TPZFMatrix< REAL > | fRestraint |
Restraints matrix. More... | |
TPZVec< int > | fSmallSize |
Number of shape function corresponding to the connect associated with side of the small element. More... | |
TPZVec< int > | fSmallPos |
TPZVec< int > | fLargeSize |
Number of shape function corresponding to the connect associated with side of the large element. More... | |
TPZVec< int > | fLargePos |
TPZVec< int > | fSmallConnect |
Stores the indexes of the connect over the side for small element. More... | |
TPZVec< int > | fLargeConnect |
Stores the indexes of the connect over the side for large element. More... | |
TPZCompMesh * | fMesh |
Pointer for computational mesh containing the computational elements given. More... | |
Will verify the consistency of the restraints of shape functions along a side. Computational Element.
Definition at line 19 of file pzcheckrestraint.h.
TPZCheckRestraint::TPZCheckRestraint | ( | TPZCompElSide | smalll, |
TPZCompElSide | large | ||
) |
Constructor with small and large element with commom side.
Definition at line 18 of file pzcheckrestraint.cpp.
References TPZConnect::CheckDependency(), TPZCompEl::Connect(), TPZCompElSide::Element(), TPZCompElSide::LowerLevelElementList(), TPZCompMesh::MaterialVec(), TPZCompEl::Mesh(), TPZInterpolationSpace::NConnectShapeF(), TPZGeoElSide::NeighbourExists(), TPZInterpolatedElement::NSideConnects(), TPZInterpolatedElement::NSideShapeF(), TPZConnect::Order(), TPZCompElSide::Reference(), TPZInterpolatedElement::SideConnectIndex(), and TPZInterpolatedElement::SideConnectLocId().
|
private |
Definition at line 112 of file pzcheckrestraint.cpp.
References TPZConnect::TPZDepend::fDepConnectIndex, TPZConnect::TPZDepend::fDepMatrix, TPZConnect::FirstDepend(), and TPZConnect::TPZDepend::fNext.
|
private |
Definition at line 142 of file pzcheckrestraint.cpp.
References TPZMatrix< TVar >::Cols(), TPZConnect::TPZDepend::fDepConnectIndex, TPZConnect::TPZDepend::fDepMatrix, TPZConnect::FirstDepend(), TPZConnect::TPZDepend::fNext, and TPZMatrix< TVar >::Rows().
int TPZCheckRestraint::CheckRestraint | ( | ) |
Gets the shape functions over the sides of the small and large elements and check the matrix restraint making multiplication of matrizes.
Definition at line 218 of file pzcheckrestraint.cpp.
References TPZTransform< T >::CompareTransform(), TPZGeoEl::ComputeParamTrans(), TPZGeoEl::CreateSideIntegrationRule(), TPZGeoElSide::Dimension(), error(), TPZIntPoints::NPoints(), TPZIntPoints::Point(), PZError, TPZCompEl::Reference(), TPZGeoElSide::Reference(), TPZIntPoints::SetOrder(), TPZGeoEl::SideDimension(), TPZInterpolatedElement::SideShapeFunction(), TPZGeoElSide::SideTransform3(), and sqrt.
Referenced by Diagnose(), and TPZInterpolatedElement::RestrainSide().
void TPZCheckRestraint::Diagnose | ( | ) |
Get the small element and check restraints with all elements with lower dimension on side corresponding.
Definition at line 313 of file pzcheckrestraint.cpp.
References TPZCheckGeom::CheckRefinement(), CheckRestraint(), TPZCheckGeom::CheckSubFatherTransform(), TPZCompEl::ConnectIndex(), TPZCompElSide::Element(), TPZCompElSide::Exists(), TPZCompElSide::LowerLevelElementList(), TPZVec< T >::NElements(), and Print().
Referenced by TPZInterpolatedElement::RestrainSide().
|
private |
Definition at line 105 of file pzcheckrestraint.cpp.
void TPZCheckRestraint::Print | ( | std::ostream & | out | ) |
Prints the information into the computational elements and side and geometric information also.
Definition at line 264 of file pzcheckrestraint.cpp.
References TPZGeoElSide::Element(), TPZGeoElSide::Exists(), TPZGeoEl::Father2(), TPZGeoElSide::NeighbourExists(), TPZGeoEl::Print(), TPZGeoElSide::Reference(), and TPZGeoElSide::Side().
Referenced by Diagnose(), and TPZInterpolatedElement::RestrainSide().
TPZFMatrix< REAL > & TPZCheckRestraint::RestraintMatrix | ( | ) |
Returns the restraint matrix.
Definition at line 212 of file pzcheckrestraint.cpp.
Referenced by TPZInterpolatedElement::RestrainSide().
|
private |
Definition at line 98 of file pzcheckrestraint.cpp.
|
private |
Computational element with side including fSmall.
Definition at line 23 of file pzcheckrestraint.h.
|
private |
Stores the indexes of the connect over the side for large element.
Definition at line 35 of file pzcheckrestraint.h.
|
private |
Definition at line 31 of file pzcheckrestraint.h.
|
private |
Number of shape function corresponding to the connect associated with side of the large element.
Definition at line 30 of file pzcheckrestraint.h.
|
private |
Pointer for computational mesh containing the computational elements given.
Definition at line 37 of file pzcheckrestraint.h.
|
private |
Restraints matrix.
Definition at line 25 of file pzcheckrestraint.h.
|
private |
Computational element with side included into the fLarge.
Definition at line 21 of file pzcheckrestraint.h.
|
private |
Stores the indexes of the connect over the side for small element.
Definition at line 33 of file pzcheckrestraint.h.
|
private |
Definition at line 28 of file pzcheckrestraint.h.
|
private |
Number of shape function corresponding to the connect associated with side of the small element.
Definition at line 27 of file pzcheckrestraint.h.