]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Don't forget to copy the list of RefinementListeners when copying a Triangulation.
authorleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Feb 2007 06:01:25 +0000 (06:01 +0000)
committerleicht <leicht@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 15 Feb 2007 06:01:25 +0000 (06:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@14474 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/grid/tria.cc

index 5076a22eff05261c0c29dc33b5659b73782dd42a..7333c8213d793887314bd57a93b8cddb34b09aeb 100644 (file)
@@ -241,6 +241,9 @@ void Triangulation<dim>::copy_triangulation (const Triangulation<dim> &old_tria)
   vertices      = old_tria.vertices;
   vertices_used = old_tria.vertices_used;
   smooth_grid   = old_tria.smooth_grid;
+                                  // do a shallow copy of the list of
+                                  // RefinementListeners
+  refinement_listeners = old_tria.refinement_listeners;
   
   faces         = new internal::Triangulation::TriaFaces<dim>(*old_tria.faces);
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.