|
Tsunami Project Lab
|
#include <Setup.h>

Public Member Functions | |
| virtual | ~Setup () |
| virtual t_real | getHeight (t_real i_x, t_real i_y) const =0 |
| virtual t_real | getMomentumX (t_real i_x, t_real i_y) const =0 |
| virtual t_real | getMomentumY (t_real i_x, t_real i_y) const =0 |
Base setup.
|
inlinevirtual |
Virtual destructor for base class.
Gets the water height at a given point.
| i_x | x-coordinate of the queried point. |
| i_y | y-coordinate of the queried point. |
Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.
|
pure virtual |
Gets the momentum in x-direction.
| i_x | x-coordinate of the queried point. |
| i_y | y-coordinate of the queried point. |
Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.
|
pure virtual |
Gets the momentum in y-direction.
| i_x | x-coordinate of the queried point. |
| i_y | y-coordinate of the queried point. |
Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.