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

#include <TsunamiEvent1d.h>

Inheritance diagram for tsunami_lab::setups::TsunamiEvent1d:
Collaboration diagram for tsunami_lab::setups::TsunamiEvent1d:

Public Member Functions

 TsunamiEvent1d (t_real i_amplitude=10, t_real i_zoneStart=175000, t_real i_zoneEnd=250000)
 
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, t_real) const
 
- Public Member Functions inherited from tsunami_lab::setups::Setup
virtual ~Setup ()
 

Detailed Description

TsunamiEvent1d flow setup.

Constructor & Destructor Documentation

◆ TsunamiEvent1d()

tsunami_lab::setups::TsunamiEvent1d::TsunamiEvent1d ( t_real i_amplitude = 10,
t_real i_zoneStart = 175000,
t_real i_zoneEnd = 250000 )

Constructor.

Parameters
i_amplitudeearthquake displacement amplitude in meters.
i_zoneStartstart of the displacement zone in meters.
i_zoneEndend of the displacement zone in meters.

Member Function Documentation

◆ getBathymetry()

tsunami_lab::t_real tsunami_lab::setups::TsunamiEvent1d::getBathymetry ( t_real i_x,
t_real  ) const
virtual

Gets the bathymetry.

Returns
bathymetry.

Implements tsunami_lab::setups::Setup.

◆ getHeight()

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

Gets the water height at a given point.

Returns
height at the given point.

Implements tsunami_lab::setups::Setup.

◆ getMomentumX()

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