]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fixed annoying little bug
authorLuca Heltai <luca.heltai@sissa.it>
Tue, 22 Mar 2011 18:25:55 +0000 (18:25 +0000)
committerLuca Heltai <luca.heltai@sissa.it>
Tue, 22 Mar 2011 18:25:55 +0000 (18:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@23505 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/numerics/fe_field_function.templates.h

index a8516b2d40c4bcc842947bb83080a3f78759f842..b96dbaf1439ef0feb0f558b445c7fd0ffe2de288 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2007 by the deal.II authors
+//    Copyright (C) 2007, 2011 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -311,7 +311,7 @@ namespace Functions
                                         // If we found one in this cell, keep looking in the same cell
        for (unsigned int p=first_outside; p<np; ++p) 
          if (point_flags[p] == false) {
-           Point<dim> qpoint =  mapping.transform_real_to_unit_cell(cell, points[p]);
+           Point<dim> qpoint =  mapping.transform_real_to_unit_cell(cells[c], points[p]);
            if (GeometryInfo<dim>::is_inside_unit_cell(qpoint))
              {
                point_flags[p] = true;

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.