From e749b5b7172e070f1c5e99547e313a0fa330413d Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Thu, 10 Mar 2005 19:11:11 +0000 Subject: [PATCH] // store a pointer to the end // iterator, since we can't get at // it any more once cell is already // the end iterator (in that case // dereferencing cell-> triggers an // assertion) git-svn-id: https://svn.dealii.org/trunk@10081 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/numerics/error_estimator.cc | 11 ++++++++--- deal.II/doc/news/changes.html | 9 +++++++++ 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/deal.II/deal.II/source/numerics/error_estimator.cc b/deal.II/deal.II/source/numerics/error_estimator.cc index 724ab95752..178c8dea24 100644 --- a/deal.II/deal.II/source/numerics/error_estimator.cc +++ b/deal.II/deal.II/source/numerics/error_estimator.cc @@ -49,9 +49,14 @@ inline void advance_by_n (CellIterator &cell, const unsigned int n) { - for (unsigned int t=0; - ((tget_dof_handler().end())); - ++t, ++cell); + // store a pointer to the end + // iterator, since we can't get at + // it any more once cell is already + // the end iterator (in that case + // dereferencing cell-> triggers an + // assertion) + const CellIterator endc = cell->get_dof_handler().end(); + for (unsigned int t=0; ((tdeal.II
    +
  1. + Fixed: There was a bug in the KellyErrorEstimator class that resulted in + assertions being thrown when run with multithreading + enabled. This is now fixed. +
    + (WB, 2005/03/10) +

    +
  2. Changed: The Triangulation<2>::execute_refinement function has been -- 2.39.5