NeoPZ
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
TCedricTest Class Reference

#include <CedricTest.h>

Collaboration diagram for TCedricTest:
[legend]

Public Member Functions

 TCedricTest ()
 
void GenerateNodes (TPZGeoMesh *gmesh, int64_t nelem)
 
TPZGeoMeshHexahedralMesh (int64_t nelem, int MaterialId)
 
TPZGeoMeshPyramidalAndTetrahedralMesh (int64_t nelem, int MaterialId)
 
TPZGeoMeshTetrahedralMesh (int64_t nelem, int MaterialId)
 
TPZGeoMeshTetrahedralMeshUsingRefinement (int64_t nelem, int MaterialId)
 
int AddBoundaryElements (TPZGeoMesh *gmesh)
 
TPZCompMeshGenerateCompMesh (TPZGeoMesh *gmesh)
 
void CreateCondensedElements (TPZCompMesh *cmesh)
 
void UnwrapElements (TPZCompMesh *cmesh)
 
void DeformGMesh (TPZGeoMesh &gmesh)
 Deform the geometric mesh according to the coordinates of fDeformed. More...
 
void CheckConsistency (TPZGeoMesh *mesh)
 verify if the faces without neighbour should be orthogonal to the main planes More...
 
void Run (int nsubdivisions, int geocase, int POrder, int MaterialId, std::ostream &out=std::cout)
 
void LoadInterpolation (TPZCompMesh *cmesh)
 
void InterpolationError (int nsubdivisions, int geocase, int MaterialId, std::ostream &out)
 

Static Public Member Functions

static REAL fx (REAL x, REAL x0, REAL eps)
 
static REAL dfx (REAL x, REAL x0, REAL eps)
 
static REAL d2fx (REAL x, REAL x0, REAL eps)
 
static void Exact (const TPZVec< REAL > &x, TPZVec< STATE > &func, TPZFMatrix< STATE > &deriv)
 

Public Attributes

TPZGeoMesh fDeformed
 

Static Public Attributes

static TPZManVector< REAL, 3 > fX0
 
static TPZManVector< REAL, 3 > fEps
 

Detailed Description

To numerical test from Cedric+Renato publication

Definition at line 11 of file CedricTest.h.

Constructor & Destructor Documentation

◆ TCedricTest()

TCedricTest::TCedricTest ( )

Member Function Documentation

◆ AddBoundaryElements()

int TCedricTest::AddBoundaryElements ( TPZGeoMesh gmesh)

◆ CheckConsistency()

void TCedricTest::CheckConsistency ( TPZGeoMesh mesh)

◆ CreateCondensedElements()

void TCedricTest::CreateCondensedElements ( TPZCompMesh cmesh)

◆ d2fx()

static REAL TCedricTest::d2fx ( REAL  x,
REAL  x0,
REAL  eps 
)
inlinestatic

Definition at line 51 of file CedricTest.h.

References pow().

Referenced by ForceFunction::Execute().

◆ DeformGMesh()

void TCedricTest::DeformGMesh ( TPZGeoMesh gmesh)

Deform the geometric mesh according to the coordinates of fDeformed.

Definition at line 79 of file CedricTest.cpp.

References TPZGeoMesh::ElementVec(), fDeformed, TPZChunkVector< T, EXP >::NElements(), and TPZGeoMesh::NodeVec().

Referenced by Exact(), InterpolationError(), and Run().

◆ dfx()

static REAL TCedricTest::dfx ( REAL  x,
REAL  x0,
REAL  eps 
)
inlinestatic

Definition at line 42 of file CedricTest.h.

References exp.

Referenced by Exact().

◆ Exact()

static void TCedricTest::Exact ( const TPZVec< REAL > &  x,
TPZVec< STATE > &  func,
TPZFMatrix< STATE > &  deriv 
)
inlinestatic

◆ fx()

static REAL TCedricTest::fx ( REAL  x,
REAL  x0,
REAL  eps 
)
inlinestatic

Definition at line 36 of file CedricTest.h.

References exp.

Referenced by Exact(), and ForceFunction::Execute().

◆ GenerateCompMesh()

TPZCompMesh * TCedricTest::GenerateCompMesh ( TPZGeoMesh gmesh)

Inserting material

Inserting boundary condition - Dirichlet with value 0.0

Constructing computational mesh

Definition at line 700 of file CedricTest.cpp.

References TPZCompMesh::AutoBuild(), bc, TPZCompMesh::InsertMaterialObject(), TPZCompMesh::SetDimModel(), and TPZMaterial::SetForcingFunction().

Referenced by InterpolationError(), and Run().

◆ GenerateNodes()

void TCedricTest::GenerateNodes ( TPZGeoMesh gmesh,
int64_t  nelem 
)

◆ HexahedralMesh()

TPZGeoMesh * TCedricTest::HexahedralMesh ( int64_t  nelem,
int  MaterialId 
)

Constructing geometrical mesh depends on type of element wished.

Definition at line 617 of file CedricTest.cpp.

References TPZGeoMesh::BuildConnectivity(), TPZGeoMesh::CreateGeoElement(), ECube, GenerateNodes(), and LOGPZ_DEBUG.

Referenced by InterpolationError(), and Run().

◆ InterpolationError()

void TCedricTest::InterpolationError ( int  nsubdivisions,
int  geocase,
int  MaterialId,
std::ostream &  out 
)

◆ LoadInterpolation()

void TCedricTest::LoadInterpolation ( TPZCompMesh cmesh)

◆ PyramidalAndTetrahedralMesh()

TPZGeoMesh * TCedricTest::PyramidalAndTetrahedralMesh ( int64_t  nelem,
int  MaterialId 
)

◆ Run()

void TCedricTest::Run ( int  nsubdivisions,
int  geocase,
int  POrder,
int  MaterialId,
std::ostream &  out = std::cout 
)

◆ TetrahedralMesh()

TPZGeoMesh * TCedricTest::TetrahedralMesh ( int64_t  nelem,
int  MaterialId 
)

◆ TetrahedralMeshUsingRefinement()

TPZGeoMesh * TCedricTest::TetrahedralMeshUsingRefinement ( int64_t  nelem,
int  MaterialId 
)

◆ UnwrapElements()

void TCedricTest::UnwrapElements ( TPZCompMesh cmesh)

Member Data Documentation

◆ fDeformed

TPZGeoMesh TCedricTest::fDeformed

Definition at line 16 of file CedricTest.h.

Referenced by DeformGMesh(), and TCedricTest().

◆ fEps

TPZManVector< REAL, 3 > TCedricTest::fEps
static

Definition at line 14 of file CedricTest.h.

Referenced by ForceFunction::Execute().

◆ fX0

TPZManVector< REAL, 3 > TCedricTest::fX0
static

Definition at line 14 of file CedricTest.h.

Referenced by ForceFunction::Execute().


The documentation for this class was generated from the following files: