v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
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. More...
 
MoFEMErrorCode postProcess ()
 
int getRule (int order)
 
virtual int getMaxLevel () const
 Determine refinement level based on fields approx ordre. More...
 
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. 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
 
std::string optionsPrefix = ""
 Prefix for options. More...
 

Detailed Description

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

Definition at line 901 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 904 of file PostProcBrokenMeshInMoabBase.hpp.

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

Member Function Documentation

◆ getFEMethod()

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

Definition at line 922 of file PostProcBrokenMeshInMoabBase.hpp.

922{ return this; }

◆ operator()()

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

Definition at line 910 of file PostProcBrokenMeshInMoabBase.hpp.

910{ return 0; }

◆ postProcess()

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

Definition at line 911 of file PostProcBrokenMeshInMoabBase.hpp.

911 {
913 ParallelComm *pcomm_post_proc_mesh =
914 ParallelComm::get_pcomm(&this->getPostProcMesh(), MYPCOMM_INDEX);
915 if (pcomm_post_proc_mesh == nullptr)
916 SETERRQ(PETSC_COMM_WORLD, MOFEM_DATA_INCONSISTENCY,
917 "PComm not allocated");
918 CHKERR pcomm_post_proc_mesh->resolve_shared_ents(0);
920 }
#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
@ MOFEM_DATA_INCONSISTENCY
Definition: definitions.h:31
#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.

◆ preProcess()

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

Definition at line 909 of file PostProcBrokenMeshInMoabBase.hpp.

909{ return 0; }

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