v0.15.0
Loading...
Searching...
No Matches
EshelbianPlasticity::HMHNeohookean::OpGetScale Struct Reference
Inheritance diagram for EshelbianPlasticity::HMHNeohookean::OpGetScale:
[legend]
Collaboration diagram for EshelbianPlasticity::HMHNeohookean::OpGetScale:
[legend]

Public Member Functions

 OpGetScale (boost::shared_ptr< double > scale_ptr, boost::shared_ptr< PhysicalEquations > physics_ptr)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 

Private Attributes

boost::shared_ptr< doublescalePtr
 
boost::shared_ptr< PhysicalEquationsphysicsPtr
 

Detailed Description

Definition at line 110 of file HMHNeohookean.cpp.

Constructor & Destructor Documentation

◆ OpGetScale()

EshelbianPlasticity::HMHNeohookean::OpGetScale::OpGetScale ( boost::shared_ptr< double > scale_ptr,
boost::shared_ptr< PhysicalEquations > physics_ptr )
inline

Definition at line 111 of file HMHNeohookean.cpp.

114 scalePtr(scale_ptr), physicsPtr(physics_ptr) {}
@ NOSPACE
Definition definitions.h:83
VolumeElementForcesAndSourcesCore::UserDataOperator VolUserDataOperator
boost::shared_ptr< PhysicalEquations > physicsPtr
@ OPSPACE
operator do Work is execute on space data

Member Function Documentation

◆ doWork()

MoFEMErrorCode EshelbianPlasticity::HMHNeohookean::OpGetScale::doWork ( int side,
EntityType type,
EntitiesFieldData::EntData & data )
inline

Definition at line 116 of file HMHNeohookean.cpp.

117 {
119 auto neohookean_ptr =
120 boost::dynamic_pointer_cast<HMHNeohookean>(physicsPtr);
121 *(scalePtr) = neohookean_ptr->eqScaling;
123 }
#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()

Member Data Documentation

◆ physicsPtr

boost::shared_ptr<PhysicalEquations> EshelbianPlasticity::HMHNeohookean::OpGetScale::physicsPtr
private

Definition at line 127 of file HMHNeohookean.cpp.

◆ scalePtr

boost::shared_ptr<double> EshelbianPlasticity::HMHNeohookean::OpGetScale::scalePtr
private

Definition at line 126 of file HMHNeohookean.cpp.


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