Sole responsibility is to provide wave profile at initial start up based on DamBreakData.
More...
#include <Sfx_DamBreakInitialCnd.h>
Sole responsibility is to provide wave profile at initial start up based on DamBreakData.
◆ wavfuncptr
◆ DamBreakInitialCnd() [1/3]
Sfx::DamBreakInitialCnd::DamBreakInitialCnd |
( |
const DamBreakData & | aDbData | ) |
|
ctor from data
- Parameters
-
<
◆ ~DamBreakInitialCnd()
Sfx::DamBreakInitialCnd::~DamBreakInitialCnd |
( |
| ) |
|
◆ DamBreakInitialCnd() [2/3]
◆ DamBreakInitialCnd() [3/3]
move copy ctor
- Parameters
-
aOther | object to move from |
<
◆ allocateDiscrParams()
void Sfx::DamBreakInitialCnd::allocateDiscrParams |
( |
| ) |
|
|
private |
◆ freeDiscrParams()
void Sfx::DamBreakInitialCnd::freeDiscrParams |
( |
| ) |
|
|
private |
◆ getICtype()
Initial condition type (not completed)
- Returns
- data type
◆ Hvalues()
std::vector< float64 > Sfx::DamBreakInitialCnd::Hvalues |
( |
| ) |
const |
|
inline |
water level values
- Returns
- vector of values
◆ initMcNeil1D()
void Sfx::DamBreakInitialCnd::initMcNeil1D |
( |
| ) |
|
|
private |
◆ isFrictionLess()
bool Sfx::DamBreakInitialCnd::isFrictionLess |
( |
| ) |
const |
|
inlinenoexcept |
considering friction
- Returns
- true/false
◆ isSectionUnitWidth()
bool Sfx::DamBreakInitialCnd::isSectionUnitWidth |
( |
| ) |
const |
|
inlinenoexcept |
considering unit section width
- Returns
- true/false
◆ isUsingFlatBed()
bool Sfx::DamBreakInitialCnd::isUsingFlatBed |
( |
| ) |
const |
|
inlinenoexcept |
considering no variable bathymetry
- Returns
- true/false
◆ ncoefVector()
std::vector< float64 > Sfx::DamBreakInitialCnd::ncoefVector |
( |
| ) |
const |
|
inline |
node friction coefficient
- Returns
- vector
◆ nValues()
std::vector< float64 > Sfx::DamBreakInitialCnd::nValues |
( |
| ) |
const |
|
inline |
Manning friction codefficient.
- Returns
- vector of values
◆ operator=() [1/2]
Assignment ctor.
- Parameters
-
- Returns
- this
◆ operator=() [2/2]
move assignment
- Parameters
-
aOther | object to move from |
- Returns
- this
◆ save2File()
void Sfx::DamBreakInitialCnd::save2File |
( |
| ) |
|
|
inline |
Save initial condition in a file (scenario concept)
◆ setBathyValues()
void Sfx::DamBreakInitialCnd::setBathyValues |
( |
const std::vector< float64 > & | aNvec | ) |
|
Bathymetry values.
- Parameters
-
◆ setH()
std::unique_ptr< scalarField1D > Sfx::DamBreakInitialCnd::setH |
( |
| ) |
|
water level (height)
- Returns
- smart pointer scalar field
◆ setIC() [1/3]
Sfx::StateVectorField Sfx::DamBreakInitialCnd::setIC |
( |
| ) |
|
set initial condition
- Returns
- State vector
◆ setIC() [2/3]
template<typename T, typename CONT = std::vector<T>>
void Sfx::DamBreakInitialCnd::setIC |
( |
CONT | aContOfObj | ) |
|
|
inline |
set initial condition (Not implemented yet)
- Template Parameters
-
- Parameters
-
aContOfObj | container of values |
◆ setIC() [3/3]
Set initial condition for the DAM-BREAK Problem.
- Parameters
-
aData | type of dam break data |
◆ setManningCoefficients()
void Sfx::DamBreakInitialCnd::setManningCoefficients |
( |
const std::vector< float64 > & | aNvec | ) |
|
values at each node (but first need to call initMcNeil1D)
- Parameters
-
◆ U1values()
std::vector< float64 > Sfx::DamBreakInitialCnd::U1values |
( |
| ) |
const |
|
inline |
first state variable
- Returns
- vector of values
◆ U2values()
std::vector< float64 > Sfx::DamBreakInitialCnd::U2values |
( |
| ) |
const |
|
inline |
second state variable
- Returns
- vector of values
◆ Xcoord()
std::vector< float64 > Sfx::DamBreakInitialCnd::Xcoord |
( |
| ) |
const |
|
inlinenoexcept |
x-coordinate
- Returns
- vector of values
◆ xcoordVector()
std::vector< float64 > Sfx::DamBreakInitialCnd::xcoordVector |
( |
| ) |
const |
|
inline |
Domain spatial x-coord.
- Returns
- vector
◆ zbathyVector()
std::vector< float64 > Sfx::DamBreakInitialCnd::zbathyVector |
( |
| ) |
const |
|
inline |
node bathymetry or topography (bottom)
- Returns
- vector
◆ Zvalues()
std::vector< float64 > Sfx::DamBreakInitialCnd::Zvalues |
( |
| ) |
const |
|
inline |
bathymetry values
- Returns
- vector of values
float64 Sfx::DamBreakInitialCnd::B |
|
private |
◆ dx
float64 Sfx::DamBreakInitialCnd::dx |
|
private |
float64* Sfx::DamBreakInitialCnd::H |
|
private |
float64* Sfx::DamBreakInitialCnd::h |
|
private |
◆ m_dbData
◆ m_flatBed
bool Sfx::DamBreakInitialCnd::m_flatBed {true} |
|
private |
◆ m_frictionLess
bool Sfx::DamBreakInitialCnd::m_frictionLess { true } |
|
private |
◆ m_h
◆ m_sectionUnit
bool Sfx::DamBreakInitialCnd::m_sectionUnit { true } |
|
private |
◆ m_shockLocation
float64 Sfx::DamBreakInitialCnd::m_shockLocation |
|
private |
◆ m_z
float64 * Sfx::DamBreakInitialCnd::n |
|
private |
◆ NbSections
int32 Sfx::DamBreakInitialCnd::NbSections |
|
private |
◆ S0am
float64 Sfx::DamBreakInitialCnd::S0am |
|
private |
◆ S0av
float64 Sfx::DamBreakInitialCnd::S0av |
|
private |
◆ U1
float64* Sfx::DamBreakInitialCnd::U1 |
|
private |
◆ U2
float64* Sfx::DamBreakInitialCnd::U2 |
|
private |
float64* Sfx::DamBreakInitialCnd::X |
|
private |
float64* Sfx::DamBreakInitialCnd::Z |
|
private |
The documentation for this class was generated from the following files: