specfem::periodic_tasks::plot_wavefield

template<specfem::dimension::type DimensionTag>
class plot_wavefield

Periodic task to plot the wavefield during simulation.

The plot_wavefield class is responsible for visualizing the wavefield (e.g., displacement, velocity, acceleration) at regular intervals during the time-stepping loop. It supports different output formats and can handle 2D and 3D simulations through template specialization.

This class typically interfaces with visualization libraries (like VTK) to generate image files or data files for post-processing.

Template Parameters:

DimensionTag – The dimension of the simulation (dim2 or dim3).