28template <
int DisplacementDim>
29std::unique_ptr<MaterialLib::Solids::MechanicsBase<DisplacementDim>>
31 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
36 DBUG(
"Create CreepBGRa material");
39 const bool skip_type_checking =
true;
42 parameters, config, skip_type_checking);
46 config,
"a", parameters, 1);
50 config,
"n", parameters, 1);
54 config,
"sigma0", parameters, 1);
58 config,
"q", parameters, 1);
60 auto const& nonlinear_solver_config =
63 auto const nonlinear_solver_parameters =
66 return std::unique_ptr<CreepBGRa<DisplacementDim>>{
68 nonlinear_solver_parameters, A, n,
72template std::unique_ptr<MaterialLib::Solids::MechanicsBase<2>>
74 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
77template std::unique_ptr<MaterialLib::Solids::MechanicsBase<3>>
79 std::vector<std::unique_ptr<ParameterLib::ParameterBase>>
const& parameters,
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
ConfigTree getConfigSubtree(std::string const &root) const
void checkConfigParameter(std::string const ¶m, std::string_view const value) const
A class for computing the BGRa creep model, which reads.
template std::unique_ptr< MaterialLib::Solids::MechanicsBase< 2 > > createCreepBGRa< 2 >(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, BaseLib::ConfigTree const &config)
template std::unique_ptr< MaterialLib::Solids::MechanicsBase< 3 > > createCreepBGRa< 3 >(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, BaseLib::ConfigTree const &config)
std::unique_ptr< MaterialLib::Solids::MechanicsBase< DisplacementDim > > createCreepBGRa(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, BaseLib::ConfigTree const &config)
std::unique_ptr< LinearElasticIsotropic< DisplacementDim > > createLinearElasticIsotropic(std::vector< std::unique_ptr< ParameterLib::ParameterBase > > const ¶meters, BaseLib::ConfigTree const &config, const bool skip_type_checking)
NewtonRaphsonSolverParameters createNewtonRaphsonSolverParameters(BaseLib::ConfigTree const &config)
OGS_NO_DANGLING Parameter< ParameterDataType > & findParameter(std::string const ¶meter_name, std::vector< std::unique_ptr< ParameterBase > > const ¶meters, int const num_components, MeshLib::Mesh const *const mesh=nullptr)