3 #ifndef __sim_fdm_snapshot_hpp
4 #define __sim_fdm_snapshot_hpp
7 #include <s2proc/sim_service.hpp>
8 #include <s2proc/sim_point_2d.hpp>
43 const std::vector<CoordT> &dx_vec,
44 const std::vector<CoordT> &dz_vec);
52 const Point2D &bottom_right_coords,
118 static bool test_to_file(
const Snapshot &snapshot,
const std::string &fname);
123 std::vector<AmplT> m_u_snapshot;
124 std::vector<AmplT> m_w_snapshot;
std::vector< AmplT > & operator()(const CoordsMask &coord)
Point2D m_top_left_coords
Definition: sim_fdm_snapshot.hpp:64
int id(const Point2D &coords) const
Definition: sim_fdm_snapshot.hpp:23
const Area & area() const
Definition: sim_fdm_snapshot.hpp:115
CoordsMask
Definition: sim_service.hpp:20
Area()
Definition: sim_fdm_snapshot.hpp:35
Definition: sim_fdm_snapshot.hpp:30
const std::vector< CoordT > & stepVec(const CoordsMask &coord) const
Definition: sim_point_2d.hpp:16
bool sim(size_t n, const Trace::AmplT *x, const Trace::AmplT *y, Trace::AmplT &s)
std::vector< CoordT > m_dx_vec
Definition: sim_fdm_snapshot.hpp:65
std::vector< CoordT > m_dz_vec
Definition: sim_fdm_snapshot.hpp:66
const Point2D & topLeftCoords() const
Definition: sim_fdm_snapshot.hpp:56