v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
OpVolumeSide Struct Reference
Inheritance diagram for OpVolumeSide:
[legend]
Collaboration diagram for OpVolumeSide:
[legend]

Public Member Functions

 OpVolumeSide (const std::string &field_name)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 

Detailed Description

Examples
hello_world.cpp.

Definition at line 113 of file hello_world.cpp.

Constructor & Destructor Documentation

◆ OpVolumeSide()

OpVolumeSide::OpVolumeSide ( const std::string &  field_name)
inline

Definition at line 115 of file hello_world.cpp.

116 : VolumeElementForcesAndSourcesCoreOnSide::UserDataOperator(
117 field_name, field_name, OPROW) {}
constexpr auto field_name

Member Function Documentation

◆ doWork()

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

Definition at line 118 of file hello_world.cpp.

119 {
121 if (type == MBVERTEX) {
122 MOFEM_LOG("SYNC", Sev::inform)
123 << "Hello Operator OpVolumeSide:"
124 << " volume " << getVolume() << " normal " << getNormal();
125 }
127 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define MOFEM_LOG(channel, severity)
Log.
Definition: LogManager.hpp:308
#define HelloFunctionBegin
Definition: hello_world.cpp:16

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