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

#include <DamBreak1d.h>

Inheritance diagram for tsunami_lab::setups::DamBreak1d:
Collaboration diagram for tsunami_lab::setups::DamBreak1d:

Public Member Functions

 DamBreak1d (t_real i_heightLeft, t_real i_heightRight, t_real i_locationDam)
 
t_real getHeight (t_real i_x, t_real) const
 
t_real getMomentumX (t_real, t_real) const
 
t_real getMomentumY (t_real, t_real) const
 
- Public Member Functions inherited from tsunami_lab::setups::Setup
virtual ~Setup ()
 

Detailed Description

1d dam break setup.

Constructor & Destructor Documentation

◆ DamBreak1d()

tsunami_lab::setups::DamBreak1d::DamBreak1d ( t_real i_heightLeft,
t_real i_heightRight,
t_real i_locationDam )

Constructor.

Parameters
i_heightLeftwater height on the left side of the dam.
i_heightRightwater height on the right side of the dam.
i_locationDamlocation (x-coordinate) of the dam.
Author
Alexander Breuer (alex.breuer AT uni-jena.de)

DESCRIPTION

One-dimensional dam break problem.

Member Function Documentation

◆ getHeight()

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

Gets the water height at a given point.

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

Implements tsunami_lab::setups::Setup.

◆ getMomentumX()

tsunami_lab::t_real tsunami_lab::setups::DamBreak1d::getMomentumX ( t_real ,
t_real  ) const
virtual

Gets the momentum in x-direction.

Returns
momentum in x-direction.

Implements tsunami_lab::setups::Setup.

◆ getMomentumY()

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

Gets the momentum in y-direction.

Returns
momentum in y-direction.

Implements tsunami_lab::setups::Setup.


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