|
gstlearn
1.0.0
CCC
|
Functions | |
| int | Db::getSimvarRank (int isimu, int ivar, int icase, int nbsimu, int nvar) |
| double | Db::getSimvar (const ELoc &locatorType, int iech, int isimu, int ivar, int icase, int nbsimu, int nvar) const |
| void | Db::setSimvar (const ELoc &locatorType, int iech, int isimu, int ivar, int icase, int nbsimu, int nvar, double value) |
| void | Db::updSimvar (const ELoc &locatorType, int iech, int isimu, int ivar, int icase, int nbsimu, int nvar, int oper, double value) |
These functions allow designation of columns which contain the results of one simulation for one variable in particular.
| locatorType | Target locator type |
| iech | Rank of the target sample |
| isimu | Rank of the simulation (0-based) |
| ivar | Rank of the variable (0-based) |
| icase | Rank of the GRF / PGS |
| nbsimu | Number of simulations |
| nvar | Number of variables |
| value | Value to be assigned |
| double Db::getSimvar | ( | const ELoc & | locatorType, |
| int | iech, | ||
| int | isimu, | ||
| int | ivar, | ||
| int | icase, | ||
| int | nbsimu, | ||
| int | nvar | ||
| ) | const |
Returns the value of a simulation / variable for a given sample
| int Db::getSimvarRank | ( | int | isimu, |
| int | ivar, | ||
| int | icase, | ||
| int | nbsimu, | ||
| int | nvar | ||
| ) |
Returns the rank of the Column corresponding to the simulation / variable choice
| void Db::setSimvar | ( | const ELoc & | locatorType, |
| int | iech, | ||
| int | isimu, | ||
| int | ivar, | ||
| int | icase, | ||
| int | nbsimu, | ||
| int | nvar, | ||
| double | value | ||
| ) |
Set the value of a simulation / variable for a given sample
| void Db::updSimvar | ( | const ELoc & | locatorType, |
| int | iech, | ||
| int | isimu, | ||
| int | ivar, | ||
| int | icase, | ||
| int | nbsimu, | ||
| int | nvar, | ||
| int | oper, | ||
| double | value | ||
| ) |
Update the value of a simulation / variable for a given sample