v0.13.2
Loading...
Searching...
No Matches
Public Member Functions | List of all members
MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E > Struct Template Reference

#include <src/post_proc/PostProcBrokenMeshInMoabBase.hpp>

Inheritance diagram for MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >:
[legend]
Collaboration diagram for MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >:
[legend]

Public Member Functions

 PostProcBrokenMeshInMoabBaseBeginImpl (MoFEM::Interface &m_field, boost::shared_ptr< moab::Core > core_mesh_ptr)
 
MoFEMErrorCode preProcess ()
 
FEMethodgetFEMethod ()
 
MoFEMErrorCode operator() ()
 
MoFEMErrorCode postProcess ()
 

Additional Inherited Members

- Protected Member Functions inherited from MoFEM::PostProcBrokenMeshInMoabBase< E >
MoFEMErrorCode setGaussPts (int order)
 
MoFEMErrorCode preProcess ()
 Generate vertices and elements. More...
 
MoFEMErrorCode postProcess ()
 
int getRule (int order)
 
virtual int getMaxLevel () const
 Determine refinement level based on fields approx ordre. More...
 
 PostProcBrokenMeshInMoabBase (MoFEM::Interface &m_field, boost::shared_ptr< moab::Core > core_mesh_ptr)
 
virtual MoFEMErrorCode preProcPostProc ()
 
virtual MoFEMErrorCode postProcPostProc ()
 
virtual MoFEMErrorCode transferTags ()
 
 PostProcBrokenMeshInMoabBase (MoFEM::Interface &m_field)
 
virtual ~PostProcBrokenMeshInMoabBase ()
 
auto & getMapGaussPts ()
 Get vector of vectors associated to integration points. More...
 
auto & getPostProcMesh ()
 Get postprocessing mesh. More...
 
auto & getPostProcElements ()
 Get postprocessing elements. More...
 
MoFEMErrorCode writeFile (const std::string file_name)
 wrote results in (MOAB) format, use "file_name.h5m" More...
 
MoFEMErrorCode setTagsToTransfer (std::vector< Tag > tags_to_transfer)
 Set tags to be transferred to post-processing mesh. More...
 
- Protected Attributes inherited from MoFEM::PostProcBrokenMeshInMoabBase< E >
boost::shared_ptr< moab::Core > coreMeshPtr = boost::make_shared<moab::Core>()
 
std::vector< EntityHandlemapGaussPts
 
Range postProcElements
 
std::map< EntityType, PostProcGenerateRefMeshPtrrefElementsMap
 
std::vector< Tag > tagsToTransfer
 

Detailed Description

template<typename E>
struct MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >

Definition at line 853 of file PostProcBrokenMeshInMoabBase.hpp.

Constructor & Destructor Documentation

◆ PostProcBrokenMeshInMoabBaseBeginImpl()

template<typename E >
MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >::PostProcBrokenMeshInMoabBaseBeginImpl ( MoFEM::Interface m_field,
boost::shared_ptr< moab::Core >  core_mesh_ptr 
)
inline

Definition at line 856 of file PostProcBrokenMeshInMoabBase.hpp.

858 : PostProcBrokenMeshInMoabBase<E>(m_field, core_mesh_ptr) {}

Member Function Documentation

◆ getFEMethod()

template<typename E >
FEMethod * MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >::getFEMethod ( )
inline

Definition at line 872 of file PostProcBrokenMeshInMoabBase.hpp.

872{ return this; }

◆ operator()()

template<typename E >
MoFEMErrorCode MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >::operator() ( )
inline

Definition at line 874 of file PostProcBrokenMeshInMoabBase.hpp.

874{ return 0; }

◆ postProcess()

template<typename E >
MoFEMErrorCode MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >::postProcess ( )
inline

Definition at line 875 of file PostProcBrokenMeshInMoabBase.hpp.

875{ return 0; }

◆ preProcess()

template<typename E >
MoFEMErrorCode MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >::preProcess ( )
inline

Definition at line 860 of file PostProcBrokenMeshInMoabBase.hpp.

860 {
862 ParallelComm *pcomm_post_proc_mesh =
863 ParallelComm::get_pcomm(&this->getPostProcMesh(), MYPCOMM_INDEX);
864 if (pcomm_post_proc_mesh != NULL)
865 delete pcomm_post_proc_mesh;
866 CHKERR this->getPostProcMesh().delete_mesh();
867 pcomm_post_proc_mesh =
868 new ParallelComm(&(this->getPostProcMesh()), PETSC_COMM_WORLD);
870 }
#define MYPCOMM_INDEX
default communicator number PCOMM
Definition: definitions.h:215
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#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
auto & getPostProcMesh()
Get postprocessing mesh.

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