Measure taken on the physical system (defines the required method for the Measurement bean). Still under development, physical state variables are the only measured quantities relevant for this simulation. we may be interested by energy slope, ... any other physics qty.
More...
#include <dbpp_PhysicalMeasurement.h>
|
| PhysicalMeasurement ()=default |
| default ctor
|
virtual void | take (const PhysicalSystem *aPhysys) |
| Physical quantity measured, could be energy, Froude number, ... whatever that ca be measure.
|
void | setTimeStamp (float64 aTimeStamp) |
| time stamp of physical measure (correspond simulation time in our case)
|
float64 | getTimeStamp () const noexcept |
| time stamp of physical measure(correspond simulation time in our case)
|
std::optional< float64 > | getA (unsigned int aSectId) const |
| Discharge of the cross - section.
|
std::optional< float64 > | getQ (unsigned int aSectId) const |
| Discharge of the cross - section.
|
sectionMeasure | getMeasuredValues (unsigned int aSectId) const |
| Measur for a given section.
|
std::size_t | getNumberOfMeasuresTaken () const |
| Physical measure on the sytem.
|
Measure taken on the physical system (defines the required method for the Measurement bean). Still under development, physical state variables are the only measured quantities relevant for this simulation. we may be interested by energy slope, ... any other physics qty.
◆ ListMeasure
◆ mapMeasureValue
map of physical measure (each section flow)
◆ sectionMeasure
◆ umapMeasureValues
unordered map since main use is in random access
◆ PhysicalMeasurement()
dbpp::PhysicalMeasurement::PhysicalMeasurement |
( |
| ) |
|
|
default |
◆ getA()
std::optional< float64 > dbpp::PhysicalMeasurement::getA |
( |
unsigned int | aSectId | ) |
const |
Discharge of the cross - section.
- Returns
- measured quantity
◆ getMeasuredValues()
Measur for a given section.
- Parameters
-
- Returns
- return physical measures
◆ getNumberOfMeasuresTaken()
std::size_t dbpp::PhysicalMeasurement::getNumberOfMeasuresTaken |
( |
| ) |
const |
|
inline |
Physical measure on the sytem.
- Returns
- number of measure
◆ getQ()
std::optional< float64 > dbpp::PhysicalMeasurement::getQ |
( |
unsigned int | aSectId | ) |
const |
Discharge of the cross - section.
- Returns
- measured quantity
◆ getTimeStamp()
float64 dbpp::PhysicalMeasurement::getTimeStamp |
( |
| ) |
const |
|
inlinenoexcept |
time stamp of physical measure(correspond simulation time in our case)
- Returns
- time value
◆ setTimeStamp()
void dbpp::PhysicalMeasurement::setTimeStamp |
( |
float64 | aTimeStamp | ) |
|
|
inline |
time stamp of physical measure (correspond simulation time in our case)
- Parameters
-
◆ take()
void dbpp::PhysicalMeasurement::take |
( |
const PhysicalSystem * | aPhysys | ) |
|
|
virtual |
Physical quantity measured, could be energy, Froude number, ... whatever that ca be measure.
◆ m_listMeasure
Measure taken on cross-section
◆ m_mapMeasure
All measures taken on the system
◆ m_numberOfSections
std::size_t dbpp::PhysicalMeasurement::m_numberOfSections {} |
|
private |
Number of physical object for this simulation
◆ m_timeStamp
float64 dbpp::PhysicalMeasurement::m_timeStamp {} |
|
private |
simulation time stamp of the measure
◆ m_umapValues
Physical quantities measured on system
The documentation for this class was generated from the following files: