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 611 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 620 of file EshelbianPlasticity.hpp.

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

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)
36  if (evalRhs)
37  CHKERR evaluateRhs(data);
39  if (evalLhs)
40  CHKERR evaluateLhs(data);
43 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:485
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:516
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
#define CHKERR
Inline error check.
Definition: definitions.h:604
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:415

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

◆ evalLhs

const bool EshelbianPlasticity::OpJacobian::evalLhs

Definition at line 614 of file EshelbianPlasticity.hpp.

◆ evalRhs

const bool EshelbianPlasticity::OpJacobian::evalRhs

Definition at line 613 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 618 of file EshelbianPlasticity.hpp.

◆ tAg

const int EshelbianPlasticity::OpJacobian::tAg

adol-c tape

Definition at line 612 of file EshelbianPlasticity.hpp.

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