28 PetscOptionsBegin(PETSC_COMM_WORLD,
"stvenant_",
"",
"none");
30 CHKERR PetscOptionsScalar(
"-young_modulus",
"Young modulus",
"",
E, &
E,
32 CHKERR PetscOptionsScalar(
"-poisson_ratio",
"poisson ratio",
"", nu, &nu,
37 MOFEM_LOG(
"EP", Sev::inform) <<
"St Venant Kirchhoff model parameters: "
38 <<
"E = " <<
E <<
", nu = " << nu;
88 ih(
i,
j) = (*t_h_ptr)(
i,
j);
95 enableMinMaxUsingAbs();
Kronecker Delta class symmetric.
#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.
#define MOFEM_LOG(channel, severity)
Log.
FTensor::Index< 'i', SPACE_DIM > i
FTensor::Index< 'J', DIM1 > J
FTensor::Index< 'j', 3 > j
constexpr IntegrationType I
HMHStVenantKirchhoff(const double lambda, const double mu)
static constexpr int numberOfDependentVariables
MoFEMErrorCode recordTape(const int tape, DTensor2Ptr *t_h_ptr)
MoFEMErrorCode getOptions()
static constexpr int numberOfActiveVariables