v0.14.0
Classes | Public Member Functions | Public Attributes | List of all members
SmallStrainPlasticity Struct Reference

Small strain finite element implementation. More...

#include <users_modules/small_strain_plasticity/src/SmallStrainPlasticity.hpp>

Collaboration diagram for SmallStrainPlasticity:
[legend]

Classes

struct  ClosestPointProjection
 Closest point projection algorithm. More...
 
struct  CommonData
 common data used by volume elements More...
 
struct  MakeB
 
struct  MyVolumeFE
 definition of volume element More...
 
struct  OpAssembleLhs
 
struct  OpAssembleRhs
 
struct  OpCalculateStress
 
struct  OpGetCommonDataAtGaussPts
 
struct  OpGetDataAtGaussPts
 
struct  OpUpdate
 

Public Member Functions

 SmallStrainPlasticity (MoFEM::Interface &m_field)
 
PetscErrorCode createInternalVariablesTag ()
 

Public Attributes

MoFEM::InterfacemField
 
Tag thPlasticStrain
 
Tag thInternalVariables
 
MyVolumeFE feRhs
 calculate right hand side for tetrahedral elements More...
 
MyVolumeFE feLhs
 
MyVolumeFE feUpdate
 
CommonData commonData
 

Detailed Description

Small strain finite element implementation.

Examples
SmallStrainPlasticity.hpp, and SmallStrainPlasticityMaterialModels.hpp.

Definition at line 320 of file SmallStrainPlasticity.hpp.

Constructor & Destructor Documentation

◆ SmallStrainPlasticity()

SmallStrainPlasticity::SmallStrainPlasticity ( MoFEM::Interface m_field)
inline
Examples
SmallStrainPlasticity.hpp.

Definition at line 364 of file SmallStrainPlasticity.hpp.

364  :
365  mField(m_field),
366  feRhs(m_field),
367  feLhs(m_field),
368  feUpdate(m_field) {
369  }

Member Function Documentation

◆ createInternalVariablesTag()

PetscErrorCode SmallStrainPlasticity::createInternalVariablesTag ( )
Examples
SmallStrainPlasticity.hpp.

Definition at line 34 of file SmallStrainPlasticity.cpp.

34  {
35  PetscFunctionBegin;
36  int def_length = 0;
37  rval = mField.get_moab().tag_get_handle(
38  "PLASTIC_STRAIN",def_length,MB_TYPE_DOUBLE,
39  thPlasticStrain,MB_TAG_CREAT|MB_TAG_SPARSE|MB_TAG_VARLEN,NULL
40  ); CHKERRQ_MOAB(rval);
41  rval = mField.get_moab().tag_get_handle(
42  "INTERNAL_VARIABLES",def_length,MB_TYPE_DOUBLE,
43  thInternalVariables,MB_TAG_CREAT|MB_TAG_SPARSE|MB_TAG_VARLEN,NULL
44  ); CHKERRQ_MOAB(rval);
45  PetscFunctionReturn(0);
46 }

Member Data Documentation

◆ commonData

CommonData SmallStrainPlasticity::commonData
Examples
SmallStrainPlasticity.hpp.

Definition at line 394 of file SmallStrainPlasticity.hpp.

◆ feLhs

MyVolumeFE SmallStrainPlasticity::feLhs
Examples
SmallStrainPlasticity.hpp.

Definition at line 361 of file SmallStrainPlasticity.hpp.

◆ feRhs

MyVolumeFE SmallStrainPlasticity::feRhs

calculate right hand side for tetrahedral elements

Examples
SmallStrainPlasticity.hpp.

Definition at line 360 of file SmallStrainPlasticity.hpp.

◆ feUpdate

MyVolumeFE SmallStrainPlasticity::feUpdate
Examples
SmallStrainPlasticity.hpp.

Definition at line 362 of file SmallStrainPlasticity.hpp.

◆ mField

MoFEM::Interface& SmallStrainPlasticity::mField
Examples
SmallStrainPlasticity.hpp.

Definition at line 325 of file SmallStrainPlasticity.hpp.

◆ thInternalVariables

Tag SmallStrainPlasticity::thInternalVariables
Examples
SmallStrainPlasticity.hpp.

Definition at line 328 of file SmallStrainPlasticity.hpp.

◆ thPlasticStrain

Tag SmallStrainPlasticity::thPlasticStrain
Examples
SmallStrainPlasticity.hpp.

Definition at line 327 of file SmallStrainPlasticity.hpp.


The documentation for this struct was generated from the following files:
SmallStrainPlasticity::feUpdate
MyVolumeFE feUpdate
Definition: SmallStrainPlasticity.hpp:362
CHKERRQ_MOAB
#define CHKERRQ_MOAB(a)
check error code of MoAB function
Definition: definitions.h:454
MoFEM::Exceptions::rval
static MoFEMErrorCodeGeneric< moab::ErrorCode > rval
Definition: Exceptions.hpp:74
MoFEM::CoreInterface::get_moab
virtual moab::Interface & get_moab()=0
SmallStrainPlasticity::feLhs
MyVolumeFE feLhs
Definition: SmallStrainPlasticity.hpp:361
SmallStrainPlasticity::thPlasticStrain
Tag thPlasticStrain
Definition: SmallStrainPlasticity.hpp:327
SmallStrainPlasticity::mField
MoFEM::Interface & mField
Definition: SmallStrainPlasticity.hpp:325
SmallStrainPlasticity::thInternalVariables
Tag thInternalVariables
Definition: SmallStrainPlasticity.hpp:328
SmallStrainPlasticity::feRhs
MyVolumeFE feRhs
calculate right hand side for tetrahedral elements
Definition: SmallStrainPlasticity.hpp:360