v0.16.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CohesiveElement::CohesiveInterfaceElement::OpHistory Struct Reference

Operator update history variables. More...

#include "tutorials/cor-12_cohesive_interface/src/CohesiveInterfaceElement.hpp"

Inheritance diagram for CohesiveElement::CohesiveInterfaceElement::OpHistory:
[legend]
Collaboration diagram for CohesiveElement::CohesiveInterfaceElement::OpHistory:
[legend]

Public Member Functions

 OpHistory (const std::string field_name, CommonData &common_data, PhysicalEquation &physical_eqations)
 
MoFEMErrorCode doWork (int side, EntityType type, EntitiesFieldData::EntData &data)
 

Public Attributes

CommonDatacommonData
 
PhysicalEquationphysicalEqations
 

Detailed Description

Operator update history variables.

Definition at line 569 of file CohesiveInterfaceElement.hpp.

Constructor & Destructor Documentation

◆ OpHistory()

CohesiveElement::CohesiveInterfaceElement::OpHistory::OpHistory ( const std::string  field_name,
CommonData common_data,
PhysicalEquation physical_eqations 
)
inline

Definition at line 574 of file CohesiveInterfaceElement.hpp.

576 : FlatPrismElementForcesAndSourcesCore::UserDataOperator(
577 field_name, ForcesAndSourcesCore::UserDataOperator::OPROW),
578 commonData(common_data), physicalEqations(physical_eqations) {}
constexpr auto field_name

Member Function Documentation

◆ doWork()

MoFEMErrorCode CohesiveElement::CohesiveInterfaceElement::OpHistory::doWork ( int  side,
EntityType  type,
EntitiesFieldData::EntData &  data 
)
inline

Definition at line 580 of file CohesiveInterfaceElement.hpp.

581 {
583
584 if (type != MBVERTEX)
586 if (physicalEqations.pRisms.find(
587 getNumeredEntFiniteElementPtr()->getEnt()) ==
588 physicalEqations.pRisms.end()) {
590 }
593 }
std::string type
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
virtual MoFEMErrorCode updateHistory(CommonData &common_data, const FEMethod *fe_method)
Update history variables when converged.

Member Data Documentation

◆ commonData

CommonData& CohesiveElement::CohesiveInterfaceElement::OpHistory::commonData

Definition at line 572 of file CohesiveInterfaceElement.hpp.

◆ physicalEqations

PhysicalEquation& CohesiveElement::CohesiveInterfaceElement::OpHistory::physicalEqations

Definition at line 573 of file CohesiveInterfaceElement.hpp.


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