diff --git a/applications/dem_parameter_template/dem_parameter_template.cc b/applications/dem_parameter_template/dem_parameter_template.cc index 07d28385cf..d773db8b7b 100644 --- a/applications/dem_parameter_template/dem_parameter_template.cc +++ b/applications/dem_parameter_template/dem_parameter_template.cc @@ -15,7 +15,7 @@ main() dem_parameters.declare(prm); std::ofstream output_prm("dem-2d.prm"); #if DEAL_II_VERSION_GTE(9, 7, 0) - prm.print_parameters(output_prm, prm.DefaultStyle); + prm.print_parameters(output_prm, prm.PRM); #else prm.print_parameters(output_prm, prm.Text); #endif @@ -26,7 +26,7 @@ main() dem_parameters.declare(prm); std::ofstream output_prm("dem-3d.prm"); #if DEAL_II_VERSION_GTE(9, 7, 0) - prm.print_parameters(output_prm, prm.DefaultStyle); + prm.print_parameters(output_prm, prm.PRM); #else prm.print_parameters(output_prm, prm.Text); #endif diff --git a/applications/navier_stokes_parameter_template/navier_stokes_parameter_template.cc b/applications/navier_stokes_parameter_template/navier_stokes_parameter_template.cc index 35aca5c80a..11d784d90f 100644 --- a/applications/navier_stokes_parameter_template/navier_stokes_parameter_template.cc +++ b/applications/navier_stokes_parameter_template/navier_stokes_parameter_template.cc @@ -20,7 +20,7 @@ main() nsparam.declare(prm, size_of_subsections); std::ofstream output_prm("template-2d.prm"); #if DEAL_II_VERSION_GTE(9, 7, 0) - prm.print_parameters(output_prm, prm.DefaultStyle); + prm.print_parameters(output_prm, prm.PRM); #else prm.print_parameters(output_prm, prm.Text); #endif @@ -32,7 +32,7 @@ main() nsparam.declare(prm, size_of_subsections); std::ofstream output_prm("template-3d.prm"); #if DEAL_II_VERSION_GTE(9, 7, 0) - prm.print_parameters(output_prm, prm.DefaultStyle); + prm.print_parameters(output_prm, prm.PRM); #else prm.print_parameters(output_prm, prm.Text); #endif