| 624 | /// output of field data (coefficient values) |
| 625 | template <int D> |
| 626 | void VTKOutput<D>::PrintFieldDataLegacy() |
| 627 | { |
| 628 | for (auto field : value_field) |
| 629 | { |
| 630 | *fileout << "SCALARS " << field->Name() |
| 631 | << " float " << field->Dimension() << endl |
| 632 | << "LOOKUP_TABLE default" << endl; |
| 633 | |
| 634 | for (auto v : *field) |
| 635 | *fileout << v << " "; |
| 636 | *fileout << endl; |
| 637 | } |
| 638 | } |
| 639 | /// output of data points, XML file format |
| 640 | template <int D> |
| 641 | void VTKOutput<D>::PrintPoints(int *offset, stringstream *appenddata) |