v0.15.0
Loading...
Searching...
No Matches
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 1244 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 1246 of file ContactOps.hpp.

1249 {
1251 auto side_fe_entity = OpMixLhs::getSidePtrFE()->getFEEntityHandle();
1252 auto side_fe_data = OpMixLhs::getSideEntity(row_side, row_type);
1253 // Only assemble side which correspond to edge entity on boundary
1254 if (side_fe_entity == side_fe_data) {
1255 CHKERR OpMixLhs::doWork(row_side, col_side, row_type, col_type, row_data,
1256 col_data);
1257 }
1259 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.

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