v0.15.4
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
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 117 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 118 of file HMHNeohookean.cpp.

121 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 123 of file HMHNeohookean.cpp.

124 {
126 auto neohookean_ptr =
127 boost::dynamic_pointer_cast<HMHNeohookean>(physicsPtr);
128 *(scalePtr) = neohookean_ptr->eqScaling;
130 }
#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 134 of file HMHNeohookean.cpp.

◆ scalePtr

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

Definition at line 133 of file HMHNeohookean.cpp.


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