From 65131e151049331cd2bd8f8c800578b5865ede92 Mon Sep 17 00:00:00 2001 From: Guido Kanschat Date: Fri, 10 Mar 2006 12:33:52 +0000 Subject: [PATCH] Remove assertion so a mesh can be changed with a DoFHandler attached. git-svn-id: https://svn.dealii.org/trunk@12575 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/tria.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 61f41a9931..c593a5ed29 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -84,10 +84,14 @@ Triangulation::~Triangulation () template void Triangulation::clear () { +//TODO:[WB] Why this assertion? +// If we allow refinement with depending objects, we should also +// allow changing the mesh completely. + // only allow this operation if // there are no subscribers any // more - Assert (n_subscriptions() == 0, ExcInternalError()); +// Assert (n_subscriptions() == 0, ExcInternalError()); clear_despite_subscriptions(); } -- 2.39.5