SWE
Public Member Functions
SWE_BathymetryDamBreakScenario Class Reference

#include <SWE_simple_scenarios.hh>

Inheritance diagram for SWE_BathymetryDamBreakScenario:
SWE_Scenario

List of all members.

Public Member Functions

float getBathymetry (float x, float y)
virtual float endSimulation ()
virtual BoundaryType getBoundaryType (BoundaryEdge edge)
float getBoundaryPos (BoundaryEdge i_edge)
float getWaterHeight (float i_positionX, float i_positionY)

Detailed Description

Scenario "Bathymetry Dam Break": uniform water depth, but elevated bathymetry in the centre of the domain


Member Function Documentation

float SWE_BathymetryDamBreakScenario::getBoundaryPos ( BoundaryEdge  i_edge) [inline, virtual]

Get the boundary positions

Parameters:
i_edgewhich edge
Returns:
value in the corresponding dimension

Reimplemented from SWE_Scenario.

float SWE_BathymetryDamBreakScenario::getWaterHeight ( float  i_positionX,
float  i_positionY 
) [inline, virtual]

Get the water height at a specific location.

Parameters:
i_positionXposition relative to the origin of the bathymetry grid in x-direction
i_positionYposition relative to the origin of the bathymetry grid in y-direction
Returns:
water height (before the initial displacement)

Reimplemented from SWE_Scenario.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends