]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix a rather serious bug which was tapered over by my reluctance not
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jul 1999 20:48:48 +0000 (20:48 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 9 Jul 1999 20:48:48 +0000 (20:48 +0000)
to test cell data...

git-svn-id: https://svn.dealii.org/trunk@1567 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/source/numerics/data_out.cc

index e39d5c8898f28b8c1a271cfd3b0a87414e3b1008..9986c8ed6ddcc674cdaf100bfe528cafcf49f746 100644 (file)
@@ -237,7 +237,7 @@ void DataOut<dim>::build_patches (const unsigned int n_subdivisions)
            {
              const double value = (*cell_data[dataset].data)(cell_number);
              for (unsigned int q=0; q<n_q_points; ++q)
-               patch->data(dataset,q) = value;
+               patch->data(dataset+dof_data.size()*n_components,q) = value;
            };
        };
     };

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.