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

Public Member Functions

 CallingOp (const char type)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 
MoFEMErrorCode doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data)
 

Detailed Description

Constructor & Destructor Documentation

◆ CallingOp()

CallingOp::CallingOp ( const char type)
inline

Definition at line 90 of file forces_and_sources_testing_contact_prism_element.cpp.

91 : ForcesAndSourcesCore::UserDataOperator("FIELD1", "FIELD1", type) {}

Member Function Documentation

◆ doWork() [1/2]

MoFEMErrorCode CallingOp::doWork ( int row_side,
int col_side,
EntityType row_type,
EntityType col_type,
EntitiesFieldData::EntData & row_data,
EntitiesFieldData::EntData & col_data )
inline

Definition at line 108 of file forces_and_sources_testing_contact_prism_element.cpp.

111 {
113
114 if (row_data.getFieldData().empty())
116
117 MOFEM_LOG("ATOM_TEST", Sev::inform) << "Calling Operator NH1NH1";
118 MOFEM_LOG("ATOM_TEST", Sev::inform)
119 << "row side: " << row_side << " row_type: " << row_type;
120 MOFEM_LOG("ATOM_TEST", Sev::inform) << row_data;
121 MOFEM_LOG("ATOM_TEST", Sev::inform) << "NH1NH1";
122 MOFEM_LOG("ATOM_TEST", Sev::inform)
123 << "col side: " << col_side << " col_type: " << col_type;
124 MOFEM_LOG("ATOM_TEST", Sev::inform) << col_data;
125
127 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MOFEM_LOG(channel, severity)
Log.
const VectorDouble & getFieldData() const
get dofs values

◆ doWork() [2/2]

MoFEMErrorCode CallingOp::doWork ( int side,
EntityType type,
EntitiesFieldData::EntData & data )
inline

Definition at line 93 of file forces_and_sources_testing_contact_prism_element.cpp.

94 {
96
97 if (data.getFieldData().empty())
99
100 MOFEM_LOG("ATOM_TEST", Sev::inform) << "Calling Operator NH1";
101 MOFEM_LOG("ATOM_TEST", Sev::inform)
102 << "side: " << side << " type: " << type;
103 MOFEM_LOG("ATOM_TEST", Sev::inform) << data;
104
106 }

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