v0.14.0
Loading...
Searching...
No Matches
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)
 
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() [1/2]

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 }
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535

◆ doWork() [2/2]

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

Definition at line 854 of file ContactOps.hpp.

857 {
859 auto side_fe_entity = OpMixLhs::getSidePtrFE()->getFEEntityHandle();
860 auto side_fe_data = OpMixLhs::getSideEntity(row_side, row_type);
861 // Only assemble side which correspond to edge entity on boundary
862 if (side_fe_entity == side_fe_data) {
863 CHKERR OpMixLhs::doWork(row_side, col_side, row_type, col_type, row_data,
864 col_data);
865 }
867 }

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