NeoPZ
|
Contains the implementation of the TPZReferredCompEl methods. More...
#include "pzreferredcompel.h"
#include "pzelctemp.h"
#include "pzintel.h"
#include "TPZCompElDisc.h"
#include "TPZInterfaceEl.h"
#include "pzquad.h"
#include "TPZGeoElement.h"
#include "pzgeopoint.h"
#include "pzshapepoint.h"
#include "TPZGeoLinear.h"
#include "pzshapelinear.h"
#include "pzgeoquad.h"
#include "pzshapequad.h"
#include "pzgeotriangle.h"
#include "pzshapetriang.h"
#include "TPZGeoCube.h"
#include "pzshapecube.h"
#include "pzgeoprism.h"
#include "pzshapeprism.h"
#include "pzgeopyramid.h"
#include "pzshapepiram.h"
#include "pzgeotetrahedra.h"
#include "pzshapetetra.h"
#include "TPZMaterial.h"
#include "pzelmat.h"
#include "pzgeoel.h"
#include "pzcmesh.h"
#include "pzlog.h"
#include "tpzcompmeshreferred.h"
#include "pzelchdiv.h"
#include "pzelchdivbound2.h"
Go to the source code of this file.
Functions | |
template<class TVar > | |
void | Append (TPZVec< TVar > &u1, TPZVec< TVar > &u2, TPZVec< TVar > &u12) |
Append u2 vector after u1 vector in u12 vector. More... | |
template<class TVar > | |
void | Append (TPZFMatrix< TVar > &u1, TPZFMatrix< TVar > &u2, TPZFMatrix< TVar > &u12) |
Append u2 matrix following u1 matrix in u12 matrix. More... | |
bool | AreEqual (const TPZVec< REAL > &A, const TPZVec< REAL > &B, REAL tol) |
Returns true whether for all the entries of the matrices. More... | |
void | AdjustSolutionDerivatives (TPZFMatrix< STATE > &dsolfrom, TPZFMatrix< REAL > &axesfrom, TPZFMatrix< STATE > &dsolto, const TPZFMatrix< REAL > &axesto) |
Adjust the derivatives from one system of axes to the other. More... | |
TPZCompEl * | CreateReferredPointEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates point referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredLinearEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates linear referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredQuadEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates quadrilateral referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredTriangleEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates triangular referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredCubeEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates cube referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredPrismEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates prismal referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredPyramEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates pyramidal referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredTetraEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates tetrahedral referred computational element related with geometric element gel. More... | |
TPZCompEl * | CreateReferredDisc (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index) |
Creates discontinuous referred computational element related with geometric element gel. More... | |
Contains the implementation of the TPZReferredCompEl methods.
Definition in file pzreferredcompel.cpp.
void AdjustSolutionDerivatives | ( | TPZFMatrix< STATE > & | dsolfrom, |
TPZFMatrix< REAL > & | axesfrom, | ||
TPZFMatrix< STATE > & | dsolto, | ||
const TPZFMatrix< REAL > & | axesto | ||
) |
Adjust the derivatives from one system of axes to the other.
Definition at line 345 of file pzreferredcompel.cpp.
References TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::MultAdd(), TPZFMatrix< TVar >::Resize(), TPZMatrix< TVar >::Rows(), and TPZFMatrix< TVar >::Transpose().
Referenced by TPZReferredCompEl< TCOMPEL >::AppendOtherSolution().
void Append | ( | TPZVec< TVar > & | u1, |
TPZVec< TVar > & | u2, | ||
TPZVec< TVar > & | u12 | ||
) |
Append u2 vector after u1 vector in u12 vector.
Definition at line 52 of file pzreferredcompel.cpp.
References TPZVec< T >::NElements(), and TPZVec< T >::Resize().
Referenced by TPZReferredCompEl< TCOMPEL >::AppendOtherSolution(), TPZString::operator+=(), and TPZLink< TPZSpMatrix::TPZNode >::operator=().
void Append | ( | TPZFMatrix< TVar > & | u1, |
TPZFMatrix< TVar > & | u2, | ||
TPZFMatrix< TVar > & | u12 | ||
) |
Append u2 matrix following u1 matrix in u12 matrix.
Returns u12 = [u1][u2]. Then: and
Definition at line 62 of file pzreferredcompel.cpp.
References TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::Redim(), and TPZMatrix< TVar >::Rows().
Returns true whether for all the entries of the matrices.
Definition at line 73 of file pzreferredcompel.cpp.
References fabs, and TPZVec< T >::NElements().
Referenced by TPZReferredCompEl< TCOMPEL >::AppendOtherSolution().
TPZCompEl* CreateReferredCubeEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates cube referred computational element related with geometric element gel.
Definition at line 415 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredDisc | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates discontinuous referred computational element related with geometric element gel.
Definition at line 431 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsDiscontinuousReferred().
TPZCompEl* CreateReferredLinearEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates linear referred computational element related with geometric element gel.
Definition at line 403 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredPointEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates point referred computational element related with geometric element gel.
Definition at line 399 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredPrismEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates prismal referred computational element related with geometric element gel.
Definition at line 419 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredPyramEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates pyramidal referred computational element related with geometric element gel.
Definition at line 423 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredQuadEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates quadrilateral referred computational element related with geometric element gel.
Definition at line 407 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredTetraEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates tetrahedral referred computational element related with geometric element gel.
Definition at line 427 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().
TPZCompEl* CreateReferredTriangleEl | ( | TPZGeoEl * | gel, |
TPZCompMesh & | mesh, | ||
int64_t & | index | ||
) |
Creates triangular referred computational element related with geometric element gel.
Definition at line 411 of file pzreferredcompel.cpp.
Referenced by TPZCreateApproximationSpace::SetAllCreateFunctionsContinuousReferred().