]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add necessary C++ headers to step-11 and step-51. 18528/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 30 May 2025 23:54:21 +0000 (17:54 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 30 May 2025 23:54:40 +0000 (17:54 -0600)
examples/step-11/step-11.cc
examples/step-51/step-51.cc

index f1afbc1034a2f8683779a6425ec0a200d08397e3..8ae303f1640eba3ef6ccc582833b025ef4d7c727 100644 (file)
 // further down below.
 #include <deal.II/lac/dynamic_sparsity_pattern.h>
 
-// We will make use of the std::find algorithm of the C++ standard library, so
-// we have to include the following file for its declaration:
+// We will make use of the `std::find` algorithm of the C++ standard
+// library, so we have to include the following file for its
+// declaration, along with the other standard header files we will
+// use:
 #include <algorithm>
+#include <fstream>
 #include <iostream>
 #include <iomanip>
 #include <cmath>
index 03ca79f7d386438a35c40313ab87395fd5aaeaaf..365b10a3508a9638399125585bb79c9a82d1db4e 100644 (file)
@@ -72,6 +72,7 @@
 // the simulation.
 #include <deal.II/numerics/data_out_faces.h>
 
+#include <fstream>
 #include <iostream>
 
 

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.