Tsunami Project Lab
Loading...
Searching...
No Matches
tsunami_lab::setups::Setup Class Referenceabstract

#include <Setup.h>

Inheritance diagram for tsunami_lab::setups::Setup:

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
 

Detailed Description

Base setup.

Constructor & Destructor Documentation

◆ ~Setup()

virtual tsunami_lab::setups::Setup::~Setup ( )
inlinevirtual

Virtual destructor for base class.

Member Function Documentation

◆ getHeight()

virtual t_real tsunami_lab::setups::Setup::getHeight ( t_real i_x,
t_real i_y ) const
pure virtual

Gets the water height at a given point.

Parameters
i_xx-coordinate of the queried point.
i_yy-coordinate of the queried point.
Returns
water height at the given point.

Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.

◆ getMomentumX()

virtual t_real tsunami_lab::setups::Setup::getMomentumX ( t_real i_x,
t_real i_y ) const
pure virtual

Gets the momentum in x-direction.

Parameters
i_xx-coordinate of the queried point.
i_yy-coordinate of the queried point.
Returns
momentum in x-direction.

Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.

◆ getMomentumY()

virtual t_real tsunami_lab::setups::Setup::getMomentumY ( t_real i_x,
t_real i_y ) const
pure virtual

Gets the momentum in y-direction.

Parameters
i_xx-coordinate of the queried point.
i_yy-coordinate of the queried point.
Returns
momentum in y-direction.

Implemented in tsunami_lab::setups::DamBreak1d, tsunami_lab::setups::RareRare1d, tsunami_lab::setups::Reservoir, and tsunami_lab::setups::ShockShock1d.


The documentation for this class was generated from the following file: