![]() |
DamBreak++ Wave Simulator 0.3
DamBreak++ Simulation Framework
|
List of cross-section flow (itereable) More...
#include <dbpp_ListSectionsFlow.h>
Public Types | |
using | vec_sizetype = std::vector<SectionFlow>::size_type |
Aliases. | |
using | vec_valtype = std::vector<SectionFlow>::value_type |
using | vec_iter = std::vector<SectionFlow>::iterator |
using | vec_citer = std::vector<SectionFlow>::const_iterator |
using | vec_riter = std::reverse_iterator<vec_iter> |
using | vec_rciter = std::reverse_iterator<vec_citer> |
Public Member Functions | |
vec_iter | begin () |
vec_iter | end () |
vec_riter | rbegin () |
vec_riter | rend () |
vec_citer | cbegin () const |
vec_citer | cend () const |
vec_rciter | crbegin () const |
vec_rciter | crend () const |
void | push_back (const SectionFlow &aSectF) |
void | push_back (SectionFlow &&aSectF) |
bool | contains (SectionFlow aSectF2Find) |
void | clear () |
Empty list. | |
SectionFlow & | operator[] (vec_sizetype aIdx) |
const SectionFlow & | operator[] (vec_sizetype aIdx) const |
bool | isEmpty () const noexcept |
vec_sizetype | size () const noexcept |
void | shrink2Fit () |
std::vector< SectionFlow > | getList () const noexcept |
const SectionFlow & | front () const |
const SectionFlow & | back () const |
void | reserve (vec_sizetype aSize) |
bool | isFrictionLess () const |
bool | isFlatBed () const |
bool | isUnitWidth () const |
std::map< unsigned, float64 > | getSectionsManning () const |
std::map< unsigned, float64 > | getSectionsBathymetry () const |
std::map< unsigned, double > | getSectionsWaterLevel () const |
Private Attributes | |
std::vector< SectionFlow > | m_listSectionsFlow |
List of cross-section flow (itereable)
using dbpp::ListSectionsFlow::vec_citer = std::vector<SectionFlow>::const_iterator |
using dbpp::ListSectionsFlow::vec_iter = std::vector<SectionFlow>::iterator |
using dbpp::ListSectionsFlow::vec_rciter = std::reverse_iterator<vec_citer> |
using dbpp::ListSectionsFlow::vec_riter = std::reverse_iterator<vec_iter> |
using dbpp::ListSectionsFlow::vec_sizetype = std::vector<SectionFlow>::size_type |
Aliases.
using dbpp::ListSectionsFlow::vec_valtype = std::vector<SectionFlow>::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Empty list.
|
inline |
aSectF2Find |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
|
inline |
|
inline |
|
inline |
|
inlinenodiscardnoexcept |
|
inline |
return if all sections are flat bed
|
inline |
return if all sections are frictionless
|
inline |
returns f all sections are unit width
|
inline |
|
inline |
|
inline |
pass by pointer since we want a reference semantic we are not using the boost concept pointer container or even the smart pointer (shared pointer C++11) ??
|
inline |
aSectF |
|
inline |
|
inline |
|
inline |
aSize |
|
inline |
|
inlinenoexcept |
|
private |