|
| v0.14.0
|
Go to the documentation of this file.
23 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
24 boost::shared_ptr<PhysicalEquations> physics_ptr) {
25 return (
new OpHMHH(tag, eval_rhs, eval_lhs, data_ptr, physics_ptr));
30 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD,
"mooneyrivlin_",
"",
"none");
35 CHKERR PetscOptionsScalar(
"-beta",
"Beta",
"",
beta, &
beta, PETSC_NULL);
45 ierr = PetscOptionsEnd();
98 ih(
i,
j) = (*t_h_ptr)(
i,
j);
105 enableMinMaxUsingAbs();
static constexpr int numberOfDependentVariables
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
FTensor::Index< 'J', DIM1 > J
MoFEMErrorCode recordTape(const int tape, DTensor2Ptr *t_h_ptr)
constexpr std::enable_if<(Dim0<=2 &&Dim1<=2), Tensor2_Expr< Levi_Civita< T >, T, Dim0, Dim1, i, j > >::type levi_civita(const Index< i, Dim0 > &, const Index< j, Dim1 > &)
levi_civita functions to make for easy adhoc use
constexpr IntegrationType I
MoFEMErrorCode invertTensor3by3(ublas::matrix< T, L, A > &jac_data, ublas::vector< T, A > &det_data, ublas::matrix< T, L, A > &inv_jac_data)
Calculate inverse of tensor rank 2 at integration points.
#define CHKERR
Inline error check.
HMHPMooneyRivlinWriggersEq63(const double alpha, const double beta, const double lambda)
MoFEMErrorCode getOptions()
FTensor::Index< 'i', SPACE_DIM > i
static auto determinantTensor3by3(T &t)
Calculate the determinant of a 3x3 matrix or a tensor of rank 2.
FTensor::Index< 'j', 3 > j
virtual OpJacobian * returnOpJacobian(const int tag, const bool eval_rhs, const bool eval_lhs, boost::shared_ptr< DataAtIntegrationPts > data_ptr, boost::shared_ptr< PhysicalEquations > physics_ptr)
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Kronecker Delta class symmetric.
FTensor::Index< 'k', 3 > k
#define MoFEMFunctionReturn(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 MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
static constexpr int numberOfActiveVariables