From 95d2f29f09c03a9cc5c52376e0e0436317fe3aa2 Mon Sep 17 00:00:00 2001 From: Martin Kronbichler Date: Mon, 13 May 2024 09:20:41 +0200 Subject: [PATCH] Test for tutorials step-67 and step-76: Do not write output --- tests/examples/step-67.diff | 12 +++++++++--- tests/examples/step-76.diff | 12 +++++++++--- 2 files changed, 18 insertions(+), 6 deletions(-) diff --git a/tests/examples/step-67.diff b/tests/examples/step-67.diff index 41c7f399c6..3d57c3ab52 100644 --- a/tests/examples/step-67.diff +++ b/tests/examples/step-67.diff @@ -6,15 +6,21 @@ < constexpr double final_time = testcase == 0 ? 10 : 2.0; --- > constexpr double final_time = testcase == 0 ? 5 : 2.0; -2196,2198d2195 +2171,2173c2171 +< const std::string filename = +< "solution_" + Utilities::int_to_string(result_number, 3) + ".vtu"; +< data_out.write_vtu_in_parallel(filename, MPI_COMM_WORLD); +--- +> (void)result_number; +2196,2198d2193 < const unsigned int n_vect_number = VectorizedArray::size(); < const unsigned int n_vect_bits = 8 * sizeof(Number) * n_vect_number; < -2202,2206d2198 +2202,2206d2196 < pcout << "Vectorization over " << n_vect_number << ' ' < << (std::is_same_v ? "doubles" : "floats") << " = " < << n_vect_bits << " bits (" < << Utilities::System::get_current_vectorization_level() << ')' < << std::endl; -2284d2275 +2284d2273 < timer.print_wall_time_statistics(MPI_COMM_WORLD); diff --git a/tests/examples/step-76.diff b/tests/examples/step-76.diff index fc1fb66791..e3d25f46e7 100644 --- a/tests/examples/step-76.diff +++ b/tests/examples/step-76.diff @@ -8,15 +8,21 @@ < constexpr double final_time = testcase == 0 ? 10 : 2.0; --- > constexpr double final_time = testcase == 0 ? 10 : 0.5; -1519,1521d1518 +1507,1509c1507 +< const std::string filename = +< "solution_" + Utilities::int_to_string(result_number, 3) + ".vtu"; +< data_out.write_vtu_in_parallel(filename, MPI_COMM_WORLD); +--- +> (void)result_number; +1519,1521d1516 < const unsigned int n_vect_number = VectorizedArrayType::size(); < const unsigned int n_vect_bits = 8 * sizeof(Number) * n_vect_number; < -1525,1529d1521 +1525,1529d1519 < pcout << "Vectorization over " << n_vect_number << ' ' < << (std::is_same_v ? "doubles" : "floats") << " = " < << n_vect_bits << " bits (" < << Utilities::System::get_current_vectorization_level() << ')' < << std::endl; -1593d1584 +1593d1582 < timer.print_wall_time_statistics(MPI_COMM_WORLD); -- 2.39.5