From: Timo Heister Date: Sun, 11 Aug 2024 19:05:49 +0000 (-0400) Subject: step-81: print something more to the screen X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17475%2Fhead;p=dealii.git step-81: print something more to the screen --- diff --git a/examples/step-81/step-81.cc b/examples/step-81/step-81.cc index 3313cf66e4..eb1b788c27 100644 --- a/examples/step-81/step-81.cc +++ b/examples/step-81/step-81.cc @@ -850,8 +850,10 @@ namespace Step81 data_out.add_data_vector(solution, {"real_Ex", "real_Ey", "imag_Ex", "imag_Ey"}); data_out.build_patches(); - std::ofstream output("solution.vtk"); + const std::string filename = "solution.vtk"; + std::ofstream output(filename); data_out.write_vtk(output); + std::cout << "Output written to " << filename << std::endl; } diff --git a/tests/examples/step-81.with_umfpack=true.output b/tests/examples/step-81.with_umfpack=true.output index a05168d55e..bc54b634a3 100644 --- a/tests/examples/step-81.with_umfpack=true.output +++ b/tests/examples/step-81.with_umfpack=true.output @@ -1,2 +1,3 @@ Number of active cells: 65536 Number of degrees of freedom: 263168 +Output written to solution.vtk