3 #ifndef __sim_fdm_source_hpp
4 #define __sim_fdm_source_hpp
6 #include <s2proc/sim_service.hpp>
7 #include <s2proc/sim_point_2d.hpp>
50 const Point2D& initialCoords()
const
53 void setInitialCoords(
const Point2D &initial_coords)
57 const CoordT& vel()
const
60 void setVel(
const CoordT &vel)
67 void setImpulse(
const Impulse &impulse);
70 int coordsMask()
const
73 void setCoordsMask(
const int coords_mask)
Definition: sim_fdm_source.hpp:27
Definition: sim_service.hpp:22
Definition: sim_fdm_snapshot.hpp:23
int m_coords_mask
Definition: sim_fdm_source.hpp:88
Point2D m_initial_coords
Definition: sim_fdm_source.hpp:85
CoordT m_vel
Definition: sim_fdm_source.hpp:86
Definition: sim_service.hpp:23
Source(const Point2D &initial_coords, const CoordT &vel, const Impulse &impulse, const int coords_mask=X_COORD|Z_COORD)
Definition: sim_point_2d.hpp:16
bool sim(size_t n, const Trace::AmplT *x, const Trace::AmplT *y, Trace::AmplT &s)
Definition: sim_impulse.hpp:28
Impulse * mp_impulse
Definition: sim_fdm_source.hpp:87
bool operator()(const TimeT &initial_time, Snapshot &snapshot) const