v0.14.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
EshelbianPlasticity::OpJacobian Struct Referenceabstract

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

Inheritance diagram for EshelbianPlasticity::OpJacobian:
[legend]
Collaboration diagram for EshelbianPlasticity::OpJacobian:
[legend]

Public Member Functions

 OpJacobian (const int tag, const bool eval_rhs, const bool eval_lhs, boost::shared_ptr< DataAtIntegrationPts > &data_ptr, boost::shared_ptr< PhysicalEquations > &physics_ptr)
 
virtual MoFEMErrorCode evaluateRhs (EntData &data)=0
 
virtual MoFEMErrorCode evaluateLhs (EntData &data)=0
 
MoFEMErrorCode doWork (int side, EntityType type, EntData &data)
 

Protected Member Functions

 OpJacobian ()
 

Protected Attributes

int tAg = -1
 adol-c tape More...
 
bool evalRhs = false
 
bool evalLhs = false
 
boost::shared_ptr< DataAtIntegrationPtsdataAtPts
 data at integration pts More...
 
boost::shared_ptr< PhysicalEquationsphysicsPtr
 material physical equations More...
 

Detailed Description

Definition at line 307 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ OpJacobian() [1/2]

EshelbianPlasticity::OpJacobian::OpJacobian ( const int  tag,
const bool  eval_rhs,
const bool  eval_lhs,
boost::shared_ptr< DataAtIntegrationPts > &  data_ptr,
boost::shared_ptr< PhysicalEquations > &  physics_ptr 
)
inline

Definition at line 309 of file EshelbianPlasticity.hpp.

312 : UserDataOperator(NOSPACE, OPSPACE), tAg(tag), evalRhs(eval_rhs),
313 evalLhs(eval_lhs), dataAtPts(data_ptr), physicsPtr(physics_ptr) {}
@ NOSPACE
Definition: definitions.h:83
ForcesAndSourcesCore::UserDataOperator UserDataOperator
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts

◆ OpJacobian() [2/2]

EshelbianPlasticity::OpJacobian::OpJacobian ( )
inlineprotected

Definition at line 321 of file EshelbianPlasticity.hpp.

321: UserDataOperator(NOSPACE, OPSPACE){};

Member Function Documentation

◆ doWork()

MoFEMErrorCode EshelbianPlasticity::OpJacobian::doWork ( int  side,
EntityType  type,
EntData data 
)
Examples
EshelbianPlasticity.cpp.

Definition at line 79 of file EshelbianPlasticity.cpp.

79 {
81
82 if (evalRhs)
83 CHKERR evaluateRhs(data);
84
85 if (evalLhs)
86 CHKERR evaluateLhs(data);
87
89}
#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
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0

◆ evaluateLhs()

virtual MoFEMErrorCode EshelbianPlasticity::OpJacobian::evaluateLhs ( EntData data)
pure virtual

◆ evaluateRhs()

virtual MoFEMErrorCode EshelbianPlasticity::OpJacobian::evaluateRhs ( EntData data)
pure virtual

Member Data Documentation

◆ dataAtPts

boost::shared_ptr<DataAtIntegrationPts> EshelbianPlasticity::OpJacobian::dataAtPts
protected

data at integration pts

Definition at line 328 of file EshelbianPlasticity.hpp.

◆ evalLhs

bool EshelbianPlasticity::OpJacobian::evalLhs = false
protected
Examples
EshelbianPlasticity.cpp.

Definition at line 325 of file EshelbianPlasticity.hpp.

◆ evalRhs

bool EshelbianPlasticity::OpJacobian::evalRhs = false
protected
Examples
EshelbianPlasticity.cpp.

Definition at line 324 of file EshelbianPlasticity.hpp.

◆ physicsPtr

boost::shared_ptr<PhysicalEquations> EshelbianPlasticity::OpJacobian::physicsPtr
protected

material physical equations

Definition at line 330 of file EshelbianPlasticity.hpp.

◆ tAg

int EshelbianPlasticity::OpJacobian::tAg = -1
protected

adol-c tape

Definition at line 323 of file EshelbianPlasticity.hpp.


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