25{
27 config.checkConfigParameter("type", "CohesiveZoneModeI");
28 DBUG(
"Create CohesiveZoneModeI material");
29
32 config, "normal_stiffness", parameters, 1);
33
36 config, "shear_stiffness", parameters, 1);
37
40 config, "fracture_toughness", parameters, 1);
41
44 config, "peak_normal_traction", parameters, 1);
45
46 auto const penalty_aperture_cutoff =
48 config.getConfigParameter<double>("penalty_aperture_cutoff");
49
50 auto const tension_cutoff =
52 config.getConfigParameter<bool>("tension_cutoff");
53
55
56 return std::make_unique<CohesiveZoneModeI<DisplacementDim>>(
57 penalty_aperture_cutoff, tension_cutoff, mp);
58}
void DBUG(fmt::format_string< Args... > fmt, Args &&... args)
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)
Variables specific to the material model.