]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a problem where DoFTools::make_flux_sparsity_pattern wasn't prepared to deal...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Oct 2012 13:32:41 +0000 (13:32 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 30 Oct 2012 13:32:41 +0000 (13:32 +0000)
git-svn-id: https://svn.dealii.org/trunk@27236 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/doc/news/changes.h
deal.II/source/dofs/dof_tools.cc

index a7517ce6606be29678d35b6ef5248a839669c68f..94f3c942772ec3bd61b266dcaf7d8e49c5265b71 100644 (file)
@@ -108,6 +108,11 @@ never working correctly and it is not used.
 
 
 <ol>
+<li> Fixed: DoFTools::make_flux_sparsity_pattern wasn't prepared to
+deal with adaptively refined meshes in 1d.
+<br>
+(Wolfgang Bangerth, 2012/10/30)
+
 <li> New: Added PETScWrappers::PreconditionParaSails and
 PETScWrappers::PreconditionNone. PETScWrappers::PreconditionParaSails
 implements the interface to use the ParaSails sparse approximate
@@ -116,7 +121,6 @@ parallel distributed computations and can handle nonsymmetric
 and also indefinite problems. PETScWrappers::PreconditionNone
 implements non-preconditioning in PETSc which can be of use
 together with the PETScWrappers::MatrixFree class.
-
 <br>
 (Martin Steigemann, 2012/10/26)
 
index a955d6d26b21a6cebe01ff2c1fd250bbc4471b6a..4a8de7df186032dc154c27df158219fbbc5b57f8 100644 (file)
@@ -581,7 +581,7 @@ namespace DoFTools
                 {
                   typename DH::cell_iterator neighbor = cell->neighbor(face);
 
-                  if (cell_face->has_children())
+                  if (neighbor->has_children())
                     {
                       for (unsigned int sub_nr = 0;
                            sub_nr != cell_face->number_of_children();

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.