v0.14.0
Public Member Functions | List of all members
ContactOps::OpMixLhsSide< OpMixLhs > Struct Template Reference

#include <tutorials/adv-1/src/ContactOps.hpp>

Inheritance diagram for ContactOps::OpMixLhsSide< OpMixLhs >:
[legend]
Collaboration diagram for ContactOps::OpMixLhsSide< OpMixLhs >:
[legend]

Public Member Functions

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

Detailed Description

template<typename OpMixLhs>
struct ContactOps::OpMixLhsSide< OpMixLhs >

Definition at line 1246 of file ContactOps.hpp.

Member Function Documentation

◆ doWork()

template<typename OpMixLhs >
MoFEMErrorCode ContactOps::OpMixLhsSide< OpMixLhs >::doWork ( int  row_side,
int  col_side,
EntityType  row_type,
EntityType  col_type,
EntitiesFieldData::EntData row_data,
EntitiesFieldData::EntData col_data 
)
inline
Examples
ContactOps.hpp.

Definition at line 1248 of file ContactOps.hpp.

1251  {
1253  auto side_fe_entity = OpMixLhs::getSidePtrFE()->getFEEntityHandle();
1254  auto side_fe_data = OpMixLhs::getSideEntity(row_side, row_type);
1255  // Only assemble side which correspond to edge entity on boundary
1256  if (side_fe_entity == side_fe_data) {
1257  CHKERR OpMixLhs::doWork(row_side, col_side, row_type, col_type, row_data,
1258  col_data);
1259  }
1261  }

The documentation for this struct was generated from the following file:
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359