|
hydrobricks
|
Functions | |
| double | SH1 (double t, double x4) |
| double | SH2 (double t, double x4) |
| void | ComputeOrdinates (double x4, std::vector< double > &uh1Ord, std::vector< double > &uh2Ord) |
Shared GR unit-hydrograph S-curves and ordinate computation (Perrin et al., 2003).
Used by the GR6J routing process. GR4J keeps its own equivalent copy embedded in ProcessRoutingGR4J so that class stays untouched.
|
inline |
Fill the UH1 and UH2 ordinates (successive differences of the S-curves) for the given time base x4 (clamped to a minimum of 0.5). The ordinate vectors are resized to ceil(x4) and ceil(2*x4) respectively.
| x4 | unit-hydrograph time base [d]. |
| uh1Ord | output UH1 ordinates. |
| uh2Ord | output UH2 ordinates. |
|
inline |
SH1 cumulative S-curve, time base x4.
|
inline |
SH2 cumulative S-curve, time base 2*x4.