v0.14.0
Loading...
Searching...
No Matches
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.

2503 : ContactOp(field_name, UserDataOperator::OPCOL, face_type),
2504 sideFe(side_fe), sideFeName(side_fe_name), faceType(face_type) {}
constexpr auto field_name
boost::shared_ptr< VolumeElementForcesAndSourcesCoreOnContactPrismSide > sideFe
ContactPrismElementForcesAndSourcesCore::UserDataOperator ContactOp

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}
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#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

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: