v0.13.1
Public Member Functions | Public Attributes | List of all members
PostProcTemplateOnRefineMesh< ELEMENT > Struct Template Reference

Generic post-processing class. More...

#include <users_modules/basic_finite_elements/src/PostProcOnRefMesh.hpp>

Inheritance diagram for PostProcTemplateOnRefineMesh< ELEMENT >:
[legend]
Collaboration diagram for PostProcTemplateOnRefineMesh< ELEMENT >:
[legend]

Public Member Functions

 PostProcTemplateOnRefineMesh (MoFEM::Interface &m_field)
 
virtual ~PostProcTemplateOnRefineMesh ()
 
virtual PostProcCommonOnRefMesh::CommonDatagetCommonData ()
 
MoFEMErrorCode addFieldValuesPostProc (const std::string field_name, Vec v=PETSC_NULL)
 Add operator to post-process L2, H1, Hdiv, Hcurl field value. More...
 
MoFEMErrorCode addFieldValuesPostProc (const std::string field_name, const std::string tag_name, Vec v=PETSC_NULL)
 Add operator to post-process L2 or H1 field value. More...
 
MoFEMErrorCode addFieldValuesGradientPostProc (const std::string field_name, Vec v=PETSC_NULL)
 Add operator to post-process L2 or H1 field gradient. More...
 
MoFEMErrorCode addFieldValuesGradientPostProc (const std::string field_name, const std::string tag_name, Vec v=PETSC_NULL)
 Add operator to post-process L2 or H1 field gradient. More...
 
MoFEMErrorCode addFieldValuesGradientPostProc (const std::string field_name, int space_dim, Vec v=PETSC_NULL)
 Add operator to post-process L2 or H1 field gradient. More...
 
MoFEMErrorCode writeFile (const std::string file_name)
 wrote results in (MOAB) format, use "file_name.h5m" More...
 

Public Attributes

moab::Core coreMesh
 
moab::Interface & postProcMesh
 
boost::shared_ptr< WrapMPIComm > wrapRefMeshComm
 
std::vector< EntityHandle > mapGaussPts
 

Detailed Description

template<class ELEMENT>
struct PostProcTemplateOnRefineMesh< ELEMENT >

Generic post-processing class.

Generate refined mesh and save data on vertices

Definition at line 118 of file PostProcOnRefMesh.hpp.

Constructor & Destructor Documentation

◆ PostProcTemplateOnRefineMesh()

Definition at line 127 of file PostProcOnRefMesh.hpp.

◆ ~PostProcTemplateOnRefineMesh()

template<class ELEMENT >
virtual PostProcTemplateOnRefineMesh< ELEMENT >::~PostProcTemplateOnRefineMesh ( )
virtual

Definition at line 130 of file PostProcOnRefMesh.hpp.

130 {
131 ParallelComm *pcomm_post_proc_mesh =
132 ParallelComm::get_pcomm(&postProcMesh, MYPCOMM_INDEX);
133 if (pcomm_post_proc_mesh != NULL)
134 delete pcomm_post_proc_mesh;
135 }
#define MYPCOMM_INDEX
default communicator number PCOMM
Definition: definitions.h:215

Member Function Documentation

◆ getCommonData()

template<class ELEMENT >
virtual PostProcCommonOnRefMesh::CommonData & PostProcTemplateOnRefineMesh< ELEMENT >::getCommonData ( )
virtual

Member Data Documentation

◆ coreMesh

template<class ELEMENT >
moab::Core PostProcTemplateOnRefineMesh< ELEMENT >::coreMesh

Definition at line 120 of file PostProcOnRefMesh.hpp.

◆ mapGaussPts

template<class ELEMENT >
std::vector<EntityHandle> PostProcTemplateOnRefineMesh< ELEMENT >::mapGaussPts

Definition at line 125 of file PostProcOnRefMesh.hpp.

◆ postProcMesh

template<class ELEMENT >
moab::Interface& PostProcTemplateOnRefineMesh< ELEMENT >::postProcMesh

Definition at line 122 of file PostProcOnRefMesh.hpp.

◆ wrapRefMeshComm

template<class ELEMENT >
boost::shared_ptr<WrapMPIComm> PostProcTemplateOnRefineMesh< ELEMENT >::wrapRefMeshComm

Definition at line 123 of file PostProcOnRefMesh.hpp.


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