From: Guido Kanschat Date: Fri, 10 Mar 2006 12:33:52 +0000 (+0000) Subject: Remove assertion so a mesh can be changed with a DoFHandler attached. X-Git-Tag: v8.0.0~12120 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=65131e151049331cd2bd8f8c800578b5865ede92;p=dealii.git 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 --- 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(); }