]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Test for tutorials step-67 and step-76: Do not write output 17013/head
authorMartin Kronbichler <martin.kronbichler@rub.de>
Mon, 13 May 2024 07:20:41 +0000 (09:20 +0200)
committerMartin Kronbichler <martin.kronbichler@rub.de>
Mon, 13 May 2024 09:28:21 +0000 (11:28 +0200)
tests/examples/step-67.diff
tests/examples/step-76.diff

index 41c7f399c68dd798c9fda79baacdb8fc9895c12e..3d57c3ab52d7f20083f5809b34663510b497c07b 100644 (file)
@@ -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<Number>::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<Number, double> ? "doubles" : "floats") << " = "
 <             << n_vect_bits << " bits ("
 <             << Utilities::System::get_current_vectorization_level() << ')'
 <             << std::endl;
-2284d2275
+2284d2273
 <     timer.print_wall_time_statistics(MPI_COMM_WORLD);
index fc1fb667916e309b2ceab4417f3b2777b86f82f2..e3d25f46e711f571636dbf68421bada9e01ddab9 100644 (file)
@@ -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<Number, double> ? "doubles" : "floats") << " = "
 <             << n_vect_bits << " bits ("
 <             << Utilities::System::get_current_vectorization_level() << ')'
 <             << std::endl;
-1593d1584
+1593d1582
 <     timer.print_wall_time_statistics(MPI_COMM_WORLD);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.