]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Test appears to work now. No need to run it with 10 processors either.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 28 Mar 2013 01:50:23 +0000 (01:50 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 28 Mar 2013 01:50:23 +0000 (01:50 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29098 0785d39b-7218-0410-832d-ea1e28bc413d

tests/mpi/trilinos_vector_ghosts_01.cc
tests/mpi/trilinos_vector_ghosts_01/ncpu_10/cmp/generic [deleted file]
tests/mpi/trilinos_vector_ghosts_01/ncpu_4/cmp/generic

index 52b878f91651993049e691b03f04f39b8983718b..0400b4d414cd1dcd8b9779c40e1949193cd004f8 100644 (file)
 #include <fstream>
 
 
-template <int dim>
-class LinearFunction : public Function<dim>
-{
-  public:
-    double value (const Point<dim> &p,
-                 const unsigned int) const
-      {
-       return p[0] + 2;
-      }
-};
-
 
 void test()
 {
@@ -67,6 +56,8 @@ void test()
                                             MPI_COMM_WORLD);
   Assert (interpolated.has_ghost_elements() == false,
          ExcInternalError());
+
+  deallog << "OK" << std::endl;
 }
 
 
@@ -81,18 +72,18 @@ int main(int argc, char *argv[])
 
   unsigned int myid = Utilities::MPI::this_mpi_process (MPI_COMM_WORLD);
 
-
   deallog.push(Utilities::int_to_string(myid));
+  deallog.depth_console(0);
+  deallog.threshold_double(1.e-10);
 
   if (myid == 0)
     {
       std::ofstream logfile(output_file_for_mpi("trilinos_vector_ghosts_01").c_str());
       deallog.attach(logfile);
-      deallog.depth_console(0);
-      deallog.threshold_double(1.e-10);
+      test ();
     }
-
-  test();
+  else
+    test();
 
 #ifdef DEAL_II_WITH_MPI
   MPI_Finalize();
diff --git a/tests/mpi/trilinos_vector_ghosts_01/ncpu_10/cmp/generic b/tests/mpi/trilinos_vector_ghosts_01/ncpu_10/cmp/generic
deleted file mode 100644 (file)
index 75c95df..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-
-DEAL:0:2d::mean=2.00000
-DEAL:0:3d::mean=2.00000
index 75c95df4c931bb49a5b12540874fd3935efcb931..be8d055f86cdd3679faaa1b80a853068ea304944 100644 (file)
@@ -1,3 +1,2 @@
 
-DEAL:0:2d::mean=2.00000
-DEAL:0:3d::mean=2.00000
+DEAL:0::OK

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.