From 345a543437697ed037b3b640e1f0df24a46c7925 Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Tue, 19 May 2020 15:51:52 +0200 Subject: [PATCH] Fixed parameters. --- examples/step-70/parameters.prm | 2 +- examples/step-70/parameters_23.prm | 6 +++--- examples/step-70/step-70.cc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/step-70/parameters.prm b/examples/step-70/parameters.prm index 04b42e9ccb..12c5806982 100644 --- a/examples/step-70/parameters.prm +++ b/examples/step-70/parameters.prm @@ -8,7 +8,7 @@ subsection Stokes Immersed Problem set Number of time steps = 501 set Velocity degree = 2 set Viscosity = 1 - set Output directory = results + set Output directory = . subsection Angular velocity set Function constants = set Function expression = t < .500001 ? 6.283185 : -6.283185 # default: 0 diff --git a/examples/step-70/parameters_23.prm b/examples/step-70/parameters_23.prm index 32e6b8ab37..502666bfc8 100644 --- a/examples/step-70/parameters_23.prm +++ b/examples/step-70/parameters_23.prm @@ -7,7 +7,7 @@ subsection Stokes Immersed Problem set Nitsche penalty term = 10 set Number of time steps = 501 set Output frequency = 1 - set Output directory = results_23 + set Output directory = . set Particle insertion refinement = 4 set Velocity degree = 2 set Viscosity = 1 @@ -19,8 +19,8 @@ subsection Stokes Immersed Problem subsection Grid generation set Fluid grid generator = hyper_rectangle set Fluid grid generator arguments = -50,-50, -10: 50, 50, 40: false - set Solid grid generator = ../impeller.vtk - set Solid grid generator arguments = 1:../impeller.step + set Solid grid generator = impeller.vtk + set Solid grid generator arguments = 1:impeller.step set Particle grid generator = hyper_ball set Particle grid generator arguments = 30, 30, 20: 10: false end diff --git a/examples/step-70/step-70.cc b/examples/step-70/step-70.cc index fa4666812b..c8e60ea2e2 100644 --- a/examples/step-70/step-70.cc +++ b/examples/step-70/step-70.cc @@ -1796,7 +1796,7 @@ namespace Step70 << Utilities::dim_string(dim, spacedim) << "> using Trilinos." << std::endl; #endif - par.prm.print_parameters(par.output_directory + "/" + "parameters_" + + par.prm.print_parameters(par.output_directory + "/" + "used_parameters_" + std::to_string(dim) + std::to_string(spacedim) + ".prm", ParameterHandler::Short); -- 2.39.5