|
| | HydroAllocation () |
| | \id Constructor & Destructor More...
|
| |
|
| ~HydroAllocation () |
| | Destructor.
|
| |
|
void | clear () |
| | Clear all coefficients.
|
| |
|
void | remove (const AreaName &areaid) |
| | Remove coefficients related to a given area index.
|
| |
|
void | rename (const AreaName &oldid, const AreaName &newid) |
| |
|
double | fromArea (const Area &area) const |
| | Get the coefficient for a specific area.
|
| |
|
double | fromArea (const Area *area) const |
| | Get the coefficient for a specific area.
|
| |
|
double | fromArea (const AreaName &areaid) const |
| | Get the coefficient for a specific area index.
|
| |
|
void | fromArea (const Area &area, double value) |
| | Set the coefficient for a specific area (reference)
|
| |
|
void | fromArea (const Area *area, double value) |
| | Set the coefficient for a specific area (weak pointer)
|
| |
|
void | fromArea (const AreaName &areaid, double value) |
| | Set the coefficient for a specific area index.
|
| |
|
|
bool | loadFromFile (const AreaName &referencearea, const std::filesystem::path &filename) |
| | Load allocation coefficients from a file.
|
| |
|
bool | saveToFile (const AnyString &filename) const |
| | Load allocation coefficients from a file.
|
| |
| void | copyFrom (const HydroAllocation &source, const Study &studySource, const AreaNameMapping &mapping, const Study &study) |
| | Copy correlation coefficients from another correlation grid. More...
|
| |
|
| template<class CallbackT > |
| void | eachNonNull (const CallbackT &callback) const |
| | Iterate through all non-null coeff. More...
|
| |
|
void | prepareForSolver (const AreaList &list) |
| | Prepare coefficients ordered by the area ids.
|
| |