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

Inherits UserDataOperator.

Public Member Functions

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

Public Attributes

boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & feSidePtr

Detailed Description

continuity_check_on_skeleton_with_simple_2d.cpp, and hello_world.cpp.

Definition at line 104 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 106 of file hello_world.cpp.

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

Member Function Documentation

◆ doWork()

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

Definition at line 111 of file hello_world.cpp.

112  {
115  if (type == MBVERTEX) {
116  std::cout << "Hello Operator OpSideFace" << endl;
117  CHKERR loopSideVolumes("dFE", *feSidePtr);
118  }
120  }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define CHKERR
Inline error check.
Definition: definitions.h:596
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnSide > & feSidePtr
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

Member Data Documentation

◆ feSidePtr

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

Definition at line 105 of file hello_world.cpp.

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