34#ifndef TSUNAMI_LAB_SETUPS_TSUNAMI_EVENT_2D_H
35#define TSUNAMI_LAB_SETUPS_TSUNAMI_EVENT_2D_H
50 static constexpr t_real DELTA = 20;
80 std::string i_displPath );
109 return m_bathy.
x.empty() ? 0 : (m_bathy.
x.back() - m_bathy.
x.front());
116 return m_bathy.
y.empty() ? 0 : (m_bathy.
y.back() - m_bathy.
y.front());
Definition TsunamiEvent2d.h:47
t_real getMomentumY(t_real, t_real) const
Definition TsunamiEvent2d.cpp:48
t_real getHeight(t_real i_x, t_real i_y) const
Definition TsunamiEvent2d.cpp:32
t_real domainLengthX() const
Definition TsunamiEvent2d.h:108
t_real domainLengthY() const
Definition TsunamiEvent2d.h:115
t_real getMomentumX(t_real, t_real) const
Definition TsunamiEvent2d.cpp:43
t_real getBathymetry(t_real i_x, t_real i_y) const
Definition TsunamiEvent2d.cpp:53
TsunamiEvent2d(std::string i_bathyPath, std::string i_displPath)
Definition TsunamiEvent2d.cpp:12
Definition constants.h:12
float t_real
floating point type
Definition constants.h:17
std::vector< t_real > x
monotonically ascending x (size nx)
Definition NetCdf.h:187
std::vector< t_real > y
monotonically ascending y (size ny)
Definition NetCdf.h:188