From: heister Date: Thu, 27 Sep 2012 18:51:52 +0000 (+0000) Subject: add Assert for make_periodicity_constraints for a distributed Triangulation X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b96df68c3211ddf1662bcb26291bef3ed49d3e;p=dealii-svn.git add Assert for make_periodicity_constraints for a distributed Triangulation git-svn-id: https://svn.dealii.org/trunk@26803 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/dofs/dof_tools.cc b/deal.II/source/dofs/dof_tools.cc index 6af4c25643..a955d6d26b 100644 --- a/deal.II/source/dofs/dof_tools.cc +++ b/deal.II/source/dofs/dof_tools.cc @@ -3392,6 +3392,12 @@ namespace DoFTools static const int space_dim = DH::space_dimension; Assert (0<=direction && direction*> + (&dof_handler.get_tria()) + == + 0), + ExcMessage ("This function can not be used with distributed triangulations." + "See the documentation for more information.")); typedef typename DH::cell_iterator CellIterator;