|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Path-pattern sink that writes VTK legacy frames. More...
#include <ca-vtk.H>
Public Member Functions | |
| VTK_Frame_Sink (std::filesystem::path path_pattern, VTK_Write_Options opts={}, const std::size_t zero_pad=6) | |
| Build a VTK frame sink. | |
| template<typename Lattice > | |
| void | accept (const std::size_t step, const Lattice &frame) |
| Write one VTK frame. | |
| void | flush () |
| VTK frames are written eagerly; this is a no-op. | |
Private Attributes | |
| std::filesystem::path | pattern_ |
| VTK_Write_Options | opts_ {} |
| std::size_t | zero_pad_ = 6 |
|
inlineexplicit |
Write one VTK frame.
| Lattice | rank-2 or rank-3 lattice type. |
| [in] | step | simulation step. |
| [in] | frame | frame to write. |
Definition at line 197 of file ca-vtk.H.
References ah_runtime_error_if, Aleph::blossom_maximum_cardinality_matching(), Aleph::CA::format_step_path(), opts_, out, pattern_, Aleph::CA::write_vtk_legacy(), and zero_pad_.
|
inline |
|
private |
|
private |
|
private |