v0.15.0
Loading...
Searching...
No Matches
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, std::string opts_prefix="")
 
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.
 
MoFEMErrorCode postProcess ()
 
int getRule (int order)
 
virtual int getMaxLevel () const
 Determine refinement level based on fields approx ordre.
 
virtual MoFEMErrorCode preProcPostProc ()
 
virtual MoFEMErrorCode postProcPostProc ()
 
virtual MoFEMErrorCode transferTags ()
 
 PostProcBrokenMeshInMoabBase (MoFEM::Interface &m_field, std::string opts_prefix="")
 
 PostProcBrokenMeshInMoabBase (MoFEM::Interface &m_field, boost::shared_ptr< moab::Core > core_mesh_ptr, std::string opts_prefix="")
 
virtual ~PostProcBrokenMeshInMoabBase ()
 
auto & getMapGaussPts ()
 Get vector of vectors associated to integration points.
 
auto & getPostProcMesh ()
 Get postprocessing mesh.
 
auto & getPostProcElements ()
 Get postprocessing elements.
 
MoFEMErrorCode writeFile (const std::string file_name)
 wrote results in (MOAB) format, use "file_name.h5m"
 
MoFEMErrorCode setTagsToTransfer (std::vector< Tag > tags_to_transfer)
 Set tags to be transferred to post-processing mesh.
 
- 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< TagtagsToTransfer
 
std::string optionsPrefix = ""
 Prefix for options.
 

Detailed Description

template<typename E>
struct MoFEM::PostProcBrokenMeshInMoabBaseBeginImpl< E >
Examples
EshelbianPlasticity.cpp.

Definition at line 864 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,
std::string opts_prefix = "" )
inline

Definition at line 867 of file PostProcBrokenMeshInMoabBase.hpp.

870 : PostProcBrokenMeshInMoabBase<E>(m_field, core_mesh_ptr, opts_prefix) {}
PostProcBrokenMeshInMoabBase(MoFEM::Interface &m_field, std::string opts_prefix="")

Member Function Documentation

◆ getFEMethod()

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

Definition at line 884 of file PostProcBrokenMeshInMoabBase.hpp.

884{ return this; }

◆ operator()()

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

Definition at line 886 of file PostProcBrokenMeshInMoabBase.hpp.

886{ return 0; }

◆ postProcess()

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

Definition at line 887 of file PostProcBrokenMeshInMoabBase.hpp.

887{ return 0; }

◆ preProcess()

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

Definition at line 872 of file PostProcBrokenMeshInMoabBase.hpp.

872 {
874 ParallelComm *pcomm_post_proc_mesh =
875 ParallelComm::get_pcomm(&this->getPostProcMesh(), MYPCOMM_INDEX);
876 if (pcomm_post_proc_mesh != NULL)
877 delete pcomm_post_proc_mesh;
878 CHKERR this->getPostProcMesh().delete_mesh();
879 pcomm_post_proc_mesh =
880 new ParallelComm(&(this->getPostProcMesh()), PETSC_COMM_WORLD);
882 }
#define MYPCOMM_INDEX
default communicator number PCOMM
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
auto & getPostProcMesh()
Get postprocessing mesh.

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