No Matches
Public Types | Public Member Functions | Protected Attributes | List of all members
EshelbianPlasticity::OpLoopSideGetDataForSideEle Struct Reference

#include <users_modules/eshelbian_plasticty/src/EshelbianContact.hpp>

Inheritance diagram for EshelbianPlasticity::OpLoopSideGetDataForSideEle:
Collaboration diagram for EshelbianPlasticity::OpLoopSideGetDataForSideEle:

Public Types

using UDO = ForcesAndSourcesCore::UserDataOperator

Public Member Functions

 OpLoopSideGetDataForSideEle (const std::string field_name, boost::shared_ptr< EntitiesFieldData::EntData > col_data_ptr)
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)

Protected Attributes

boost::shared_ptr< EntitiesFieldData::EntData > colDataPtr

Detailed Description


Definition at line 90 of file EshelbianContact.hpp.

Member Typedef Documentation


using EshelbianPlasticity::OpLoopSideGetDataForSideEle::UDO = ForcesAndSourcesCore::UserDataOperator

Definition at line 92 of file EshelbianContact.hpp.

Constructor & Destructor Documentation

◆ OpLoopSideGetDataForSideEle()

EshelbianPlasticity::OpLoopSideGetDataForSideEle::OpLoopSideGetDataForSideEle ( const std::string  field_name,
boost::shared_ptr< EntitiesFieldData::EntData >  col_data_ptr 

Definition at line 385 of file EshelbianContact.cpp.

388 : UDO(field_name, UDO::OPCOL), colDataPtr(col_data_ptr) {
389 std::fill(&UDO::doEntities[MBVERTEX], &UDO::doEntities[MBMAXTYPE], false);
390 for (EntityType t = CN::TypeDimensionMap[3].first;
391 t <= CN::TypeDimensionMap[3].second; ++t) {
392 UDO::doEntities[t] = true;
393 }
constexpr double t
plate stiffness
Definition: plate.cpp:59
constexpr auto field_name
ForcesAndSourcesCore::UserDataOperator UDO
boost::shared_ptr< EntitiesFieldData::EntData > colDataPtr

Member Function Documentation

◆ doWork()

MoFEMErrorCode EshelbianPlasticity::OpLoopSideGetDataForSideEle::doWork ( int  side,
EntityType  type,
EntitiesFieldData::EntData &  data 

Definition at line 397 of file EshelbianContact.cpp.

398 {
400 colDataPtr->getFieldEntities() = data.getFieldEntities();
401 colDataPtr->getIndices() = data.getIndices();
402 colDataPtr->getFieldData() = data.getFieldData();
403 colDataPtr->getN() = data.getN();
#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

Member Data Documentation

◆ colDataPtr

boost::shared_ptr<EntitiesFieldData::EntData> EshelbianPlasticity::OpLoopSideGetDataForSideEle::colDataPtr

Definition at line 102 of file EshelbianContact.hpp.

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