Writes the energy distribution function to a file which can be processed by Gnuplot. Works for 1d, 2d and 3d only. More...
#include <gnuplot_writer_edf.hpp>
Public Member Functions | |
template<typename DeviceType , typename EDFWrapperT > | |
void | operator() (DeviceType const &device, EDFWrapperT const &edf, const double coordinate_x, const std::string filename) const |
Triggers the write process. More... | |
template<typename DeviceType , typename CellFilterType , typename EDFWrapperT > | |
void | operator() (DeviceType const &device, CellFilterType const &cell_filter, EDFWrapperT const &edf, const std::string filename) |
Helper function for writing the energy distribution function at a particular points to a plain text file. Output can be processed by e.g. Gnuplot. More... | |
Writes the energy distribution function to a file which can be processed by Gnuplot. Works for 1d, 2d and 3d only.
Definition at line 44 of file gnuplot_writer_edf.hpp.
|
inline |
Helper function for writing the energy distribution function at a particular points to a plain text file. Output can be processed by e.g. Gnuplot.
device | The device |
cell_filter | A cell filter (has operator(CellType const & cell)), which returns true if the writer should be doing something for the given cell |
edf | The energy distribution function (cf. df_wrappers.hpp) |
filename | The path/filename where the data gets written to |
Definition at line 120 of file gnuplot_writer_edf.hpp.
|
inline |
Triggers the write process.
device | The device (includes a ViennaGrid mesh) on which simulation is carried out |
edf | The distribution function |
coordinate_x | x-coordinate of the point for which the data should be written |
filename | Name of the file to be written to |
Definition at line 55 of file gnuplot_writer_edf.hpp.