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

#include "users_modules/eshelbian_plasticity/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
 
bool evalRhs = false
 
bool evalLhs = false
 
boost::shared_ptr< DataAtIntegrationPtsdataAtPts
 data at integration pts
 
boost::shared_ptr< PhysicalEquations > physicsPtr
 material physical equations
 

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) {}
ForcesAndSourcesCore::UserDataOperator UserDataOperator
@ NOSPACE
Definition definitions.h:83
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
int tAg
adol-c tape

◆ 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 904 of file EshelbianPlasticity.cpp.

904 {
906
907 if (evalRhs)
908 CHKERR evaluateRhs(data);
909
910 if (evalLhs)
911 CHKERR evaluateLhs(data);
912
914}
#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()
#define CHKERR
Inline error check.
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0

◆ 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: