Hold data for validation. Two type: EMcneil, Hudson (DamBreak config)
More...
#include <Sfx_DamBreakData.h>
Hold data for validation. Two type: EMcneil, Hudson (DamBreak config)
◆ pairofloat64
◆ eDataTypes
An enum type. DamBreak data type
Enumerator |
---|
emcneil | E. McNeil parameters
|
hudson | Hudson technical report parameters
|
◆ DamBreakData() [1/2]
◆ DamBreakData() [2/2]
Sfx::DamBreakData::DamBreakData |
( |
std::string | aDataType | ) |
|
|
inline |
◆ dambreakExtent()
DamBreak init config (water level)
- Returns
◆ domainExtent()
spatial domain ectent
- Returns
- pair of x-coord
◆ dX()
float64 Sfx::DamBreakData::dX |
( |
| ) |
const |
|
inlinenoexcept |
spatial step
- Returns
- value of spatial step
◆ getCFL()
float64 Sfx::DamBreakData::getCFL |
( |
| ) |
const |
|
inlinenoexcept |
Courant-Friedrich-Levy number.
- Returns
- value
◆ getDiscrType()
eDataTypes Sfx::DamBreakData::getDiscrType |
( |
| ) |
const |
|
inlinenoexcept |
Type of DamBeak data.
- Returns
- type
◆ getPhi0()
float64 Sfx::DamBreakData::getPhi0 |
( |
| ) |
const |
|
inlinenoexcept |
water level right side of the dam
- Returns
- value
◆ getPhi1()
float64 Sfx::DamBreakData::getPhi1 |
( |
| ) |
const |
|
inlinenoexcept |
water level left side of the dam
- Returns
- value
◆ getS0am()
float64 Sfx::DamBreakData::getS0am |
( |
| ) |
const |
|
inlinenoexcept |
◆ getS0av()
float64 Sfx::DamBreakData::getS0av |
( |
| ) |
const |
|
inlinenoexcept |
◆ getShockLocation()
float64 Sfx::DamBreakData::getShockLocation |
( |
| ) |
const |
|
inlinenoexcept |
location of the shock
- Returns
- value
◆ getWidth()
float64 Sfx::DamBreakData::getWidth |
( |
| ) |
const |
|
inlinenoexcept |
section width
- Returns
- value
◆ isFlatBed()
bool Sfx::DamBreakData::isFlatBed |
( |
| ) |
const |
|
inlinenoexcept |
type of bathymetry
- Returns
- true/false
◆ isFrictionLess()
bool Sfx::DamBreakData::isFrictionLess |
( |
| ) |
const |
|
inlinenoexcept |
use friction
- Returns
- true/false
◆ isUnitSectionWidth()
bool Sfx::DamBreakData::isUnitSectionWidth |
( |
| ) |
const |
|
inlinenoexcept |
type of section geometry
- Returns
- true/false
◆ nbSections()
int32 Sfx::DamBreakData::nbSections |
( |
| ) |
const |
|
inlinenoexcept |
◆ setDiscrType()
void Sfx::DamBreakData::setDiscrType |
( |
| ) |
|
|
inlineprivate |
◆ setEMcNeilParams()
void Sfx::DamBreakData::setEMcNeilParams |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ setHudsonParams()
void Sfx::DamBreakData::setHudsonParams |
( |
| ) |
|
|
inlineprivatenoexcept |
◆ toString() [1/2]
std::string Sfx::DamBreakData::toString |
( |
eDataTypes | aDisc | ) |
const |
|
inlinenoexcept |
string representation of spatial discretization
- Parameters
-
- Returns
- string
◆ toString() [2/2]
std::string Sfx::DamBreakData::toString |
( |
eDataTypes | aDisc | ) |
|
|
inlinenoexcept |
string representation of spatial discretization
- Parameters
-
- Returns
- string
◆ x_max()
float64 Sfx::DamBreakData::x_max |
( |
| ) |
const |
|
inlinenoexcept |
domain extent
- Returns
- x-coord maximum
◆ x_min()
float64 Sfx::DamBreakData::x_min |
( |
| ) |
const |
|
inlinenoexcept |
domain extent
- Returns
- x-coord minimum
◆ m_cfl
float64 Sfx::DamBreakData::m_cfl |
|
private |
Courant-Friedrich-Levy number
◆ m_dambreakExtent
◆ m_discrType
◆ m_domainExtent
◆ m_dX
float64 Sfx::DamBreakData::m_dX |
|
private |
◆ m_flatBed
bool Sfx::DamBreakData::m_flatBed |
|
private |
◆ m_frictionLess
bool Sfx::DamBreakData::m_frictionLess |
|
private |
no-friction (Manning coefficient is zero)
◆ m_NbSects
int32 Sfx::DamBreakData::m_NbSects |
|
private |
number of computational nodes
◆ m_Phi0
float64 Sfx::DamBreakData::m_Phi0 |
|
private |
◆ m_Phi1
float64 Sfx::DamBreakData::m_Phi1 |
|
private |
water level at downstream
◆ m_S0am
float64 Sfx::DamBreakData::m_S0am |
|
private |
◆ m_S0av
float64 Sfx::DamBreakData::m_S0av |
|
private |
◆ m_sectWidth
float64 Sfx::DamBreakData::m_sectWidth |
|
private |
◆ m_shockLocation
float64 Sfx::DamBreakData::m_shockLocation |
|
private |
◆ m_unitSectWidth
bool Sfx::DamBreakData::m_unitSectWidth |
|
private |
◆ m_Xmax
float64 Sfx::DamBreakData::m_Xmax |
|
private |
x-coordinate of the right bound. node
◆ m_Xmin
float64 Sfx::DamBreakData::m_Xmin |
|
private |
x-coordinate of the left bound. node
The documentation for this class was generated from the following file: