#include <users_modules/fracture_mechanics/src/GriffithForceElement.hpp>
|
| OpRhs (int tag, BlockData &block_data, CommonData &common_data) |
|
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 330 of file GriffithForceElement.hpp.
◆ OpRhs()
FractureMechanics::GriffithForceElement::OpRhs::OpRhs |
( |
int |
tag, |
|
|
BlockData & |
block_data, |
|
|
CommonData & |
common_data |
|
) |
| |
|
inline |
Definition at line 332 of file GriffithForceElement.hpp.
333 : FaceElementForcesAndSourcesCore::UserDataOperator(
334 "MESH_NODE_POSITIONS", UserDataOperator::OPROW),
335 AuxOp(tag, block_data, common_data) {}
AuxOp(int tag, BlockData &block_data, CommonData &common_data)
◆ doWork()
MoFEMErrorCode FractureMechanics::GriffithForceElement::OpRhs::doWork |
( |
int |
side, |
|
|
EntityType |
type, |
|
|
DataForcesAndSourcesCore::EntData & |
data |
|
) |
| |
|
inline |
Definition at line 336 of file GriffithForceElement.hpp.
337 {
339
340 if (type != MBVERTEX)
344 int nb_dofs = data.getIndices().size();
345
347 getFEMethod()->snes_f, nb_dofs, &*
rowIndices.data().begin(),
350 }
#define MoFEMFunctionReturnHot(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 ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
#define CHKERR
Inline error check.
MoFEMErrorCode VecSetValues(Vec V, const EntitiesFieldData::EntData &data, const double *ptr, InsertMode iora)
Assemble PETSc vector.
ublas::vector< int > rowIndices
MoFEMErrorCode setVariables(FaceElementForcesAndSourcesCore::UserDataOperator *fe_ptr, DataForcesAndSourcesCore::EntData &data)
MoFEMErrorCode setIndices(DataForcesAndSourcesCore::EntData &data)
VectorDouble griffithForce
Griffith force at nodes.
The documentation for this struct was generated from the following file: