]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Port new tests
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Sep 2013 09:38:59 +0000 (09:38 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 14 Sep 2013 09:38:59 +0000 (09:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_port_the_testsuite@30702 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/mg_06.cc
tests/mpi/mg_06.mpirun=7.output [moved from tests/mpi/mg_06/ncpu_7/cmp/generic with 100% similarity]
tests/mpi/periodicity_01.cc
tests/mpi/periodicity_01.mpirun=3.output [moved from tests/mpi/periodicity_01/ncpu_3/cmp/generic with 100% similarity]
tests/mpi/periodicity_01.mpirun=5.output [moved from tests/mpi/periodicity_01/ncpu_5/cmp/generic with 100% similarity]
tests/mpi/periodicity_01.mpirun=7.output [moved from tests/mpi/periodicity_01/ncpu_7/cmp/generic with 100% similarity]
tests/mpi/point_value_01.cc
tests/mpi/point_value_01.mpirun=2.output [moved from tests/mpi/point_value_01/ncpu_2/cmp/generic with 100% similarity]
tests/mpi/point_value_01.mpirun=4.output [moved from tests/mpi/point_value_01/ncpu_4/cmp/generic with 100% similarity]
tests/mpi/point_value_01.mpirun=6.output [moved from tests/mpi/point_value_01/ncpu_6/cmp/generic with 100% similarity]

index 107bc7a331efa298b25b0a64de805e105b022f11..285c28d9330ef2b79d9b85f0ceda6f91cd931da0 100644 (file)
@@ -157,7 +157,7 @@ void test()
 int main(int argc, char *argv[])
 {
   Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
-  MPILogInitAll log(__FILE__);
+  MPILogInitAll log;
 
   deallog.push("2d");
   test<2>();
index 413029deebc9d2145023bb4b0ad7179d52dc1a7a..0c1edce8f1d1b02cff574f55ad9bcf5964ecd18a 100644 (file)
@@ -522,7 +522,7 @@ int main(int argc, char *argv[])
 
       if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD)==0)
       {
-        std::ofstream logfile(output_file_for_mpi("periodicity_01").c_str());
+        std::ofstream logfile("output");
         deallog.attach(logfile, false);
         deallog.depth_console(0);
         deallog.threshold_double(1.e-10);
@@ -534,7 +534,7 @@ int main(int argc, char *argv[])
           LaplaceProblem<3> laplace_problem;
           laplace_problem.run ();
         }
-      }    
+      }
       else
       {
         {
index 2e1de3432d5c0f1c61e9c2d56bf6b1b2316ca7e8..3307d19024748ed698d182bf4d451ed9362b5a00 100644 (file)
@@ -107,7 +107,7 @@ int main(int argc, char *argv[])
   unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
   if (myid == 0)
   {
-    std::ofstream logfile(output_file_for_mpi("point_value_01").c_str());
+    std::ofstream logfile("output");
     deallog.attach(logfile, false);
     deallog.depth_console(0);
     deallog.threshold_double(1.e-10);

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.