From 81b96df68c3211ddf1662bcb26291bef3ed49d3e Mon Sep 17 00:00:00 2001 From: heister Date: Thu, 27 Sep 2012 18:51:52 +0000 Subject: [PATCH] add Assert for make_periodicity_constraints for a distributed Triangulation git-svn-id: https://svn.dealii.org/trunk@26803 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/source/dofs/dof_tools.cc | 6 ++++++ 1 file changed, 6 insertions(+) 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; -- 2.39.5