]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix one bug in gnuplot output.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 26 Jan 2006 07:01:28 +0000 (07:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 26 Jan 2006 07:01:28 +0000 (07:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@12174 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index 114159eb9ee1dc7421d9568391a8750571ac61ec..abadda2a124a97bc35d760d83a50f73e31053e83 100644 (file)
@@ -1731,7 +1731,7 @@ void DataOutBase::write_gnuplot (const std::vector<Patch<dim,spacedim> > &patche
                  out << node << ' ';
                  
                  for (unsigned int data_set=0; data_set<n_data_sets; ++data_set)
-                   out << patch->data(data_set,i1*d1+d2*d2) << ' ';
+                   out << patch->data(data_set,i1*d1+d2*n1) << ' ';
                  out << '\n';
                }
                                               // end of row in patch

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.