From: bangerth Date: Thu, 28 Mar 2013 01:50:23 +0000 (+0000) Subject: Test appears to work now. No need to run it with 10 processors either. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e93e0015edfca1bae8b6a449ff0ea4a340d6b6b3;p=dealii-svn.git Test appears to work now. No need to run it with 10 processors either. git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29098 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mpi/trilinos_vector_ghosts_01.cc b/tests/mpi/trilinos_vector_ghosts_01.cc index 52b878f916..0400b4d414 100644 --- a/tests/mpi/trilinos_vector_ghosts_01.cc +++ b/tests/mpi/trilinos_vector_ghosts_01.cc @@ -40,17 +40,6 @@ #include -template -class LinearFunction : public Function -{ - public: - double value (const Point &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 index 75c95df4c9..0000000000 --- a/tests/mpi/trilinos_vector_ghosts_01/ncpu_10/cmp/generic +++ /dev/null @@ -1,3 +0,0 @@ - -DEAL:0:2d::mean=2.00000 -DEAL:0:3d::mean=2.00000 diff --git a/tests/mpi/trilinos_vector_ghosts_01/ncpu_4/cmp/generic b/tests/mpi/trilinos_vector_ghosts_01/ncpu_4/cmp/generic index 75c95df4c9..be8d055f86 100644 --- a/tests/mpi/trilinos_vector_ghosts_01/ncpu_4/cmp/generic +++ b/tests/mpi/trilinos_vector_ghosts_01/ncpu_4/cmp/generic @@ -1,3 +1,2 @@ -DEAL:0:2d::mean=2.00000 -DEAL:0:3d::mean=2.00000 +DEAL:0::OK