Public Member Functions | Public Attributes | List of all members
OpFaceSide Struct Reference

Inherits FaceElementForcesAndSourcesCore::UserDataOperator.

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

continuity_check_on_skeleton_with_simple_2d_for_h1.cpp, continuity_check_on_skeleton_with_simple_2d_for_hcurl.cpp, continuity_check_on_skeleton_with_simple_2d_for_hdiv.cpp, and hello_world.cpp.

Definition at line 110 of file hello_world.cpp.

Constructor & Destructor Documentation

◆ OpFaceSide()

OpFaceSide::OpFaceSide ( const std::string &  field_name,
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > &  fe_side_ptr 

Definition at line 112 of file hello_world.cpp.

116  feSidePtr(fe_side_ptr) {}
ForcesAndSourcesCore::UserDataOperator UserDataOperator
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & feSidePtr

Member Function Documentation

◆ doWork()

MoFEMErrorCode OpFaceSide::doWork ( int  side,
EntityType  type,
EntitiesFieldData::EntData data 

Definition at line 117 of file hello_world.cpp.

118  {
121  if (type == MBVERTEX) {
122  MOFEM_LOG("SYNC", Sev::inform) << "Hello Operator OpSideFace";
123  CHKERR loopSideVolumes("dFE", *feSidePtr);
124  }
126  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
#define CHKERR
Inline error check.
Definition: definitions.h:548
#define MOFEM_LOG(channel, severity)
Definition: LogManager.hpp:311
#define HelloFunctionBegin
Definition: hello_world.cpp:33

Member Data Documentation

◆ feSidePtr

boost::shared_ptr<VolumeElementForcesAndSourcesCoreOnSide>& OpFaceSide::feSidePtr

Definition at line 111 of file hello_world.cpp.

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