v0.15.0
Loading...
Searching...
No Matches
CohesiveElement::CohesiveInterfaceElement::OpHistory Struct Reference

Operator update history variables. More...

#include "users_modules/basic_finite_elements/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 545 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 549 of file CohesiveInterfaceElement.hpp.

549 :
550 FlatPrismElementForcesAndSourcesCore::UserDataOperator(field_name,ForcesAndSourcesCore::UserDataOperator::OPROW),
551 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 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 }
static PetscErrorCode ierr
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERRG(n)
Check error code of MoFEM/MOAB/PETSc function.
#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 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: