1.1.0
CCC
 
Variable designation (used for simulations in particular)

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)
 

Detailed Description

These functions allow designation of columns which contain the results of one simulation for one variable in particular.

Parameters
locatorTypeTarget locator type
iechRank of the target sample
isimuRank of the simulation (0-based)
ivarRank of the variable (0-based)
icaseRank of the GRF / PGS
nbsimuNumber of simulations
nvarNumber of variables
valueValue to be assigned

Function Documentation

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