]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix one more bug, per Hans' suggestion.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Mar 2001 07:49:00 +0000 (07:49 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 20 Mar 2001 07:49:00 +0000 (07:49 +0000)
git-svn-id: https://svn.dealii.org/trunk@4246 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/data_out_base.cc

index e4f67d0a91e21699dadf874aaa002c25e37d88fa..4efcdc5cbd94cc50eb65c6a3fd81a5a4c71009c8 100644 (file)
@@ -2067,15 +2067,17 @@ void DataOutBase::write_vtk (const typename std::vector<Patch<dim,spacedim> > &p
                                   // data is in place
   thread_manager.wait ();
 
-                                  // then write data.
-                                  // the '1' means: node data (as opposed
-                                  // to cell data, which we do not
-                                  // support explicitely here)
+                                  // then write data.  the
+                                  // 'POINTD_DATA' means: node data
+                                  // (as opposed to cell data, which
+                                  // we do not support explicitely
+                                  // here). all following data sets
+                                  // are point data
+  out << "POINT_DATA " << n_nodes
+      << std::endl;
   for (unsigned int data_set=0; data_set<n_data_sets; ++data_set)
     {
-      out << "POINTDATA " << n_nodes
-         << std::endl
-         << "SCALARS "
+      out << "SCALARS "
          << data_names[data_set]
          << " double 1"
          << std::endl

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.