One infiltration specification: method + positional parameters + destination. More...
#include <mesh/meshinfil.h>
Public Member Functions | |
| bool | isNone () const |
| Test whether this row explicitly selects no infiltration method. | |
| bool | operator== (const InfilRow &o) const |
| Compare method, destination and every positional parameter, treating unset NaNs as equal. | |
| bool | operator!= (const InfilRow &o) const |
| Negate all-slot infiltration-row equality with its NaN-as-unset convention. | |
Public Attributes | |
| InfilMethod | method = InfilMethod::None |
| Model; None (default) = no infiltration. | |
| double | p [kInfilMaxParams] = {qQNaN(), qQNaN(), qQNaN(), qQNaN(), qQNaN()} |
| Positional parameters p0..p4 in project units (table above); NaN (default) = unset. | |
| InfilDest | dest = InfilDest::Lost |
| Where infiltrated water goes; Lost by default. | |
One infiltration specification: method + positional parameters + destination.
Parameters are POSITIONAL and in PROJECT units, matching legacy [INFILTRATION]:
| method | p0 | p1 | p2 | p3 | p4 |
|---|---|---|---|---|---|
| Horton | f0 | fmin | decay (1/hr) | dry_time(d) | Fmax |
| ModHorton | f0 | fmin | decay (1/hr) | dry_time(d) | Fmax |
| GreenAmpt | S (suction) | Ks | IMD | — | — |
| ModGreenAmpt | S (suction) | Ks | IMD | — | — |
| CurveNumber | CN | — | dry_time(d) | — | — |
| Constant | rate | — | — | — | — |
NaN in a slot means "not set"; the writer emits - for unused columns.
|
inline |
Test whether this row explicitly selects no infiltration method.
|
inline |
Negate all-slot infiltration-row equality with its NaN-as-unset convention.
| [in] | o | Borrowed other row, unchanged. |
| bool mesh::InfilRow::operator== | ( | const InfilRow & | o | ) | const |
Compare method, destination and every positional parameter, treating unset NaNs as equal.
| [in] | o | Borrowed row, unchanged. |
| InfilDest mesh::InfilRow::dest = InfilDest::Lost |
Where infiltrated water goes; Lost by default.
| InfilMethod mesh::InfilRow::method = InfilMethod::None |
Model; None (default) = no infiltration.
| double mesh::InfilRow::p[kInfilMaxParams] = {qQNaN(), qQNaN(), qQNaN(), qQNaN(), qQNaN()} |
Positional parameters p0..p4 in project units (table above); NaN (default) = unset.