English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / ReLauncher: URANIE::Relauncher::TMaster Class Reference
Uranie / ReLauncher v4.9.0
/* @license-end */
URANIE::Relauncher::TMaster Class Referenceabstract

#include <TMaster.h>

Inheritance diagram for URANIE::Relauncher::TMaster:
Collaboration diagram for URANIE::Relauncher::TMaster:

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 ()
 
TRungetRunner ()
 
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 
)

◆ TMaster() [2/3]

URANIE::Relauncher::TMaster::TMaster ( URANIE::DataServer::TDataServer *  tds,
TEval fun 
)

◆ TMaster() [3/3]

URANIE::Relauncher::TMaster::TMaster ( URANIE::DataServer::TDataServer *  tds,
TStandardEval fun,
const char *  in,
const char *  out 
)

◆ ~TMaster()

URANIE::Relauncher::TMaster::~TMaster ( )
virtual

References _localrun, _param, and _sortie.

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()

void URANIE::Relauncher::TMaster::allFromCode ( vector< URANIE::DataServer::UEntry * > *  srci,
vector< URANIE::DataServer::UEntry * > *  srco,
vector< URANIE::DataServer::UEntry * > *  dest 
)
protected

◆ allocDataEntries() [1/2]

void URANIE::Relauncher::TMaster::allocDataEntries ( int  siz,
vector< vector< URANIE::DataServer::UEntry * > > &  all 
)
protected

◆ allocDataEntries() [2/2]

void URANIE::Relauncher::TMaster::allocDataEntries ( vector< URANIE::DataServer::UEntry * > &  all)
protected

◆ allocGradCodeEntries()

void URANIE::Relauncher::TMaster::allocGradCodeEntries ( int  siz,
vector< vector< URANIE::DataServer::UEntry * > > &  out 
)
protected

◆ allocInCodeEntries()

void URANIE::Relauncher::TMaster::allocInCodeEntries ( int  siz,
vector< vector< URANIE::DataServer::UEntry * > > &  in,
bool  withid = false 
)
protected

◆ allocOutCodeEntries()

void URANIE::Relauncher::TMaster::allocOutCodeEntries ( int  siz,
vector< vector< URANIE::DataServer::UEntry * > > &  out 
)
protected

◆ clean()

void URANIE::Relauncher::TMaster::clean ( )

◆ fillConstant()

◆ fillDS()

◆ getRunner()

TRun * URANIE::Relauncher::TMaster::getRunner ( )
inline

References _run.

◆ getTDS()

URANIE::DataServer::TDataServer * URANIE::Relauncher::TMaster::getTDS ( )
inline

References _tds.

◆ inputForCode() [1/3]

void URANIE::Relauncher::TMaster::inputForCode ( const double *  src,
double *  dest 
)
protected

◆ inputForCode() [2/3]

void URANIE::Relauncher::TMaster::inputForCode ( const double *  src,
vector< URANIE::DataServer::UEntry * > *  dest 
)
protected

References _param.

◆ inputForCode() [3/3]

void URANIE::Relauncher::TMaster::inputForCode ( const vector< URANIE::DataServer::UEntry * > *  src,
vector< URANIE::DataServer::UEntry * > *  dest 
)
protected

References _param.

◆ match_input()

void URANIE::Relauncher::TMaster::match_input ( )
protected

◆ outputFromCode()

void URANIE::Relauncher::TMaster::outputFromCode ( vector< URANIE::DataServer::UEntry * > *  src,
double *  dest 
)
protected

◆ solverLoop()

virtual void URANIE::Relauncher::TMaster::solverLoop ( )
pure virtual

Member Data Documentation

◆ _fun

TEval* URANIE::Relauncher::TMaster::_fun
protected

Referenced by clean(), match_input(), and TMaster().

◆ _localrun

TRun * URANIE::Relauncher::TMaster::_localrun
protected

Referenced by TMaster(), TMaster(), TMaster(), and ~TMaster().

◆ _Naux

int URANIE::Relauncher::TMaster::_Naux
protected

◆ _NinCod

int URANIE::Relauncher::TMaster::_NinCod
protected

Referenced by match_input().

◆ _NinDat

int URANIE::Relauncher::TMaster::_NinDat
protected

◆ _NoutCod

int URANIE::Relauncher::TMaster::_NoutCod
protected

Referenced by match_input().

◆ _NoutDat

int URANIE::Relauncher::TMaster::_NoutDat
protected

◆ _param

◆ _run

TRun* URANIE::Relauncher::TMaster::_run
protected

◆ _sortie

◆ _tds