19{
21 config.checkConfigParameter("type", "CohesiveZoneModeI");
22 DBUG(
"Create CohesiveZoneModeI material");
23
26 config, "normal_stiffness", parameters, 1);
27
30 config, "shear_stiffness", parameters, 1);
31
34 config, "fracture_toughness", parameters, 1);
35
38 config, "peak_normal_traction", parameters, 1);
39
40 auto const penalty_aperture_cutoff =
42 config.getConfigParameter<double>("penalty_aperture_cutoff");
43
44 auto const tension_cutoff =
46 config.getConfigParameter<bool>("tension_cutoff");
47
49
50 return std::make_unique<CohesiveZoneModeI<DisplacementDim>>(
51 penalty_aperture_cutoff, tension_cutoff, mp);
52}
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.