]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove tests.h dependency from the quick tests. 4132/head
authorDavid Wells <wellsd2@rpi.edu>
Tue, 28 Mar 2017 21:03:55 +0000 (17:03 -0400)
committerDavid Wells <wellsd2@rpi.edu>
Tue, 28 Mar 2017 21:07:27 +0000 (17:07 -0400)
The release candidates ship without this file.

tests/quick_tests/arpack.cc
tests/quick_tests/gsl.cc
tests/quick_tests/lapack.cc
tests/quick_tests/umfpack.cc

index 4eda317b6b0527999010d0aa7533e43567f4bd16..4232cb363b816fefde3d9fe5ab0c417fa3989b43 100644 (file)
 
 // test Arpack by calculating eigenvalues of Laplace matrix.
 
-#include "../tests.h"
-#include <iostream>
-#include <fstream>
-#include <cstdlib>
-
-#include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/function.h>
+#include <deal.II/base/logstream.h>
+#include <deal.II/base/quadrature_lib.h>
 
 #include <deal.II/fe/fe_q.h>
 #include <deal.II/fe/fe_values.h>
 #include <deal.II/numerics/vector_tools.h>
 #include <deal.II/numerics/matrix_tools.h>
 
+#include <complex>
+#include <fstream>
+#include <iostream>
+#include <vector>
 
+using namespace dealii;
 
 template <int dim>
 void test ()
index a9d8e19c9fefacdfbd4ca1d135ceacb25b26d0e1..5fcbf59379c398a21d987c66593f2494e39fd39a 100644 (file)
 // Test GSL by running CSpline. Copy-paste of /base/functions_cspline
 // take example from https://www.gnu.org/software/gsl/manual/html_node/Interpolation-Example-programs.html
 
-#include "../tests.h"
-#include <cmath>
 #include <deal.II/base/function_cspline.h>
+#include <deal.II/base/logstream.h>
+
+#include <cmath>
+#include <string>
+#include <fstream>
+#include <vector>
+
+using namespace dealii;
 
 template <int dim>
 void check()
@@ -52,4 +58,3 @@ int main()
 
   check<1>();
 }
-
index 704a9e5fe353c3460141f4a31440bbcb83fdbee8..11fe46d9b83926c1fb2eb99fefbe677fd600cc76 100644 (file)
@@ -17,7 +17,6 @@
 // Tests vector multiplication and eigenvalues of LAPACKFullMatrix
 // copy-paste of lapack/full_matrix_01
 
-#include "../tests.h"
 #include <deal.II/base/logstream.h>
 #include <deal.II/lac/lapack_full_matrix.h>
 #include <deal.II/lac/full_matrix.h>
@@ -48,6 +47,7 @@ const double rect[] =
   11., 13., -4., -5
 };
 
+using namespace dealii;
 
 void test_rect(unsigned int m, unsigned int n, const double *values)
 {
index 3ba11129439305a0b343f606f456cb0c8d665c80..5ff2df38a6b5f5339897170cee48c23760dd0b8d 100644 (file)
 // test the umfpack sparse direct solver on a mass matrix.
 // test of the transpose as well
 
-#include "../tests.h"
 #include <iostream>
 #include <fstream>
 #include <cstdlib>
 
-#include <deal.II/base/quadrature_lib.h>
 #include <deal.II/base/function.h>
+#include <deal.II/base/logstream.h>
+#include <deal.II/base/quadrature_lib.h>
 
 #include <deal.II/fe/fe_q.h>
 #include <deal.II/fe/fe_values.h>
@@ -42,6 +42,7 @@
 #include <deal.II/numerics/vector_tools.h>
 #include <deal.II/numerics/matrix_tools.h>
 
+using namespace dealii;
 
 template <int dim>
 void test (bool transpose = false)

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.