]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bug fix: change to new numbering scheme.
authorRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 13 Jan 2006 08:20:12 +0000 (08:20 +0000)
committerRalf Hartmann <Ralf.Hartmann@dlr.de>
Fri, 13 Jan 2006 08:20:12 +0000 (08:20 +0000)
git-svn-id: https://svn.dealii.org/trunk@12010 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out_faces.cc

index 8262757f4d3af5bd9c1ef7026ec31764a3d1279b..ae578b042d422bedf23c1169cdb6fb0a20a738f3 100644 (file)
@@ -2,7 +2,7 @@
 //    $Id$
 //    Version: $Name$
 //
-//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 by the deal.II authors
+//    Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 by the deal.II authors
 //
 //    This file is subject to QPL and may not be  distributed
 //    without copyright and license information. Please refer
@@ -64,7 +64,8 @@ void DataOutFaces<dim,DH>::build_some_patches (Data data)
       Assert (patch != this->patches.end(), ExcInternalError());
       
       for (unsigned int vertex=0; vertex<GeometryInfo<dim-1>::vertices_per_cell; ++vertex)
-       patch->vertices[vertex] = face.first->face(face.second)->vertex(vertex);
+       patch->vertices[vertex] = face.first->face(face.second)->vertex(
+         GeometryInfo<dim-1>::ucd_to_deal[vertex]);
       
       if (data.n_datasets > 0)
        {

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.