No Matches
Public Member Functions | Public Attributes | List of all members
MoFEM::PostProcGenerateRefMeshBase Struct Referenceabstract

#include <src/post_proc/PostProcBrokenMeshInMoabBase.hpp>

Inheritance diagram for MoFEM::PostProcGenerateRefMeshBase:
Collaboration diagram for MoFEM::PostProcGenerateRefMeshBase:

Public Member Functions

 PostProcGenerateRefMeshBase ()
virtual ~PostProcGenerateRefMeshBase ()=default
MoFEMErrorCode getOptions ()
virtual MoFEMErrorCode generateReferenceElementMesh ()=0

Public Attributes

std::vector< MatrixDoublelevelShapeFunctions
std::vector< MatrixDoublelevelGaussPtsOnRefMesh
std::vector< ublas::matrix< int > > levelRef
EntityHandle startingVertEleHandle
std::vector< double * > verticesOnEleArrays
EntityHandle startingEleHandle
int countEle
int countVertEle
int nbVertices
int nbEles
PetscBool hoNodes
int defMaxLevel
std::string optPrefix

Detailed Description

Each element is subdivided on smaller elements, i.e. a reference mesh on single element is created. Nodes of such reference mesh are used as integration points at which field values are calculated and to each node a "moab" tag is attached to store those values.

Definition at line 23 of file PostProcBrokenMeshInMoabBase.hpp.

Constructor & Destructor Documentation

◆ PostProcGenerateRefMeshBase()

MoFEM::PostProcGenerateRefMeshBase::PostProcGenerateRefMeshBase ( )

◆ ~PostProcGenerateRefMeshBase()

virtual MoFEM::PostProcGenerateRefMeshBase::~PostProcGenerateRefMeshBase ( )

Member Function Documentation

◆ generateReferenceElementMesh()

virtual MoFEMErrorCode MoFEM::PostProcGenerateRefMeshBase::generateReferenceElementMesh ( )
pure virtual

◆ getOptions()

MoFEMErrorCode MoFEM::PostProcGenerateRefMeshBase::getOptions ( )

Definition at line 17 of file PostProcBrokenMeshInMoabBase.cpp.

17 {
20 CHKERR PetscOptionsGetInt(optPrefix.c_str(), "-max_post_proc_ref_level",
21 &defMaxLevel, PETSC_NULL);
22 CHKERR PetscOptionsGetBool(optPrefix.c_str(), "-max_post_ho_nodes", &hoNodes,
25 if (defMaxLevel < 0)
27 "Wrong parameter -max_post_proc_ref_level "
28 "should be positive number");
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
Definition: definitions.h:36
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535
PetscErrorCode PetscOptionsGetInt(PetscOptions *, const char pre[], const char name[], PetscInt *ivalue, PetscBool *set)
PetscErrorCode PetscOptionsGetBool(PetscOptions *, const char pre[], const char name[], PetscBool *bval, PetscBool *set)

Member Data Documentation

◆ countEle

int MoFEM::PostProcGenerateRefMeshBase::countEle

Definition at line 37 of file PostProcBrokenMeshInMoabBase.hpp.

◆ countVertEle

int MoFEM::PostProcGenerateRefMeshBase::countVertEle

Definition at line 38 of file PostProcBrokenMeshInMoabBase.hpp.

◆ defMaxLevel

int MoFEM::PostProcGenerateRefMeshBase::defMaxLevel

Definition at line 50 of file PostProcBrokenMeshInMoabBase.hpp.

◆ eleConn

EntityHandle* MoFEM::PostProcGenerateRefMeshBase::eleConn

Definition at line 35 of file PostProcBrokenMeshInMoabBase.hpp.

◆ hoNodes

PetscBool MoFEM::PostProcGenerateRefMeshBase::hoNodes

Definition at line 49 of file PostProcBrokenMeshInMoabBase.hpp.

◆ levelGaussPtsOnRefMesh

std::vector<MatrixDouble> MoFEM::PostProcGenerateRefMeshBase::levelGaussPtsOnRefMesh

Definition at line 29 of file PostProcBrokenMeshInMoabBase.hpp.

◆ levelRef

std::vector<ublas::matrix<int> > MoFEM::PostProcGenerateRefMeshBase::levelRef

Definition at line 30 of file PostProcBrokenMeshInMoabBase.hpp.

◆ levelShapeFunctions

std::vector<MatrixDouble> MoFEM::PostProcGenerateRefMeshBase::levelShapeFunctions

Definition at line 26 of file PostProcBrokenMeshInMoabBase.hpp.

◆ nbEles

int MoFEM::PostProcGenerateRefMeshBase::nbEles

Definition at line 41 of file PostProcBrokenMeshInMoabBase.hpp.

◆ nbVertices

int MoFEM::PostProcGenerateRefMeshBase::nbVertices

Definition at line 40 of file PostProcBrokenMeshInMoabBase.hpp.

◆ optPrefix

std::string MoFEM::PostProcGenerateRefMeshBase::optPrefix

Definition at line 51 of file PostProcBrokenMeshInMoabBase.hpp.

◆ startingEleHandle

EntityHandle MoFEM::PostProcGenerateRefMeshBase::startingEleHandle

Definition at line 34 of file PostProcBrokenMeshInMoabBase.hpp.

◆ startingVertEleHandle

EntityHandle MoFEM::PostProcGenerateRefMeshBase::startingVertEleHandle

Definition at line 32 of file PostProcBrokenMeshInMoabBase.hpp.

◆ verticesOnEleArrays

std::vector<double *> MoFEM::PostProcGenerateRefMeshBase::verticesOnEleArrays

Definition at line 33 of file PostProcBrokenMeshInMoabBase.hpp.

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