]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMake: adjust sundials/* tests 13392/head
authorMatthias Maier <tamiko@43-1.org>
Tue, 15 Feb 2022 16:34:48 +0000 (10:34 -0600)
committerMatthias Maier <tamiko@43-1.org>
Thu, 17 Feb 2022 12:46:22 +0000 (06:46 -0600)
20 files changed:
tests/sundials/arkode_01.cc
tests/sundials/arkode_01_in.prm [moved from tests/sundials/arkode_01.prm with 100% similarity]
tests/sundials/arkode_02.cc
tests/sundials/arkode_03.cc
tests/sundials/arkode_03_in.prm [moved from tests/sundials/arkode_03.prm with 100% similarity]
tests/sundials/arkode_04.cc
tests/sundials/arkode_04_in.prm [moved from tests/sundials/arkode_04.prm with 100% similarity]
tests/sundials/arkode_05.cc
tests/sundials/arkode_05_in.prm [moved from tests/sundials/arkode_05.prm with 100% similarity]
tests/sundials/arkode_06.cc
tests/sundials/arkode_06_in.prm [moved from tests/sundials/arkode_06.prm with 100% similarity]
tests/sundials/arkode_07.cc
tests/sundials/arkode_07_in.prm [moved from tests/sundials/arkode_07.prm with 100% similarity]
tests/sundials/arkode_08.cc
tests/sundials/arkode_08_in.prm [moved from tests/sundials/arkode_08.prm with 100% similarity]
tests/sundials/arkode_repeated_solve.cc
tests/sundials/arkode_repeated_solve_in.prm [moved from tests/sundials/arkode_repeated_solve.prm with 100% similarity]
tests/sundials/ida_01.cc
tests/sundials/ida_01_in.prm [moved from tests/sundials/ida_01.prm with 100% similarity]
tests/sundials/ida_02.cc

index 6d7279d38f026ae89301eaaaa47f821a223ae3d0..b6f8091151b13b1e755bfd9e52969c6043299a6b 100644 (file)
@@ -66,12 +66,12 @@ main(int argc, char **argv)
   // Set to true to reset input file.
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_01.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_01_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_01.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_01_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 00217ce71bf93f85ca40961f61f1a5d8b9ce61de..ecea12e5b9e56dbf18feb0cbc0eac727b89dab93 100644 (file)
@@ -64,7 +64,7 @@ main(int argc, char **argv)
   data.add_parameters(prm);
 
   // Use the same parameters of test 1.
-  std::ifstream ifile(SOURCE_DIR "/arkode_01.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_01_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 521b6e269ca096dd458fd1ad4a152135271b3307..60d3ed466261d8e4cd6d22967febd4238cd8d64b 100644 (file)
@@ -62,12 +62,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_03.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_03_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_03.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_03_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 158d1619b5d3c8b883ff884422bba1db00b3124a..d680db09d1be67362682652289ac770660118194 100644 (file)
@@ -62,12 +62,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_04.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_04_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_04.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_04_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index a74dd5aea9cfcfefe400c5a0e71dc480eebd12ba..fdd79f02c4c17e11e3f1dd9366846ef57a14b770 100644 (file)
@@ -62,12 +62,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_05.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_05_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_05.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_05_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index ca7dda566a9c1d0e6b02cefc6cb7a8d74df2ead2..05b28cade7c75a84b1174a1b6c6d6de181d93909 100644 (file)
@@ -69,12 +69,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_06.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_06_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_06.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_06_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 4cf77ad37a12838939658a60951fc0b504efcbea..092d2c452ba097c0d3621539e6786acfbd22ced9 100644 (file)
@@ -69,12 +69,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_07.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_07_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_07.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_07_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 3bd6e909f5962db0a098b9ae7e3ec7f46dde68ca..0eaa97a654ca3d5c6098714b14be6d6a3d41a42a 100644 (file)
@@ -59,12 +59,12 @@ main(int argc, char **argv)
 
   if (false)
     {
-      std::ofstream ofile(SOURCE_DIR "/arkode_08.prm");
+      std::ofstream ofile(SOURCE_DIR "/arkode_08_in.prm");
       prm.print_parameters(ofile, ParameterHandler::ShortText);
       ofile.close();
     }
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_08.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_08_in.prm");
   prm.parse_input(ifile);
 
   SUNDIALS::ARKode<VectorType> ode(data);
index 3e55a8c8bb6323c7c70dba97e7475e5d80546e07..5b7fe7ddd70bb2f1caa858df49f9ed1e1e1dfb75 100644 (file)
@@ -35,7 +35,7 @@ create_solver()
   SUNDIALS::ARKode<VectorType>::AdditionalData data;
   data.add_parameters(prm);
 
-  std::ifstream ifile(SOURCE_DIR "/arkode_repeated_solve.prm");
+  std::ifstream ifile(SOURCE_DIR "/arkode_repeated_solve_in.prm");
   prm.parse_input(ifile);
 
   auto ode = std::make_unique<SUNDIALS::ARKode<VectorType>>(data);
index 2ca579f713deb5b291d4b710229260946ca76c67..6905cfee77e4bc69d30f7a03957a81ea7a57e811 100644 (file)
@@ -158,7 +158,7 @@ main(int argc, char **argv)
   // prm.print_parameters(ofile, ParameterHandler::ShortText);
   // ofile.close();
 
-  std::ifstream ifile(SOURCE_DIR "/ida_01.prm");
+  std::ifstream ifile(SOURCE_DIR "/ida_01_in.prm");
   prm.parse_input(ifile);
 
 
index 717fd9328d82cb22d30f0349b0c07704c6758922..65faffcb6e94d1ba60d8390d842e7e748a0afeae 100644 (file)
@@ -155,7 +155,7 @@ main(int argc, char **argv)
   // prm.print_parameters(ofile, ParameterHandler::ShortText);
   // ofile.close();
 
-  std::ifstream ifile(SOURCE_DIR "/ida_01.prm");
+  std::ifstream ifile(SOURCE_DIR "/ida_01_in.prm");
   prm.parse_input(ifile);
 
 

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.