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

#include <ArtificialTsunami2d.h>

Inheritance diagram for tsunami_lab::setups::ArtificialTsunami2d:
Collaboration diagram for tsunami_lab::setups::ArtificialTsunami2d:

Public Member Functions

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

Constructor & Destructor Documentation

◆ ArtificialTsunami2d()

tsunami_lab::setups::ArtificialTsunami2d::ArtificialTsunami2d ( t_real i_centerX,
t_real i_centerY )

Constructor.

Parameters
i_centerXx-coordinate of the displacement centre.
i_centerYy-coordinate of the displacement centre.

Member Function Documentation

◆ getBathymetry()

tsunami_lab::t_real tsunami_lab::setups::ArtificialTsunami2d::getBathymetry ( t_real i_x,
t_real i_y ) const
virtual

Bathymetry: pool floor at -100 m plus the spec displacement inside the 1 km x 1 km centred square.

Implements tsunami_lab::setups::Setup.

◆ getHeight()

tsunami_lab::t_real tsunami_lab::setups::ArtificialTsunami2d::getHeight ( t_real ,
t_real  ) const
virtual

Water height: 100 m everywhere (pool bathymetry b_in = -100).

Implements tsunami_lab::setups::Setup.

◆ getMomentumX()

tsunami_lab::t_real tsunami_lab::setups::ArtificialTsunami2d::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::ArtificialTsunami2d::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: