16#ifndef TSUNAMI_LAB_IO_STATIONS_H
17#define TSUNAMI_LAB_IO_STATIONS_H
45 std::vector<Station> m_stations;
51 t_real m_nextSampleTime = 0;
109 std::string
const &
name(
t_idx i )
const {
return m_stations[i].name; }
t_idx cellIx(t_idx i) const
Definition Stations.h:114
t_real frequency() const
Definition Stations.h:120
std::string const & name(t_idx i) const
Definition Stations.h:109
void sample(t_real i_simTime, t_real const *i_h, t_real const *i_hu, t_real const *i_hv, t_real const *i_bm)
Definition Stations.cpp:149
t_idx cellIy(t_idx i) const
Definition Stations.h:115
t_idx size() const
Definition Stations.h:104
Stations(std::string i_xmlPath, t_real i_dxy, t_idx i_nx, t_idx i_ny, t_idx i_stride)
Definition Stations.cpp:25
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17
std::size_t t_idx
integral type for cell-ids, pointer arithmetic, etc.
Definition constants.h:14