![]() |
WaveSimPP 1.0
A C library for solving the wave equation and reconstructing the wave field
|
Namespaces | |
| namespace | wavePlotter |
| Custom plotter class. | |
Classes | |
| class | wavePlotter::Plotter |
| This class is used to plot the wave field TODO: make it multithreaded. More... | |
Functions | |
| wavePlotter::Plotter::Plotter (const boost::multi_array< double, 3 > &u, const matplot::vector_2d &Xp, const matplot::vector_2d &Zp, int num_levels, int nt) | |
| Constructor. | |
| void | wavePlotter::Plotter::renderFrame (int index) |
| Renders a frame of the wave field to a image on disk. | |
| void | wavePlotter::Plotter::renderAllFrames (int begin_frame_index, int end_frame_index) |
| Renders all frames of the wave field to form an animation to be saved on disk. | |
| void | wavePlotter::Plotter::animate (std::string output_file_name, int begin_frame_index, int end_frame_index, int frame_rate) |
| Renders a complete video animation of the wave field. | |
| void | wavePlotter::Plotter::exportFrame (int index) |
| Export a frame of the wave field to a .csv format for external use. | |
| void | wavePlotter::Plotter::exportAllFrames (int begin_frame_index, int end_frame_index) |
| Export all frames of the wave field to a .csv format for external use. | |
| void | wavePlotter::Plotter::setSaveDirectory (std::string save_directory) |
| Set the save directory for the rendered frames. | |
|
inline |
Renders a complete video animation of the wave field.
Definition at line 56 of file wavePlotter.hpp.
|
inline |
Export all frames of the wave field to a .csv format for external use.
Definition at line 82 of file wavePlotter.hpp.
|
inline |
Export a frame of the wave field to a .csv format for external use.
Definition at line 63 of file wavePlotter.hpp.
|
inline |
Constructor.
Definition at line 25 of file wavePlotter.hpp.
|
inline |
Renders all frames of the wave field to form an animation to be saved on disk.
Definition at line 47 of file wavePlotter.hpp.
|
inline |
Renders a frame of the wave field to a image on disk.
Definition at line 39 of file wavePlotter.hpp.
|
inline |
Set the save directory for the rendered frames.
Definition at line 91 of file wavePlotter.hpp.