v0.14.0
Public Member Functions | Public Attributes | List of all members
FractureMechanics::ConstantArea::AuxOp Struct Reference

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

Inheritance diagram for FractureMechanics::ConstantArea::AuxOp:
[legend]
Collaboration diagram for FractureMechanics::ConstantArea::AuxOp:
[legend]

Public Member Functions

 AuxOp (int tag, CommonData &common_data)
 
PetscErrorCode setVariables (FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, int side, EntityType type, DataForcesAndSourcesCore::EntData &data)
 

Public Attributes

int tAg
 
CommonDatacommonData
 
ublas::vector< int > rowIndices
 
VectorDouble activeVariables
 

Detailed Description

Definition at line 479 of file ConstantArea.hpp.

Constructor & Destructor Documentation

◆ AuxOp()

FractureMechanics::ConstantArea::AuxOp::AuxOp ( int  tag,
CommonData common_data 
)
inline

Definition at line 483 of file ConstantArea.hpp.

484  : tAg(tag), commonData(common_data) {}

Member Function Documentation

◆ setVariables()

PetscErrorCode FractureMechanics::ConstantArea::AuxOp::setVariables ( FaceElementForcesAndSourcesCore::UserDataOperator fe_ptr,
int  side,
EntityType  type,
DataForcesAndSourcesCore::EntData data 
)
inline

Definition at line 490 of file ConstantArea.hpp.

492  {
494  int nb_dofs = data.getIndices().size();
495  activeVariables.resize(18);
496  for (int dd = 0; dd != nb_dofs; dd++) {
497  activeVariables[dd] = fe_ptr->getCoords()[dd];
498  }
499  for (int dd = 0; dd != nb_dofs; dd++) {
500  activeVariables[9 + dd] = data.getFieldData()[dd];
501  }
503  }

Member Data Documentation

◆ activeVariables

VectorDouble FractureMechanics::ConstantArea::AuxOp::activeVariables

Definition at line 487 of file ConstantArea.hpp.

◆ commonData

CommonData& FractureMechanics::ConstantArea::AuxOp::commonData

Definition at line 482 of file ConstantArea.hpp.

◆ rowIndices

ublas::vector<int> FractureMechanics::ConstantArea::AuxOp::rowIndices

Definition at line 486 of file ConstantArea.hpp.

◆ tAg

int FractureMechanics::ConstantArea::AuxOp::tAg

Definition at line 481 of file ConstantArea.hpp.


The documentation for this struct was generated from the following file:
FractureMechanics::ConstantArea::AuxOp::tAg
int tAg
Definition: ConstantArea.hpp:481
FractureMechanics::ConstantArea::AuxOp::activeVariables
VectorDouble activeVariables
Definition: ConstantArea.hpp:487
FractureMechanics::ConstantArea::AuxOp::commonData
CommonData & commonData
Definition: ConstantArea.hpp:482
FTensor::dd
const Tensor2_symmetric_Expr< const ddTensor0< T, Dim, i, j >, typename promote< T, double >::V, Dim, i, j > dd(const Tensor0< T * > &a, const Index< i, Dim > index1, const Index< j, Dim > index2, const Tensor1< int, Dim > &d_ijk, const Tensor1< double, Dim > &d_xyz)
Definition: ddTensor0.hpp:33
MoFEMFunctionReturn
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
Definition: definitions.h:429
MoFEMFunctionBegin
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
Definition: definitions.h:359