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

#include <users_modules/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 1123 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 1125 of file ContactOps.hpp.

1128  {
1130  auto side_fe_entity = OpMixLhs::getSidePtrFE()->getFEEntityHandle();
1131  auto side_fe_data = OpMixLhs::getSideEntity(row_side, row_type);
1132  // Only assemble side which correspond to edge entity on boundary
1133  if (side_fe_entity == side_fe_data) {
1134  CHKERR OpMixLhs::doWork(row_side, col_side, row_type, col_type, row_data,
1135  col_data);
1136  }
1138  }

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