v0.14.0
Files | Classes | Functions
ADOL-C plasticity
Collaboration diagram for ADOL-C plasticity:

Files

file  adolc_plasticity.cpp
 
file  ADOLCPlasticity.hpp
 
file  ADOLCPlasticityMaterialModels.hpp
 Matetial models for plasticity.
 
file  ADOLCPlasticity.cpp
 Operators and data structures for ADOL-C plasticity.
 
file  ClosetPointProjection.cpp
 Implementation of nested integration algorithm for plasticity.
 

Classes

struct  ADOLCPlasticity::J2Plasticity< DIM >
 J2 plasticity (Kinematic Isotropic (Linear) Hardening) More...
 

Functions

template<int DIM, AssemblyType A, IntegrationType I, typename DomainEleOp >
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainRhs (MoFEM::Interface &m_field, string field_name, Pip &pip, std::string block_name, boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< ClosestPointProjection > cp_ptr, Sev sev=Sev::inform)
 Assemble the left hand side, i.e. tangent matrix. More...
 
template<int DIM, AssemblyType A, IntegrationType I, typename DomainEleOp >
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainLhs (MoFEM::Interface &m_field, string field_name, Pip &pip, std::string block_name, boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< ClosestPointProjection > cp_ptr)
 Assemble the left hand side, i.e. tangent matrix. More...
 
template<int DIM>
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainUpdate (MoFEM::Interface &m_field, Pip &pip, std::string block_name, boost::shared_ptr< CommonData > common_data_ptr, boost::shared_ptr< ClosestPointProjection > cp_ptr)
 Push operators to update history variables. More...
 

Detailed Description

Function Documentation

◆ opFactoryDomainLhs()

template<int DIM, AssemblyType A, IntegrationType I, typename DomainEleOp >
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainLhs ( MoFEM::Interface m_field,
string  field_name,
Pip pip,
std::string  block_name,
boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< ClosestPointProjection cp_ptr 
)

Assemble the left hand side, i.e. tangent matrix.

Template Parameters
DIMdimension of the problem
Aassembly type
Iintegration type
DomainEleOpoperator type
Parameters
m_field
field_name
pip
block_nameesh block name caring material parameters
common_data_ptr
cp_ptr
Returns
MoFEMErrorCode
Examples
ADOLCPlasticity.hpp.

Definition at line 449 of file ADOLCPlasticity.hpp.

452  {
454  using P = ADOLCPlasticityIntegrators<DomainEleOp>;
455  CHKERR cp_ptr->addMatBlockOps(m_field, pip, block_name, Sev::noisy);
456  pip.push_back(
457  getRawPtrOpCalculateStress<DIM>(m_field, common_data_ptr, cp_ptr, true));
458  pip.push_back(new typename P::template Assembly<A>::template OpLhs<DIM, I>(
459  field_name, common_data_ptr));
461 }

◆ opFactoryDomainRhs()

template<int DIM, AssemblyType A, IntegrationType I, typename DomainEleOp >
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainRhs ( MoFEM::Interface m_field,
string  field_name,
Pip pip,
std::string  block_name,
boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< ClosestPointProjection cp_ptr,
Sev  sev = Sev::inform 
)

Assemble the left hand side, i.e. tangent matrix.

Template Parameters
DIMdimension of the problem
Aassembly type
Iintegration type
DomainEleOpoperator type
Parameters
m_field
field_name
pip
block_nameesh block name caring material parameters
common_data_ptr
cp_ptr
Returns
MoFEMErrorCode
Examples
ADOLCPlasticity.hpp.

Definition at line 418 of file ADOLCPlasticity.hpp.

421  {
423  using P = ADOLCPlasticityIntegrators<DomainEleOp>;
424  CHKERR cp_ptr->addMatBlockOps(m_field, pip, block_name, sev);
425  pip.push_back(
426  getRawPtrOpCalculateStress<DIM>(m_field, common_data_ptr, cp_ptr, false));
427  pip.push_back(new typename P::template Assembly<A>::template OpRhs<DIM, I>(
428  field_name, common_data_ptr));
430 }

◆ opFactoryDomainUpdate()

template<int DIM>
MoFEMErrorCode ADOLCPlasticity::opFactoryDomainUpdate ( MoFEM::Interface m_field,
Pip pip,
std::string  block_name,
boost::shared_ptr< CommonData common_data_ptr,
boost::shared_ptr< ClosestPointProjection cp_ptr 
)

Push operators to update history variables.

Template Parameters
DIMdimension of the problem
Parameters
m_fieldcore interface
pip
block_namemesh block name caring material parameters
common_data_ptr
cp_ptr
Returns
MoFEMErrorCode
Examples
ADOLCPlasticity.hpp.
CHKERR
#define CHKERR
Inline error check.
Definition: definitions.h:535
OpLhs
Definition: approx_sphere.cpp:134
EshelbianPlasticity::P
@ P
Definition: EshelbianContact.cpp:193
field_name
constexpr auto field_name
Definition: poisson_2d_homogeneous.cpp:13
OpRhs
Definition: approx_sphere.cpp:68
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346