From: Martin Kronbichler Date: Mon, 13 May 2024 07:20:41 +0000 (+0200) Subject: Test for tutorials step-67 and step-76: Do not write output X-Git-Tag: v9.6.0-rc1~281^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F17013%2Fhead;p=dealii.git Test for tutorials step-67 and step-76: Do not write output --- 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);