v0.9.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 626 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 635 of file EshelbianPlasticity.hpp.

639  : UserDataOperator(field_name, OPROW), tAg(tag), evalRhs(eval_rhs),
640  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)
35 
36  if (evalRhs)
37  CHKERR evaluateRhs(data);
38 
39  if (evalLhs)
40  CHKERR evaluateLhs(data);
41 
43 }
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:477
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:508
virtual MoFEMErrorCode evaluateLhs(EntData &data)=0
virtual MoFEMErrorCode evaluateRhs(EntData &data)=0
#define CHKERR
Inline error check.
Definition: definitions.h:596
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:407

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

◆ evalLhs

const bool EshelbianPlasticity::OpJacobian::evalLhs

Definition at line 629 of file EshelbianPlasticity.hpp.

◆ evalRhs

const bool EshelbianPlasticity::OpJacobian::evalRhs

Definition at line 628 of file EshelbianPlasticity.hpp.

◆ physicsPtr

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

material physical equations

Definition at line 633 of file EshelbianPlasticity.hpp.

◆ tAg

const int EshelbianPlasticity::OpJacobian::tAg

adol-c tape

Definition at line 627 of file EshelbianPlasticity.hpp.


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