Tsunami Project Lab
Loading...
Searching...
No Matches
tsunami_lab::setups::Reservoir Class Reference

#include <Reservoir.h>

Inheritance diagram for tsunami_lab::setups::Reservoir:
Collaboration diagram for tsunami_lab::setups::Reservoir:

Public Member Functions

 Reservoir ()
 
t_real getHeight (t_real i_x, t_real) const
 
t_real getMomentumX (t_real i_x, t_real) const
 
t_real getMomentumY (t_real, t_real) const
 
t_real getBathymetry (t_real, t_real) const
 
- Public Member Functions inherited from tsunami_lab::setups::Setup
virtual ~Setup ()
 

Detailed Description

1d rare-rare setup.

Constructor & Destructor Documentation

◆ Reservoir()

tsunami_lab::setups::Reservoir::Reservoir ( )
inline

Member Function Documentation

◆ getBathymetry()

tsunami_lab::t_real tsunami_lab::setups::Reservoir::getBathymetry ( t_real ,
t_real  ) const
virtual

Gets the bathymetry.

Returns
bathymetry (always 0).

Implements tsunami_lab::setups::Setup.

◆ getHeight()

tsunami_lab::t_real tsunami_lab::setups::Reservoir::getHeight ( t_real i_x,
t_real  ) const
virtual

Water height.

Author
Moritz Arnhold, Moritz Martin

DESCRIPTION

Implements the functions for a reservoir-village scenario, with scpecific values

Implements tsunami_lab::setups::Setup.

◆ getMomentumX()

tsunami_lab::t_real tsunami_lab::setups::Reservoir::getMomentumX ( t_real i_x,
t_real  ) const
virtual

Momentum on x-axis.

Implements tsunami_lab::setups::Setup.

◆ getMomentumY()

tsunami_lab::t_real tsunami_lab::setups::Reservoir::getMomentumY ( t_real ,
t_real  ) const
virtual

Momentum on y-axis (always 0 with rare-rare).

Implements tsunami_lab::setups::Setup.


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