v0.15.0
Loading...
Searching...
No Matches
MoFEM::PostProcBrokenMeshInMoabBaseEndImpl< E > Struct Template Reference

#include "src/post_proc/PostProcBrokenMeshInMoabBase.hpp"

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

Public Member Functions

 PostProcBrokenMeshInMoabBaseEndImpl (MoFEM::Interface &m_field, boost::shared_ptr< moab::Core > core_mesh_ptr, std::string opts_prefix="")
 
MoFEMErrorCode preProcess ()
 
MoFEMErrorCode operator() ()
 
MoFEMErrorCode postProcess ()
 
FEMethodgetFEMethod ()
 

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::PostProcBrokenMeshInMoabBaseEndImpl< E >
Examples
EshelbianPlasticity.cpp.

Definition at line 911 of file PostProcBrokenMeshInMoabBase.hpp.

Constructor & Destructor Documentation

◆ PostProcBrokenMeshInMoabBaseEndImpl()

template<typename E >
MoFEM::PostProcBrokenMeshInMoabBaseEndImpl< E >::PostProcBrokenMeshInMoabBaseEndImpl ( MoFEM::Interface & m_field,
boost::shared_ptr< moab::Core > core_mesh_ptr,
std::string opts_prefix = "" )
inline

Definition at line 914 of file PostProcBrokenMeshInMoabBase.hpp.

917 : 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::PostProcBrokenMeshInMoabBaseEndImpl< E >::getFEMethod ( )
inline

Definition at line 932 of file PostProcBrokenMeshInMoabBase.hpp.

932{ return this; }

◆ operator()()

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

Definition at line 920 of file PostProcBrokenMeshInMoabBase.hpp.

920{ return 0; }

◆ postProcess()

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

Definition at line 921 of file PostProcBrokenMeshInMoabBase.hpp.

921 {
923 ParallelComm *pcomm_post_proc_mesh =
924 ParallelComm::get_pcomm(&this->getPostProcMesh(), MYPCOMM_INDEX);
925 if (pcomm_post_proc_mesh == nullptr)
926 SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY,
927 "PComm not allocated");
928 CHKERR pcomm_post_proc_mesh->resolve_shared_ents(0);
930 }
#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 ...
@ MOFEM_DATA_INCONSISTENCY
Definition definitions.h:31
#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.

◆ preProcess()

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

Definition at line 919 of file PostProcBrokenMeshInMoabBase.hpp.

919{ return 0; }

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