No Matches
Public Member Functions | Public Attributes | List of all members
EshelbianPlasticity::OpJacobian Struct Referenceabstract

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

Inheritance diagram for EshelbianPlasticity::OpJacobian:
Collaboration diagram for EshelbianPlasticity::OpJacobian:

Public Member Functions

 OpJacobian (const std::string &field_name, 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)

Public Attributes

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

Detailed Description

Definition at line 571 of file EshelbianPlasticity.hpp.

Constructor & Destructor Documentation

◆ OpJacobian()

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

Definition at line 580 of file EshelbianPlasticity.hpp.

584 : UserDataOperator(field_name, OPROW), tAg(tag), evalRhs(eval_rhs),
585 evalLhs(eval_lhs), dataAtPts(data_ptr), physicsPtr(physics_ptr) {}
ForcesAndSourcesCore::UserDataOperator UserDataOperator
constexpr auto field_name
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts

Member Function Documentation

◆ doWork()

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

Definition at line 26 of file EshelbianPlasticity.cpp.

26 {
28 if (type != MBVERTEX)
31 if (evalRhs)
32 CHKERR evaluateRhs(data);
34 if (evalLhs)
35 CHKERR evaluateLhs(data);
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#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

data at integration pts

Definition at line 576 of file EshelbianPlasticity.hpp.

◆ evalLhs

const bool EshelbianPlasticity::OpJacobian::evalLhs

Definition at line 574 of file EshelbianPlasticity.hpp.

◆ evalRhs

const bool EshelbianPlasticity::OpJacobian::evalRhs

Definition at line 573 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 578 of file EshelbianPlasticity.hpp.

◆ tAg

const int EshelbianPlasticity::OpJacobian::tAg

adol-c tape

Definition at line 572 of file EshelbianPlasticity.hpp.

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