25{
27 config.checkConfigParameter("type", "CreepBGRa");
28 DBUG(
"Create CreepBGRa material");
29
30
31 const bool skip_type_checking = true;
32 auto elastic_data =
34 parameters, config, skip_type_checking);
35
38 config, "a", parameters, 1);
39
42 config, "n", parameters, 1);
43
46 config, "sigma0", parameters, 1);
47
50 config, "q", parameters, 1);
51
52 auto const& nonlinear_solver_config =
54 config.getConfigSubtree("nonlinear_solver");
55 auto const nonlinear_solver_parameters =
57
58 return std::unique_ptr<CreepBGRa<DisplacementDim>>{
60 nonlinear_solver_parameters, A, n,
61 sigma0, Q}};
62}
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)