DUNE PDELab (2.8)

Dune::GnuplotWriter< GridView > Class Template Reference

Writer for 1D grids in gnuplot format. More...

#include <dune/grid/io/file/gnuplot.hh>

Public Member Functions

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...
 

Detailed Description

template<class GridView>
class Dune::GnuplotWriter< GridView >

Writer for 1D grids in gnuplot format.

Template Parameters
GridTypethe grid
GridViewLevel- or LeafGridView

Member Function Documentation

◆ addCellData()

template<class GridView >
template<class DataContainer >
void Dune::GnuplotWriter< GridView >::addCellData ( const DataContainer &  data,
const std::string &  name 
)
inline

Add cell data.

Parameters
dataAn ISTL compliant vector type
nameassociated with the data

References DUNE_THROW.

◆ addVertexData()

template<class GridView >
template<class DataContainer >
void Dune::GnuplotWriter< GridView >::addVertexData ( const DataContainer &  data,
const std::string &  name 
)
inline

Add vertex data.

Parameters
dataAn ISTL compliant vector type
nameassociated with the data

◆ write()

template<class GridView >
void Dune::GnuplotWriter< GridView >::write ( const std::string &  filename) const

Write Gnuplot file to disk.

Parameters
filenameName of the file to write to

The documentation for this class was generated from the following files:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Dec 21, 23:30, 2024)