From: heister Date: Sat, 16 Feb 2013 21:20:26 +0000 (+0000) Subject: check if ghosted vectors are really ghosted X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae0decb35dbe41ca5f9645102c9d732616f8e767;p=dealii-svn.git check if ghosted vectors are really ghosted git-svn-id: https://svn.dealii.org/trunk@28424 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/mpi/ghost_01.cc b/tests/mpi/ghost_01.cc index fed18c92fc..d0dfa49f72 100644 --- a/tests/mpi/ghost_01.cc +++ b/tests/mpi/ghost_01.cc @@ -50,7 +50,9 @@ void test () vb*=2.0; v=vb; //v.update_ghost_values(); - + + Assert(!vb.has_ghost_elements(), ExcInternalError()); + Assert(v.has_ghost_elements(), ExcInternalError()); // check local values if (Utilities::MPI::this_mpi_process (MPI_COMM_WORLD) == 0)