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 380 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 382 of file EshelbianPlasticity.hpp.

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

◆ OpJacobian() [2/2]

EshelbianPlasticity::OpJacobian::OpJacobian ( )
inlineprotected

Definition at line 394 of file EshelbianPlasticity.hpp.

394 : UserDataOperator(NOSPACE, OPSPACE) {};

Member Function Documentation

◆ doWork()

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

Definition at line 359 of file EshelbianPlasticity.cpp.

359  {
361 
362  if (evalRhs)
363  CHKERR evaluateRhs(data);
364 
365  if (evalLhs)
366  CHKERR evaluateLhs(data);
367 
369 }

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

◆ evalLhs

bool EshelbianPlasticity::OpJacobian::evalLhs = false
protected

Definition at line 398 of file EshelbianPlasticity.hpp.

◆ evalRhs

bool EshelbianPlasticity::OpJacobian::evalRhs = false
protected

Definition at line 397 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 403 of file EshelbianPlasticity.hpp.

◆ tAg

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

adol-c tape

Definition at line 396 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:50
EshelbianPlasticity::OpJacobian::physicsPtr
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
Definition: EshelbianPlasticity.hpp:403
EshelbianPlasticity::OpJacobian::evaluateLhs
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::tAg
int tAg
adol-c tape
Definition: EshelbianPlasticity.hpp:396
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
EshelbianPlasticity::OpJacobian::evaluateRhs
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::evalRhs
bool evalRhs
Definition: EshelbianPlasticity.hpp:397
EshelbianPlasticity::OpJacobian::dataAtPts
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
Definition: EshelbianPlasticity.hpp:401
EshelbianPlasticity::OpJacobian::evalLhs
bool evalLhs
Definition: EshelbianPlasticity.hpp:398
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359