25{
27 config.checkConfigParameter("type", "CreepBGRa");
28 DBUG(
"Create CreepBGRa material");
29
30
31 const bool skip_type_checking = true;
34 auto elastic_data =
36 parameters, config, skip_type_checking);
37
40 config, "a", parameters, 1);
41
44 config, "n", parameters, 1);
45
48 config, "sigma0", parameters, 1);
49
52 config, "q", parameters, 1);
53
54 auto const& nonlinear_solver_config =
56 config.getConfigSubtree("nonlinear_solver");
57 auto const nonlinear_solver_parameters =
59
60 return std::unique_ptr<CreepBGRa<DisplacementDim>>{
62 nonlinear_solver_parameters, A, n,
63 sigma0, Q}};
64}
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
A class for computing the BGRa creep model, which reads.
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)