|
| v0.14.0
|
Go to the documentation of this file.
10 #ifndef __VOLUME_CALCULATION_HPP__
11 #define __VOLUME_CALCULATION_HPP__
32 if (row_type != MBVERTEX)
35 int nb_gauss_pts = row_data.getN().size1();
36 for (
int gg = 0; gg != nb_gauss_pts; ++gg) {
47 #endif //__VOLUME_CALCULATION_HPP__
#define MoFEMFunctionReturnHot(a)
Last executable line of each PETSc function used for error handling. Replaces return()
MoFEMErrorCode doWork(int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data)
VolumeCalculation(const std::string &field_name, Vec volume_vec)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
double getVolume() const
element volume (linear geometry)
MatrixDouble & getGaussPts()
matrix of integration (Gauss) points for Volume Element
#define CHKERR
Inline error check.
implementation of Data Operators for Forces and Sources
EntitiesFieldData::EntData EntData
constexpr auto field_name
const FTensor::Tensor2< T, Dim, Dim > Vec
#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