v0.13.1
Public Member Functions | Public Attributes | List of all members
CohesiveElement::CohesiveInterfaceElement::OpHistory Struct Reference

Operator update history variables. More...

#include <users_modules/basic_finite_elements/cohesive_interface/src/CohesiveInterfaceElement.hpp>

Inherits FlatPrismElementForcesAndSourcesCore::UserDataOperator.

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 545 of file CohesiveInterfaceElement.hpp.

Constructor & Destructor Documentation

◆ OpHistory()

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

Definition at line 549 of file CohesiveInterfaceElement.hpp.

549 :
550 FlatPrismElementForcesAndSourcesCore::UserDataOperator(field_name,ForcesAndSourcesCore::UserDataOperator::OPROW),
551 commonData(common_data),physicalEqations(physical_eqations) {}
ForcesAndSourcesCore::UserDataOperator UserDataOperator
constexpr auto field_name

Member Function Documentation

◆ doWork()

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

Definition at line 553 of file CohesiveInterfaceElement.hpp.

553 {
555
556 if(type != MBVERTEX) MoFEMFunctionReturnHot(0);
557 if(physicalEqations.pRisms.find(getNumeredEntFiniteElementPtr()->getEnt()) == physicalEqations.pRisms.end()) {
559 }
562 }
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:447
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
Definition: definitions.h:483
#define MoFEMFunctionBeginHot
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:440
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Definition: Exceptions.hpp:76
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 547 of file CohesiveInterfaceElement.hpp.

◆ physicalEqations

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

Definition at line 548 of file CohesiveInterfaceElement.hpp.


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