1.8.0
CCC
 
Loading...
Searching...
No Matches
Designating Variables (used for simulations in particular)

Functions

static Id gstlrn::Db::getSimRank (Id isimu, Id ivar, Id icase, Id nbsimu, Id nvar)
 
double gstlrn::Db::getSimvar (const ELoc &locatorType, Id iech, Id isimu, Id ivar, Id icase, Id nbsimu, Id nvar) const
 
void gstlrn::Db::setSimvar (const ELoc &locatorType, Id iech, Id isimu, Id ivar, Id icase, Id nbsimu, Id nvar, double value)
 
void gstlrn::Db::updSimvar (const ELoc &locatorType, Id iech, Id isimu, Id ivar, Id icase, Id nbsimu, Id 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()

Id gstlrn::Db::getSimRank ( Id  isimu,
Id  ivar,
Id  icase,
Id  nbsimu,
Id  nvar 
)
static

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 gstlrn::Db::getSimvar ( const ELoc &  locatorType,
Id  iech,
Id  isimu,
Id  ivar,
Id  icase,
Id  nbsimu,
Id  nvar 
) const

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

◆ setSimvar()

void gstlrn::Db::setSimvar ( const ELoc &  locatorType,
Id  iech,
Id  isimu,
Id  ivar,
Id  icase,
Id  nbsimu,
Id  nvar,
double  value 
)

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

◆ updSimvar()

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

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