dune-grid
2.4.1-rc2
|
Writer for 1D grids in gnuplot format. More...
#include <dune/grid/io/file/gnuplot.hh>
Public Member Functions | |
GnuplotWriter (const GridView &gv) | |
template<class DataContainer > | |
void | addCellData (const DataContainer &data, const std::string &name) |
Add cell data. More... | |
template<class DataContainer > | |
void | addVertexData (const DataContainer &data, const std::string &name) |
Add vertex data. More... | |
void | write (const std::string &filename) const |
Write Gnuplot file to disk. More... | |
Writer for 1D grids in gnuplot format.
GridType | the grid |
GridView | Level- or LeafGridView |
|
inline |
|
inline |
Add cell data.
data | An ISTL compliant vector type |
name | associated with the data |
|
inline |
Add vertex data.
data | An ISTL compliant vector type |
name | associated with the data |
void Dune::GnuplotWriter< GridView >::write | ( | const std::string & | filename | ) | const |
Write Gnuplot file to disk.
filename | Name of the file to write to |
References Dune::GridView< ViewTraits >::dimension.
Referenced by Dune::GnuplotWriter< G::LeafGridView >::addVertexData().