Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / ReLauncher v4.9.0
|
#include <TMaster.h>
Public Member Functions | |
TMaster (URANIE::DataServer::TDataServer *, TRun *) | |
TMaster (URANIE::DataServer::TDataServer *, TEval *) | |
TMaster (URANIE::DataServer::TDataServer *, TStandardEval *, const char *, const char *) | |
virtual | ~TMaster () |
void | addConstantValue (URANIE::DataServer::TAttribute *att, double, bool KeepIt=false) |
void | addConstantValue (URANIE::DataServer::TAttribute *att, URANIE::DataServer::UEntry *, bool KeepIt=false) |
void | addTemporary (URANIE::DataServer::TAttribute *att) |
void | fillConstant () |
URANIE::DataServer::TDataServer * | getTDS () |
TRun * | getRunner () |
virtual void | solverLoop ()=0 |
void | clean () |
Protected Member Functions | |
void | match_input () |
void | fillDS () |
void | allocInCodeEntries (int siz, vector< vector< URANIE::DataServer::UEntry * > > &, bool withid=false) |
void | allocOutCodeEntries (int siz, vector< vector< URANIE::DataServer::UEntry * > > &) |
void | allocGradCodeEntries (int siz, vector< vector< URANIE::DataServer::UEntry * > > &) |
void | allocDataEntries (int siz, vector< vector< URANIE::DataServer::UEntry * > > &) |
void | allocDataEntries (vector< URANIE::DataServer::UEntry * > &) |
void | inputForCode (const double *, double *) |
void | inputForCode (const double *, vector< URANIE::DataServer::UEntry * > *) |
void | outputFromCode (vector< URANIE::DataServer::UEntry * > *, double *) |
void | inputForCode (const vector< URANIE::DataServer::UEntry * > *, vector< URANIE::DataServer::UEntry * > *) |
void | allFromCode (vector< URANIE::DataServer::UEntry * > *, vector< URANIE::DataServer::UEntry * > *, vector< URANIE::DataServer::UEntry * > *) |
Protected Attributes | |
URANIE::DataServer::TDataServer * | _tds |
TRun * | _run |
TRun * | _localrun |
TEval * | _fun |
TList | _param |
TList | _sortie |
int | _NinDat |
int | _NinCod |
int | _Naux |
int | _NoutCod |
int | _NoutDat |
Constructor & Destructor Documentation
◆ TMaster() [1/3]
URANIE::Relauncher::TMaster::TMaster | ( | URANIE::DataServer::TDataServer * | tds, |
TRun * | run | ||
) |
References _fun, _localrun, URANIE::Relauncher::TRun::getEval(), and match_input().
◆ TMaster() [2/3]
URANIE::Relauncher::TMaster::TMaster | ( | URANIE::DataServer::TDataServer * | tds, |
TEval * | fun | ||
) |
References _localrun, _run, match_input(), and URANIE::Relauncher::TRun::startSlave().
◆ TMaster() [3/3]
URANIE::Relauncher::TMaster::TMaster | ( | URANIE::DataServer::TDataServer * | tds, |
TStandardEval * | fun, | ||
const char * | in, | ||
const char * | out | ||
) |
◆ ~TMaster()
Member Function Documentation
◆ addConstantValue() [1/2]
void URANIE::Relauncher::TMaster::addConstantValue | ( | URANIE::DataServer::TAttribute * | att, |
double | val, | ||
bool | KeepIt = false |
||
) |
◆ addConstantValue() [2/2]
void URANIE::Relauncher::TMaster::addConstantValue | ( | URANIE::DataServer::TAttribute * | att, |
URANIE::DataServer::UEntry * | constant, | ||
bool | KeepIt = false |
||
) |
◆ addTemporary()
void URANIE::Relauncher::TMaster::addTemporary | ( | URANIE::DataServer::TAttribute * | att | ) |
References _sortie.
◆ allFromCode()
|
protected |
◆ allocDataEntries() [1/2]
|
protected |
References _Naux, _NinDat, _NoutDat, _param, _sortie, URANIE::Relauncher::TMasterVar::allocDataEntry(), and URANIE::Relauncher::TMasterVar::isExported().
Referenced by URANIE::Relauncher::TLauncher2::solverLoop().
◆ allocDataEntries() [2/2]
|
protected |
◆ allocGradCodeEntries()
|
protected |
◆ allocInCodeEntries()
|
protected |
References _param, and URANIE::Relauncher::TMasterVar::allocCodeEntry().
Referenced by URANIE::Relauncher::TLauncher2::solverLoop().
◆ allocOutCodeEntries()
|
protected |
References _sortie, URANIE::Relauncher::TMasterVar::allocCodeEntry(), and URANIE::Relauncher::TOutputVar::isPost().
Referenced by URANIE::Relauncher::TLauncher2::solverLoop().
◆ clean()
void URANIE::Relauncher::TMaster::clean | ( | ) |
References _fun, and URANIE::Relauncher::TEval::clean().
◆ fillConstant()
void URANIE::Relauncher::TMaster::fillConstant | ( | ) |
◆ fillDS()
|
protected |
References _NoutDat, _param, _sortie, _tds, URANIE::Relauncher::TMasterVar::getRef(), URANIE::Relauncher::TOutputVar::isExported(), URANIE::Relauncher::TOutputVar::isPre(), URANIE::Relauncher::TInputVar::isValid(), and URANIE::Relauncher::TOutputVar::reindice().
Referenced by URANIE::Relauncher::TInformMaster::build().
◆ getRunner()
◆ getTDS()
|
inline |
References _tds.
◆ inputForCode() [1/3]
|
protected |
References _param.
Referenced by URANIE::Relauncher::TInformMaster::getCurrentPattern().
◆ inputForCode() [2/3]
|
protected |
References _param.
◆ inputForCode() [3/3]
|
protected |
References _param.
◆ match_input()
|
protected |
◆ outputFromCode()
|
protected |
◆ solverLoop()
|
pure virtual |
Implemented in URANIE::Relauncher::TLauncher2.
Member Data Documentation
◆ _fun
|
protected |
Referenced by clean(), match_input(), and TMaster().
◆ _localrun
|
protected |
Referenced by TMaster(), TMaster(), TMaster(), and ~TMaster().
◆ _Naux
|
protected |
Referenced by allocDataEntries(), allocDataEntries(), match_input(), and URANIE::Relauncher::TLauncher2::solverLoop().
◆ _NinCod
|
protected |
Referenced by match_input().
◆ _NinDat
|
protected |
Referenced by allocDataEntries(), allocDataEntries(), and match_input().
◆ _NoutCod
|
protected |
Referenced by match_input().
◆ _NoutDat
|
protected |
Referenced by allocDataEntries(), allocDataEntries(), and fillDS().
◆ _param
|
protected |
◆ _run
|
protected |
Referenced by getRunner(), URANIE::Relauncher::TLauncher2::solverLoop(), TMaster(), and TMaster().
◆ _sortie
|
protected |
◆ _tds
|
protected |