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

#include <users_modules/eshelbian_plasticit/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 325 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 327 of file EshelbianPlasticity.hpp.

330  : UserDataOperator(NOSPACE, OPSPACE), tAg(tag), evalRhs(eval_rhs),
331  evalLhs(eval_lhs), dataAtPts(data_ptr), physicsPtr(physics_ptr) {}

◆ OpJacobian() [2/2]

EshelbianPlasticity::OpJacobian::OpJacobian ( )
inlineprotected

Definition at line 339 of file EshelbianPlasticity.hpp.

339 : UserDataOperator(NOSPACE, OPSPACE){};

Member Function Documentation

◆ doWork()

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

Definition at line 108 of file EshelbianPlasticity.cpp.

108  {
110 
111  if (evalRhs)
112  CHKERR evaluateRhs(data);
113 
114  if (evalLhs)
115  CHKERR evaluateLhs(data);
116 
118 }

◆ 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 346 of file EshelbianPlasticity.hpp.

◆ evalLhs

bool EshelbianPlasticity::OpJacobian::evalLhs = false
protected

Definition at line 343 of file EshelbianPlasticity.hpp.

◆ evalRhs

bool EshelbianPlasticity::OpJacobian::evalRhs = false
protected

Definition at line 342 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 348 of file EshelbianPlasticity.hpp.

◆ tAg

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

adol-c tape

Definition at line 341 of file EshelbianPlasticity.hpp.


The documentation for this struct was generated from the following files:
NOSPACE
@ NOSPACE
Definition: definitions.h:83
EshelbianPlasticity::UserDataOperator
ForcesAndSourcesCore::UserDataOperator UserDataOperator
Definition: EshelbianPlasticity.hpp:27
EshelbianPlasticity::OpJacobian::physicsPtr
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
Definition: EshelbianPlasticity.hpp:348
EshelbianPlasticity::OpJacobian::evaluateLhs
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::tAg
int tAg
adol-c tape
Definition: EshelbianPlasticity.hpp:341
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:535
EshelbianPlasticity::OpJacobian::evaluateRhs
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::evalRhs
bool evalRhs
Definition: EshelbianPlasticity.hpp:342
EshelbianPlasticity::OpJacobian::dataAtPts
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
Definition: EshelbianPlasticity.hpp:346
EshelbianPlasticity::OpJacobian::evalLhs
bool evalLhs
Definition: EshelbianPlasticity.hpp:343
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346