v0.10.0
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:
[legend]
Collaboration diagram for EshelbianPlasticity::OpJacobian:
[legend]

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 576 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 585 of file EshelbianPlasticity.hpp.

589  : UserDataOperator(field_name, OPROW), tAg(tag), evalRhs(eval_rhs),
590  evalLhs(eval_lhs), dataAtPts(data_ptr), physicsPtr(physics_ptr) {}

Member Function Documentation

◆ doWork()

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

Definition at line 31 of file EshelbianPlasticity.cpp.

31  {
33  if (type != MBVERTEX)
35 
36  if (evalRhs)
37  CHKERR evaluateRhs(data);
38 
39  if (evalLhs)
40  CHKERR evaluateLhs(data);
41 
43 }

◆ evaluateLhs()

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

Implemented in EshelbianPlasticity::OpHMHH.

◆ evaluateRhs()

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

Implemented in EshelbianPlasticity::OpHMHH.

Member Data Documentation

◆ dataAtPts

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

data at integration pts

Definition at line 581 of file EshelbianPlasticity.hpp.

◆ evalLhs

const bool EshelbianPlasticity::OpJacobian::evalLhs

Definition at line 579 of file EshelbianPlasticity.hpp.

◆ evalRhs

const bool EshelbianPlasticity::OpJacobian::evalRhs

Definition at line 578 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 583 of file EshelbianPlasticity.hpp.

◆ tAg

const int EshelbianPlasticity::OpJacobian::tAg

adol-c tape

Definition at line 577 of file EshelbianPlasticity.hpp.


The documentation for this struct was generated from the following files:
MoFEMFunctionReturnHot
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
EshelbianPlasticity::OpJacobian::evalRhs
const bool evalRhs
Definition: EshelbianPlasticity.hpp:578
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:604
convert.type
type
Definition: convert.py:66
EshelbianPlasticity::OpJacobian::evaluateLhs
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::evaluateRhs
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
EshelbianPlasticity::OpJacobian::physicsPtr
boost::shared_ptr< PhysicalEquations > physicsPtr
material physical equations
Definition: EshelbianPlasticity.hpp:583
EshelbianPlasticity::OpJacobian::dataAtPts
boost::shared_ptr< DataAtIntegrationPts > dataAtPts
data at integration pts
Definition: EshelbianPlasticity.hpp:581
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:485
EshelbianPlasticity::UserDataOperator
ForcesAndSourcesCore::UserDataOperator UserDataOperator
Definition: EshelbianPlasticity.hpp:34
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:415
EshelbianPlasticity::OpJacobian::tAg
const int tAg
adol-c tape
Definition: EshelbianPlasticity.hpp:577
EshelbianPlasticity::OpJacobian::evalLhs
const bool evalLhs
Definition: EshelbianPlasticity.hpp:579