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

#include <users_modules/eshelbian_plasticit/src/EshelbianOperators.hpp>

Inheritance diagram for OpJacobian:
[legend]
Collaboration diagram for 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< PhysicalEquations > physicsPtr
 material physical equations More...
 

Detailed Description

Definition at line 14 of file EshelbianOperators.hpp.

Constructor & Destructor Documentation

◆ OpJacobian() [1/2]

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 16 of file EshelbianOperators.hpp.

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

◆ OpJacobian() [2/2]

OpJacobian::OpJacobian ( )
inlineprotected

Definition at line 28 of file EshelbianOperators.hpp.

28 : UserDataOperator(NOSPACE, OPSPACE) {};

Member Function Documentation

◆ doWork()

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

Definition at line 865 of file EshelbianPlasticity.cpp.

865  {
867 
868  if (evalRhs)
869  CHKERR evaluateRhs(data);
870 
871  if (evalLhs)
872  CHKERR evaluateLhs(data);
873 
875 }

◆ evaluateLhs()

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

◆ evaluateRhs()

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

Member Data Documentation

◆ dataAtPts

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

data at integration pts

Definition at line 35 of file EshelbianOperators.hpp.

◆ evalLhs

bool OpJacobian::evalLhs = false
protected

Definition at line 32 of file EshelbianOperators.hpp.

◆ evalRhs

bool OpJacobian::evalRhs = false
protected

Definition at line 31 of file EshelbianOperators.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 37 of file EshelbianOperators.hpp.

◆ tAg

int OpJacobian::tAg = -1
protected

adol-c tape

Definition at line 30 of file EshelbianOperators.hpp.


The documentation for this struct was generated from the following files:
NOSPACE
@ NOSPACE
Definition: definitions.h:83
OpJacobian::evalLhs
bool evalLhs
Definition: EshelbianOperators.hpp:32
OpJacobian::evalRhs
bool evalRhs
Definition: EshelbianOperators.hpp:31
OpJacobian::evaluateLhs
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
OpJacobian::tAg
int tAg
adol-c tape
Definition: EshelbianOperators.hpp:30
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:548
OpJacobian::dataAtPts
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
Definition: EshelbianOperators.hpp:35
OpJacobian::physicsPtr
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
Definition: EshelbianOperators.hpp:37
UserDataOperator
ForcesAndSourcesCore::UserDataOperator UserDataOperator
Definition: HookeElement.hpp:75
OpJacobian::evaluateRhs
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
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