1.3.1
CCC
 
Designating Variables (used for simulations in particular)

Functions

int Db::getSimRank (int isimu, int ivar, int icase, int nbsimu, int nvar) const
 
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, const EOperator &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

◆ getSimRank()

int Db::getSimRank ( int  isimu,
int  ivar,
int  icase,
int  nbsimu,
int  nvar 
) const

Returns the address of the combination

Returns
Returned value
Parameters
[in]isimuRank of the simulation
[in]ivarRank of the variable
[in]icaseRank of the GRF / PGS
[in]nbsimuNumber of simulations
[in]nvarNumber of variables

◆ getSimvar()

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

◆ setSimvar()

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

◆ updSimvar()

void Db::updSimvar ( const ELoc &  locatorType,
int  iech,
int  isimu,
int  ivar,
int  icase,
int  nbsimu,
int  nvar,
const EOperator &  oper,
double  value 
)

Update the value of a simulation / variable for a given sample