6#ifndef MAT_AMENTUM_UMAT_HPP
7#define MAT_AMENTUM_UMAT_HPP
11#define TSADAPTAMENTUM "amentum"
20boost::shared_ptr<PhysicalEquations>
22 boost::shared_ptr<MatOpsData> mat_ops_data_ptr,
int tag);
25boost::shared_ptr<PhysicalEquations>
27 boost::shared_ptr<MatOpsData> mat_ops_data_ptr,
int tag);
33 boost::shared_ptr<PhysicalEquations> physics_ptr,
FEMethod *fe_ptr,
35 const double *endpoint_modulus =
nullptr);
40 std::function<void(PetscReal &, PetscReal &, PetscInt &)>;
47 PetscInt *next_sc, PetscReal *next_h,
48 PetscBool *
accept, PetscReal *wlte,
49 PetscReal *wltea, PetscReal *wlter);
int h
Corner vertex and its two front neighbours.
std::vector< int > source
PetscErrorCode TSAdaptChooseAmentumRejected(TSAdapt adapt, TS ts, PetscReal h, PetscReal *next_h)
static PetscErrorCode TSAdaptChooseAmentum(TSAdapt adapt, TS ts, PetscReal h, PetscInt *next_sc, PetscReal *next_h, PetscBool *accept, PetscReal *wlte, PetscReal *wltea, PetscReal *wlter)
static PetscErrorCode TSAdaptResetAmentum(TSAdapt adapt)
PetscErrorCode TSAdaptCreateAmentum(TSAdapt adapt)
static PetscErrorCode TSAdaptDestroyAmentum(TSAdapt adapt)
MoFEMErrorCode setAmentumTimeSource(boost::shared_ptr< PhysicalEquations > material, AmentumTimeSource source)
MoFEMErrorCode getAmentumElasticProperties(boost::shared_ptr< PhysicalEquations > physics_ptr, FEMethod *fe_ptr, int nb_gauss_pts, const double *&young_modulus, double &poisson_ratio, const double *endpoint_modulus)
boost::shared_ptr< PhysicalEquations > createMatOpsPhysicalEquationsPtr< AMENTUM_UMAT, MODEL_2D_PLANE_STRAIN >(boost::shared_ptr< MatOpsData > mat_ops_data_ptr, int tag)
std::function< void(PetscReal &, PetscReal &, PetscInt &)> AmentumTimeSource
boost::shared_ptr< PhysicalEquations > createMatOpsPhysicalEquationsPtr< AMENTUM_UMAT, MODEL_3D >(boost::shared_ptr< MatOpsData > mat_ops_data_ptr, int tag)
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
double young_modulus
Young modulus.
double poisson_ratio
Poisson ratio.
Structure for user loop methods on finite elements.