FieldDiagPlotter Class Reference
Non-interactive fielddiag plotter. More...
#include <fielddiagplotter.hpp>
Inheritance diagram for FieldDiagPlotter:
Public Member Functions | |
| FieldDiagPlotter (const Geometry &geom) | |
| Constructor for field diagnostic plotter. More... | |
| virtual | ~FieldDiagPlotter () |
| Destructor for field diagnostic plotter. More... | |
Public Member Functions inherited from Plotter | |
| void | set_size (size_t width, size_t height) |
| Set size of plot. More... | |
| void | set_font_size (size_t size) |
| Set font size for plot. More... | |
| void | set_ranges (double xmin, double ymin, double xmax, double ymax) |
| Set ranges of plot in x- and y-directions. More... | |
| void | plot_png (const std::string &filename) |
| Make a plot to a PNG-file. More... | |
| void | plot_eps (const std::string &filename) |
| Make a plot to a EPS-file. More... | |
| void | plot_pdf (const std::string &filename) |
| Make a plot to a PDF-file. More... | |
| void | plot_svg (const std::string &filename) |
| Make a plot to a SVG-file. More... | |
Public Member Functions inherited from FieldDiagPlot | |
| FieldDiagPlot (Frame &frame, const Geometry &geom) | |
| Constructor for field diagnostics plot. More... | |
| ~FieldDiagPlot () | |
| Destructor for field diagnostics plot. More... | |
| void | set_epot (const ScalarField *epot) |
| Add pointer to electric potential. More... | |
| void | set_efield (const VectorField *efield) |
| Add pointer to electric field. More... | |
| void | set_scharge (const ScalarField *scharge) |
| Add pointer to space charge density map. More... | |
| void | set_trajdens (const ScalarField *trajdens) |
| Add pointer to trajectory density map. More... | |
| void | set_bfield (const VectorField *bfield) |
| Add pointer to magnetic field. More... | |
| void | set_coordinates (size_t N, const Vec3D &x1, const Vec3D &x2) |
| Set coordinates for field diagnostics. More... | |
| const Vec3D & | start (void) |
| Get start coordinates of diagnostic line. More... | |
| const Vec3D & | end (void) |
| Get end coordinates of diagnostic line. More... | |
| const size_t & | N (void) |
| Get number of steps on diagnostic line. More... | |
| void | set_diagnostic (const field_diag_type_e diag[2], const field_loc_type_e loc[2]) |
| Set field and location plot types. More... | |
| const field_diag_type_e & | get_diagnostic_type (int i) |
| Get diagnostic type for y-axis i. More... | |
| const field_loc_type_e & | get_location_type (int i) |
| Get location type for x-axis i. More... | |
| void | export_data (const std::string &filename) const |
| Export plotted data as ASCII. More... | |
| void | build_plot (void) |
| Rebuild plot. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Plotter | |
| Plotter () | |
| Constructor for plotter. More... | |
| virtual | ~Plotter () |
| Destructor for plotter. More... | |
Protected Attributes inherited from Plotter | |
| Frame | _frame |
Detailed Description
Non-interactive fielddiag plotter.
This class ties together Plotter, which provides basic graphics features including frame control, and FieldDiagPlot, which makes the fielddiag plot.
Constructor & Destructor Documentation
| FieldDiagPlotter::FieldDiagPlotter | ( | const Geometry & | geom | ) |
Constructor for field diagnostic plotter.
|
virtual |
Destructor for field diagnostic plotter.
The documentation for this class was generated from the following files:
Public Member Functions inherited from