33{
35 config.checkConfigParameter("type", "CreepBGRa");
36 DBUG(
"Create CreepBGRa material");
37
38
39 const bool skip_type_checking = true;
40 auto elastic_data =
42 parameters, config, skip_type_checking);
43
46 config, "a", parameters, 1);
47
50 config, "n", parameters, 1);
51
54 config, "sigma0", parameters, 1);
55
58 config, "q", parameters, 1);
59
60 auto const& nonlinear_solver_config =
62 config.getConfigSubtree("nonlinear_solver");
63 auto const nonlinear_solver_parameters =
65
66 return std::unique_ptr<CreepBGRa<DisplacementDim>>{
68 nonlinear_solver_parameters, A, n,
69 sigma0, Q}};
70}
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
A class for computing the BGRa creep model, which reads.
MaterialProperties getMaterialProperties() const
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)