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

#include <CircularDamBreak2d.h>

Inheritance diagram for tsunami_lab::setups::CircularDamBreak2d:
Collaboration diagram for tsunami_lab::setups::CircularDamBreak2d:

Public Member Functions

 CircularDamBreak2d (t_real i_heightInside, t_real i_heightOutside, t_real i_damRadius, t_real i_centerX, t_real i_centerY)
 
t_real getHeight (t_real i_x, t_real i_y) const
 
t_real getMomentumX (t_real, 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 ()
 

Constructor & Destructor Documentation

◆ CircularDamBreak2d()

tsunami_lab::setups::CircularDamBreak2d::CircularDamBreak2d ( t_real i_heightInside,
t_real i_heightOutside,
t_real i_damRadius,
t_real i_centerX,
t_real i_centerY )

Constructor.

Parameters
i_heightInsidewater height inside the dam.
i_heightOutsidewater height outside the dam.
i_damRadiusradius of the dam.
i_centerXx-coordinate of the dam centre.
i_centerYy-coordinate of the dam centre.
Author
Moritz Arnhold, Moritz Martin

DESCRIPTION

Two-dimensional circular dam break setup (assignment 4.1).

Member Function Documentation

◆ getBathymetry()

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

Bathymetry (always 0 — flat bottom).

Implements tsunami_lab::setups::Setup.

◆ getHeight()

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

Gets the water height at a given point.

Implements tsunami_lab::setups::Setup.

◆ getMomentumX()

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

Momentum in x-direction (always 0).

Implements tsunami_lab::setups::Setup.

◆ getMomentumY()

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

Momentum in y-direction (always 0).

Implements tsunami_lab::setups::Setup.


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