|
| v0.14.0
|
Go to the documentation of this file.
28 CHKERR PetscOptionsBegin(PETSC_COMM_WORLD,
"stvenant_",
"",
"none");
30 CHKERR PetscOptionsScalar(
"-young_modulus",
"Young modulus",
"",
E, &
E,
32 CHKERR PetscOptionsScalar(
"-poisson_ratio",
"poisson ratio",
"", nu, &nu,
35 ierr = PetscOptionsEnd();
38 MOFEM_LOG(
"EP", Sev::inform) <<
"St Venant Kirchhoff model parameters: "
39 <<
"E = " <<
E <<
", nu = " << nu;
49 boost::shared_ptr<DataAtIntegrationPts> data_ptr,
50 boost::shared_ptr<PhysicalEquations> physics_ptr) {
51 return (
new OpHMHH(tag, eval_rhs, eval_lhs, data_ptr, physics_ptr));
96 ih(
i,
j) = (*t_h_ptr)(
i,
j);
103 enableMinMaxUsingAbs();
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
FTensor::Index< 'J', DIM1 > J
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.
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)
#define CHKERR
Inline error check.
static constexpr int numberOfActiveVariables
FTensor::Index< 'i', SPACE_DIM > i
HMHStVenantKirchhoff(const double lambda, const double mu)
static auto determinantTensor3by3(T &t)
Calculate the determinant of a 3x3 matrix or a tensor of rank 2.
#define MOFEM_LOG(channel, severity)
Log.
MoFEMErrorCode getOptions()
static constexpr int numberOfDependentVariables
FTensor::Index< 'j', 3 > j
static MoFEMErrorCodeGeneric< PetscErrorCode > ierr
Kronecker Delta class symmetric.
MoFEMErrorCode recordTape(const int tape, DTensor2Ptr *t_h_ptr)
#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 ...