v0.15.0
Loading...
Searching...
No Matches
OpFaceSide Struct Reference
Inheritance diagram for OpFaceSide:
[legend]
Collaboration diagram for OpFaceSide:
[legend]

Public Member Functions

 OpFaceSide (const std::string &field_name, boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > &fe_side_ptr)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 

Public Attributes

boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & feSidePtr
 

Detailed Description

Constructor & Destructor Documentation

◆ OpFaceSide()

OpFaceSide::OpFaceSide ( const std::string & field_name,
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & fe_side_ptr )
inline
Examples
hello_world.cpp.

Definition at line 96 of file hello_world.cpp.

99 : FaceElementForcesAndSourcesCore::UserDataOperator(field_name, OPROW),
100 feSidePtr(fe_side_ptr) {}
constexpr auto field_name
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & feSidePtr

Member Function Documentation

◆ doWork()

MoFEMErrorCode OpFaceSide::doWork ( int side,
EntityType type,
EntitiesFieldData::EntData & data )
inline
Examples
hello_world.cpp.

Definition at line 101 of file hello_world.cpp.

102 {
103
105 if (type == MBVERTEX) {
106 MOFEM_LOG("SYNC", Sev::inform) << "Hello Operator OpSideFace";
107 CHKERR loopSideVolumes("dFE", *feSidePtr);
108 }
110 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
#define MOFEM_LOG(channel, severity)
Log.
#define HelloFunctionBegin

Member Data Documentation

◆ feSidePtr

boost::shared_ptr<VolumeElementForcesAndSourcesCoreOnSide>& OpFaceSide::feSidePtr
Examples
hello_world.cpp.

Definition at line 95 of file hello_world.cpp.


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