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

Public Member Functions

 OpRowCol (const std::string row_field, const std::string col_field, const bool symm)
 
MoFEMErrorCode doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data)
 

Detailed Description

Examples
hello_world.cpp.

Definition at line 42 of file hello_world.cpp.

Constructor & Destructor Documentation

◆ OpRowCol()

OpRowCol::OpRowCol ( const std::string row_field,
const std::string col_field,
const bool symm )
inline
Examples
hello_world.cpp.

Definition at line 43 of file hello_world.cpp.

45 : ForcesAndSourcesCore::UserDataOperator(row_field, col_field, OPROWCOL,
46 symm) {}

Member Function Documentation

◆ doWork()

MoFEMErrorCode OpRowCol::doWork ( int row_side,
int col_side,
EntityType row_type,
EntityType col_type,
EntitiesFieldData::EntData & row_data,
EntitiesFieldData::EntData & col_data )
inline
Examples
hello_world.cpp.

Definition at line 47 of file hello_world.cpp.

50 {
52 MOFEM_LOG("SYNC", Sev::inform)
53 << "Hello Operator OpRowCol:"
54 << " row field name " << rowFieldName << " row side " << row_side
55 << " row type " << CN::EntityTypeName(row_type)
56 << " nb dofs on row entity " << row_data.getIndices().size() << " : "
57 << " col field name " << colFieldName << " col side " << col_side
58 << " col type " << CN::EntityTypeName(col_type)
59 << " nb dofs on col entity " << col_data.getIndices().size();
61 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MOFEM_LOG(channel, severity)
Log.
#define HelloFunctionBegin
const VectorInt & getIndices() const
Get global indices of dofs on entity.

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