dune-grid 2.9.0
Public Member Functions | List of all members
Dune::LevelGnuplotWriter< G > Class Template Reference

GnuplotWriter on a given level grid. More...

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

Inheritance diagram for Dune::LevelGnuplotWriter< G >:
Inheritance graph

Public Member Functions

 LevelGnuplotWriter (const G &grid, int level)
 Construct a Gnuplot writer for a certain level of a given grid. More...
 
void addCellData (const DataContainer &data, const std::string &name)
 Add cell data. More...
 
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 G>
class Dune::LevelGnuplotWriter< G >

GnuplotWriter on a given level grid.

Constructor & Destructor Documentation

◆ LevelGnuplotWriter()

template<class G >
Dune::LevelGnuplotWriter< G >::LevelGnuplotWriter ( const G &  grid,
int  level 
)
inline

Construct a Gnuplot writer for a certain level of a given grid.

Member Function Documentation

◆ addCellData()

void Dune::GnuplotWriter< G::LevelGridView >::addCellData ( const DataContainer &  data,
const std::string &  name 
)
inlineinherited

Add cell data.

Parameters
dataAn ISTL compliant vector type
nameassociated with the data

◆ addVertexData()

void Dune::GnuplotWriter< G::LevelGridView >::addVertexData ( const DataContainer &  data,
const std::string &  name 
)
inlineinherited

Add vertex data.

Parameters
dataAn ISTL compliant vector type
nameassociated with the data

◆ write()

void Dune::GnuplotWriter< G::LevelGridView >::write ( const std::string &  filename) const
inherited

Write Gnuplot file to disk.

Parameters
filenameName of the file to write to

The documentation for this class was generated from the following file: