#include <sim_fdm_source.hpp>
|
| Source (const Point2D &initial_coords, const CoordT &vel, const Impulse &impulse, const int coords_mask=X_COORD|Z_COORD) |
|
| Source (const Source &other) |
|
Source & | operator= (const Source &other) |
|
const Point2D & | initialCoords () const |
|
void | setInitialCoords (const Point2D &initial_coords) |
|
const CoordT & | vel () const |
|
void | setVel (const CoordT &vel) |
|
const Impulse & | impulse () const |
|
void | setImpulse (const Impulse &impulse) |
|
int | coordsMask () const |
|
void | setCoordsMask (const int coords_mask) |
|
bool | operator() (const TimeT &initial_time, Snapshot &snapshot) const |
|
Source function. Provides momental snapshot (x,z) of initial amplitudes.
sim::fdm::Source::Source |
( |
const Point2D & |
initial_coords, |
|
|
const CoordT & |
vel, |
|
|
const Impulse & |
impulse, |
|
|
const int |
coords_mask = X_COORD|Z_COORD |
|
) |
| |
Construct source.
- Parameters
-
initial_coords | Initial coordinates of source impulse (m). |
vel | Velocity near initial coords (m/s). |
impulse | Impulse of the source. |
coords_mask | Mask of coordinates of the source projections. |
bool sim::fdm::Source::operator() |
( |
const TimeT & |
initial_time, |
|
|
Snapshot & |
snapshot |
|
) |
| const |
Updates provided snapshot with source signal.
- Parameters
-
snapshot | xz-snapshot to be updated with amplitudes of the source. |
- Returns
- false on error.
int sim::fdm::Source::m_coords_mask |
|
protected |
Mask of coordinates of the source projections.
Point2D sim::fdm::Source::m_initial_coords |
|
protected |
Initial coordinates of source impulse (m).
CoordT sim::fdm::Source::m_vel |
|
protected |
Velocity near initial coords (m/s).
Impulse* sim::fdm::Source::mp_impulse |
|
protected |
The documentation for this class was generated from the following file: