v0.13.1
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
FractureMechanics::GriffithForceElement Struct Reference

Implementation of Griffith element. More...

#include <users_modules/fracture_mechanics/src/GriffithForceElement.hpp>

Collaboration diagram for FractureMechanics::GriffithForceElement:
[legend]

Classes

struct  AuxFunctions
 
struct  AuxOp
 
struct  BlockData
 
struct  CommonData
 
struct  FrontArcLengthControl
 arc-length element More...
 
struct  MyTriangleFE
 
struct  MyTriangleFEConstrains
 
struct  MyTriangleFEConstrainsDelta
 
struct  OpCalculateGriffithForce
 calculate griffith force vector More...
 
struct  OpCalculateRhoAtCrackFrontUsingPrecalulatedCoeffs
 Calculate density at the crack fron nodes and multiplity gc. More...
 
struct  OpConstrainsDelta
 
struct  OpConstrainsLhs
 
struct  OpConstrainsRhs
 
struct  OpHeterogeneousGcLhs
 
struct  OpLhs
 
struct  OpRhs
 
struct  SaveGriffithForceOnTags
 

Public Member Functions

MyTriangleFEgetLoopFeRhs ()
 
MyTriangleFEgetLoopFeLhs ()
 
 GriffithForceElement (MoFEM::Interface &m_field)
 

Static Public Member Functions

static MoFEMErrorCode getElementOptions (BlockData &block_data)
 

Public Attributes

MoFEM::InterfacemField
 
boost::shared_ptr< MyTriangleFEfeRhsPtr
 
boost::shared_ptr< MyTriangleFEfeLhsPtr
 
MyTriangleFEfeRhs
 
MyTriangleFEfeLhs
 
CommonData commonData
 Common data sgared between operators. More...
 
map< int, BlockDatablockData
 Shared data between finite elements. More...
 

Detailed Description

Implementation of Griffith element.

Definition at line 35 of file GriffithForceElement.hpp.

Constructor & Destructor Documentation

◆ GriffithForceElement()

FractureMechanics::GriffithForceElement::GriffithForceElement ( MoFEM::Interface m_field)

Definition at line 59 of file GriffithForceElement.hpp.

60 : mField(m_field), feRhsPtr(new MyTriangleFE(m_field)),
61 feLhsPtr(new MyTriangleFE(m_field)), feRhs(*feRhsPtr),
62 feLhs(*feLhsPtr) {}
boost::shared_ptr< MyTriangleFE > feRhsPtr
boost::shared_ptr< MyTriangleFE > feLhsPtr

Member Function Documentation

◆ getElementOptions()

static MoFEMErrorCode FractureMechanics::GriffithForceElement::getElementOptions ( BlockData block_data)
static

Definition at line 83 of file GriffithForceElement.hpp.

83 {
85
86 MOFEM_LOG_CHANNEL("WORLD");
88 MOFEM_LOG_TAG("WORLD", "Griffith");
89
90 ierr = PetscOptionsBegin(PETSC_COMM_WORLD, "",
91 "Get Griffith element options", "none");
92 CHKERRQ(ierr);
93 CHKERR PetscOptionsScalar("-griffith_gc", "release energy", "",
94 block_data.gc, &block_data.gc, PETSC_NULL);
95 CHKERR PetscOptionsScalar("-griffith_r", "release energy", "", block_data.r,
96 &block_data.r, PETSC_NULL);
97 CHKERR PetscOptionsScalar("-griffith_E", "stiffness", "", block_data.E,
98 &block_data.E, PETSC_NULL);
99 ierr = PetscOptionsEnd();
100 CHKERRQ(ierr);
101
102 MOFEM_LOG_C("WORLD", Sev::inform, "### Input parameter: -griffith_E %6.4e",
103 block_data.E);
104 MOFEM_LOG_C("WORLD", Sev::inform, "### Input parameter: -griffith_r %6.4e",
105 block_data.r);
106
108 }
#define MOFEM_LOG_C(channel, severity, format,...)
Definition: LogManager.hpp:304
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:346
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:416
#define CHKERR
Inline error check.
Definition: definitions.h:535
#define MOFEM_LOG_TAG(channel, tag)
Tag channel.
Definition: LogManager.hpp:332
#define MOFEM_LOG_CHANNEL(channel)
Set and reset channel.
Definition: LogManager.hpp:277
#define MOFEM_LOG_FUNCTION()
Set scope.
Definition: LogManager.hpp:318
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Exceptions.hpp:76

◆ getLoopFeLhs()

MyTriangleFE & FractureMechanics::GriffithForceElement::getLoopFeLhs ( )

Definition at line 57 of file GriffithForceElement.hpp.

57{ return feLhs; }

◆ getLoopFeRhs()

MyTriangleFE & FractureMechanics::GriffithForceElement::getLoopFeRhs ( )

Definition at line 55 of file GriffithForceElement.hpp.

55{ return feRhs; }

Member Data Documentation

◆ blockData

map<int, BlockData> FractureMechanics::GriffithForceElement::blockData

Shared data between finite elements.

Definition at line 81 of file GriffithForceElement.hpp.

◆ commonData

CommonData FractureMechanics::GriffithForceElement::commonData

Common data sgared between operators.

Definition at line 72 of file GriffithForceElement.hpp.

◆ feLhs

MyTriangleFE& FractureMechanics::GriffithForceElement::feLhs

Definition at line 56 of file GriffithForceElement.hpp.

◆ feLhsPtr

boost::shared_ptr<MyTriangleFE> FractureMechanics::GriffithForceElement::feLhsPtr

Definition at line 52 of file GriffithForceElement.hpp.

◆ feRhs

MyTriangleFE& FractureMechanics::GriffithForceElement::feRhs

Definition at line 54 of file GriffithForceElement.hpp.

◆ feRhsPtr

boost::shared_ptr<MyTriangleFE> FractureMechanics::GriffithForceElement::feRhsPtr

Definition at line 51 of file GriffithForceElement.hpp.

◆ mField

MoFEM::Interface& FractureMechanics::GriffithForceElement::mField

Definition at line 37 of file GriffithForceElement.hpp.


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