NeoPZ
Functions
pzreferredcompel.cpp File Reference

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"
Include dependency graph for pzreferredcompel.cpp:

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 $ |Aij - Bij| < tol $ 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...
 
TPZCompElCreateReferredPointEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates point referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredLinearEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates linear referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredQuadEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates quadrilateral referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredTriangleEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates triangular referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredCubeEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates cube referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredPrismEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates prismal referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredPyramEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates pyramidal referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredTetraEl (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates tetrahedral referred computational element related with geometric element gel. More...
 
TPZCompElCreateReferredDisc (TPZGeoEl *gel, TPZCompMesh &mesh, int64_t &index)
 Creates discontinuous referred computational element related with geometric element gel. More...
 

Detailed Description

Contains the implementation of the TPZReferredCompEl methods.

Definition in file pzreferredcompel.cpp.

Function Documentation

◆ AdjustSolutionDerivatives()

void AdjustSolutionDerivatives ( TPZFMatrix< STATE > &  dsolfrom,
TPZFMatrix< REAL > &  axesfrom,
TPZFMatrix< STATE > &  dsolto,
const TPZFMatrix< REAL > &  axesto 
)

◆ Append() [1/2]

template<class TVar >
void Append ( TPZVec< TVar > &  u1,
TPZVec< TVar > &  u2,
TPZVec< TVar > &  u12 
)

◆ Append() [2/2]

template<class TVar >
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: $ u12.Rows = max(u1.Rows, u2.Rows) $ and $ u12.Cols = u1.Cols + u2.Cols $

Definition at line 62 of file pzreferredcompel.cpp.

References TPZMatrix< TVar >::Cols(), TPZFMatrix< TVar >::Redim(), and TPZMatrix< TVar >::Rows().

◆ AreEqual()

bool AreEqual ( const TPZVec< REAL > &  A,
const TPZVec< REAL > &  B,
REAL  tol 
)

Returns true whether $ |Aij - Bij| < tol $ 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().

◆ CreateReferredCubeEl()

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().

◆ CreateReferredDisc()

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().

◆ CreateReferredLinearEl()

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().

◆ CreateReferredPointEl()

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().

◆ CreateReferredPrismEl()

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().

◆ CreateReferredPyramEl()

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().

◆ CreateReferredQuadEl()

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().

◆ CreateReferredTetraEl()

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().

◆ CreateReferredTriangleEl()

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().