v0.14.0
Public Member Functions | Public Attributes | List of all members
SimpleContactProblem::OpLoopForSideOfContactPrism Struct Reference

Trigers operators for side volume element on slave side for evaluation of the RHS contact traction in the material configuration on either slave or master surface. More...

#include <users_modules/mortar_contact/src/SimpleContact.hpp>

Inheritance diagram for SimpleContactProblem::OpLoopForSideOfContactPrism:
[legend]
Collaboration diagram for SimpleContactProblem::OpLoopForSideOfContactPrism:
[legend]

Public Member Functions

 OpLoopForSideOfContactPrism (const string field_name, boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnContactPrismSide > side_fe, const string &side_fe_name, const ContactOp::FaceType face_type)
 Operator that trigers the pipeline to loop over the side volume element operators that is adjacent to the slave side. More...
 
MoFEMErrorCode doWork (int side, EntityType type, EntData &data)
 

Public Attributes

boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnContactPrismSide > sideFe
 
string sideFeName
 
const ContactOp::FaceType faceType
 

Detailed Description

Trigers operators for side volume element on slave side for evaluation of the RHS contact traction in the material configuration on either slave or master surface.

Definition at line 2487 of file SimpleContact.hpp.

Constructor & Destructor Documentation

◆ OpLoopForSideOfContactPrism()

SimpleContactProblem::OpLoopForSideOfContactPrism::OpLoopForSideOfContactPrism ( const string  field_name,
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnContactPrismSide >  side_fe,
const string &  side_fe_name,
const ContactOp::FaceType  face_type 
)
inline

Operator that trigers the pipeline to loop over the side volume element operators that is adjacent to the slave side.

Definition at line 2498 of file SimpleContact.hpp.

2504  sideFe(side_fe), sideFeName(side_fe_name), faceType(face_type) {}

Member Function Documentation

◆ doWork()

MoFEMErrorCode SimpleContactProblem::OpLoopForSideOfContactPrism::doWork ( int  side,
EntityType  type,
EntData data 
)

Definition at line 3121 of file SimpleContact.cpp.

3122  {
3124 
3125  if (type != MBTRI)
3127 
3128  int side_number;
3129  if (faceType == ContactOp::FACEMASTER)
3130  side_number = 3;
3131  else
3132  side_number = 4;
3133 
3134  const EntityHandle tri = getSideEntity(side_number, type);
3135 
3136  CHKERR loopSideVolumes(sideFeName, *sideFe, 3, tri);
3137 
3139 }

Member Data Documentation

◆ faceType

const ContactOp::FaceType SimpleContactProblem::OpLoopForSideOfContactPrism::faceType

Definition at line 2492 of file SimpleContact.hpp.

◆ sideFe

boost::shared_ptr<VolumeElementForcesAndSourcesCoreOnContactPrismSide> SimpleContactProblem::OpLoopForSideOfContactPrism::sideFe

Definition at line 2490 of file SimpleContact.hpp.

◆ sideFeName

string SimpleContactProblem::OpLoopForSideOfContactPrism::sideFeName

Definition at line 2491 of file SimpleContact.hpp.


The documentation for this struct was generated from the following files:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:460
EntityHandle
SimpleContactProblem::OpLoopForSideOfContactPrism::sideFeName
string sideFeName
Definition: SimpleContact.hpp:2491
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
convert.type
type
Definition: convert.py:64
MoFEM::ForcesAndSourcesCore::UserDataOperator::OPCOL
@ OPCOL
operator doWork function is executed on FE columns
Definition: ForcesAndSourcesCore.hpp:568
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
SimpleContactProblem::ContactOp
ContactPrismElementForcesAndSourcesCore::UserDataOperator ContactOp
Definition: SimpleContact.hpp:30
SimpleContactProblem::OpLoopForSideOfContactPrism::faceType
const ContactOp::FaceType faceType
Definition: SimpleContact.hpp:2492
SimpleContactProblem::OpLoopForSideOfContactPrism::sideFe
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnContactPrismSide > sideFe
Definition: SimpleContact.hpp:2490
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