|
| v0.14.0
|
#include <users_modules/fracture_mechanics/src/GriffithForceElement.hpp>
|
| OpConstrainsDelta (MoFEM::Interface &m_field, int tag, BlockData &block_data, CommonData &common_data, const std::string &lambda_field_name, SmartPetscObj< Vec > &delta_vec) |
|
MoFEMErrorCode | doWork (int side, EntityType type, DataForcesAndSourcesCore::EntData &data) |
|
| AuxOp (int tag, BlockData &block_data, CommonData &common_data) |
|
MoFEMErrorCode | setIndices (DataForcesAndSourcesCore::EntData &data) |
|
MoFEMErrorCode | setVariables (FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, DataForcesAndSourcesCore::EntData &data) |
|
MoFEMErrorCode | setLambdaNodes (FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, const std::string &lambda_field_name) |
|
MoFEMErrorCode | setLambdaIndices (FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, const std::string &lambda_field_name) |
|
Definition at line 854 of file GriffithForceElement.hpp.
◆ OpConstrainsDelta()
FractureMechanics::GriffithForceElement::OpConstrainsDelta::OpConstrainsDelta |
( |
MoFEM::Interface & |
m_field, |
|
|
int |
tag, |
|
|
BlockData & |
block_data, |
|
|
CommonData & |
common_data, |
|
|
const std::string & |
lambda_field_name, |
|
|
SmartPetscObj< Vec > & |
delta_vec |
|
) |
| |
|
inline |
◆ doWork()
Definition at line 873 of file GriffithForceElement.hpp.
876 if (
type != MBVERTEX) {
885 for (
int dd = 0;
dd != 9; ++
dd)
892 double delta[] = {0, 0, 0};
893 for (
int nn = 0; nn != 3; ++nn) {
898 "Element has no nodes at crack front");
902 for (
int dd = 0;
dd != 3; ++
dd) {
903 int idx = 3 * nn +
dd;
905 (data.getFieldData()[idx] - getCoords()[idx]);
◆ auxFun
◆ deltaVec
SmartPetscObj<Vec>& FractureMechanics::GriffithForceElement::OpConstrainsDelta::deltaVec |
◆ lambdaFieldName
const std::string FractureMechanics::GriffithForceElement::OpConstrainsDelta::lambdaFieldName |
◆ mField
MoFEM::Interface& FractureMechanics::GriffithForceElement::OpConstrainsDelta::mField |
The documentation for this struct was generated from the following file:
MoFEMErrorCode calculateGriffithForce(const double gc, const double beta, const MatrixDouble &diff_n)
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
AuxOp(int tag, BlockData &block_data, CommonData &common_data)
MoFEMErrorCode setIndices(DataForcesAndSourcesCore::EntData &data)
const std::string lambdaFieldName
MoFEMErrorCode VecSetValues(Vec V, const EntitiesFieldData::EntData &data, const double *ptr, InsertMode iora)
Assemble PETSc vector.
ublas::vector< TYPE > currentCoords
SmartPetscObj< Vec > & deltaVec
#define CHKERR
Inline error check.
static constexpr double delta
MoFEM::Interface & mField
AuxFunctions< double > auxFun
MoFEMErrorCode setLambdaIndices(FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, const std::string &lambda_field_name)
VectorInt3 rowLambdaIndices
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)
ublas::vector< TYPE > griffithForce
ForcesAndSourcesCore::UserDataOperator UserDataOperator
@ MOFEM_DATA_INCONSISTENCY
ublas::vector< int > rowIndices
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
@ OPROW
operator doWork function is executed on FE rows