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;
48 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
49 boost::shared_ptr<PhysicalEquations> physics_ptr) {
50 return (
new OpHMHH(tag, eval_rhs, eval_lhs, data_ptr, physics_ptr));
95 ih(
i,
j) = (*t_h_ptr)(
i,
j);
102 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
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)
MoFEMErrorCode recordTape(const int tape, DTensor2Ptr *t_h_ptr)
MoFEMErrorCode getOptions()
static constexpr int numberOfActiveVariables