Dune::GnuplotWriter< GridType, IndexSet > Class Template Reference
[Gnuplot]
#include <gnuplot.hh>
Detailed Description
template<class GridType, class IndexSet>
class Dune::GnuplotWriter< GridType, IndexSet >
Writer for 1D grids in gnuplot format.
- Parameters:
-
GridType the grid IndexSet Level- or LeafIndexSet
Public Member Functions | |
template<class DataContainer> | |
void | addCellData (const DataContainer &data, const std::string &name) |
Add cell data. | |
template<class DataContainer> | |
void | addVertexData (const DataContainer &data, const std::string &name) |
Add vertex data. | |
void | write (const std::string &filename) const |
Write Gnuplot file to disk. |
Member Function Documentation
template<class GridType, class IndexSet>
template<class DataContainer>
void Dune::GnuplotWriter< GridType, IndexSet >::addCellData | ( | const DataContainer & | data, | |
const std::string & | name | |||
) | [inline] |
Add cell data.
- Parameters:
-
An ISTL compliant vector type name associated with the data
template<class GridType, class IndexSet>
template<class DataContainer>
void Dune::GnuplotWriter< GridType, IndexSet >::addVertexData | ( | const DataContainer & | data, | |
const std::string & | name | |||
) | [inline] |
Add vertex data.
- Parameters:
-
An ISTL compliant vector type name associated with the data
template<class GridType, class IndexSet>
void Dune::GnuplotWriter< GridType, IndexSet >::write | ( | const std::string & | filename | ) | const [inline] |
Write Gnuplot file to disk.
- Parameters:
-
filename Name of the file to write to
References Dune::IndexSet< GridImp, IndexSetImp, IndexSetTypes >::index().
The documentation for this class was generated from the following files: