English Français

Documentation / Developer's manual

Available modules

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

#include <TCodeAsEval.h>

Inheritance diagram for URANIE::Relauncher::TCodeAsEval:
Collaboration diagram for URANIE::Relauncher::TCodeAsEval:

Public Member Functions

 TCodeAsEval (URANIE::Launcher::TCode *)
 
virtual ~TCodeAsEval ()
 
void setJob (URANIE::Launcher::forkcode *)
 
void prepareEntries (URANIE::Launcher::forkcode *, vector< URANIE::DataServer::UEntry *> *)
 
virtual void freeze ()
 
virtual TEvalrebuild (int rank, Bool_t chef=kTRUE)
 
virtual Bool_t unbuild ()
 
virtual int eval (vector< URANIE::DataServer::UEntry *> *, vector< URANIE::DataServer::UEntry *> *, int ncalc=0)
 
- Public Member Functions inherited from URANIE::Relauncher::TShareEval
 TShareEval ()
 
virtual void provideSingleResult ()
 
virtual int eval (std::vector< URANIE::DataServer::UEntry *> *, std::vector< URANIE::DataServer::UEntry *> *, int=0)
 
- Public Member Functions inherited from URANIE::Relauncher::TBaseEval
 TBaseEval ()
 
virtual void addAllInputs (URANIE::DataServer::TDataServer *)
 
virtual TObjArray * getInputList ()
 
virtual TObjArray * getOutputList ()
 
virtual void checkAttributeType (URANIE::DataServer::TAttribute *att)
 
virtual int getOutDimension (vector< URANIE::DataServer::UEntry *> *)
 
virtual bool isThreadSafe ()
 
virtual bool containsStringType ()
 
virtual void clean ()
 
virtual void cleanOutputs ()
 
void setMpi ()
 
- Public Member Functions inherited from URANIE::Relauncher::TEval
virtual ~TEval ()
 

Protected Attributes

URANIE::Launcher::forkcode * _fjob
 
vector< URANIE::DataServer::UEntry * > _inputValues
 
vector< URANIE::DataServer::UEntry * > _outputValues
 
- Protected Attributes inherited from URANIE::Relauncher::TBaseEval
bool _freezed
 
bool _subeval
 
bool _mpi
 
TObjArray _input
 
TObjArray _output
 

Constructor & Destructor Documentation

◆ TCodeAsEval()

URANIE::Relauncher::TCodeAsEval::TCodeAsEval ( URANIE::Launcher::TCode *  code)

Referenced by rebuild().

◆ ~TCodeAsEval()

URANIE::Relauncher::TCodeAsEval::~TCodeAsEval ( )
virtual

References _fjob, _inputValues, and _outputValues.

Member Function Documentation

◆ eval()

int URANIE::Relauncher::TCodeAsEval::eval ( vector< URANIE::DataServer::UEntry *> *  in,
vector< URANIE::DataServer::UEntry *> *  out,
int  ncalc = 0 
)
virtual

◆ freeze()

◆ prepareEntries()

void URANIE::Relauncher::TCodeAsEval::prepareEntries ( URANIE::Launcher::forkcode *  fjob,
vector< URANIE::DataServer::UEntry *> *  in 
)

◆ rebuild()

TEval * URANIE::Relauncher::TCodeAsEval::rebuild ( int  rank,
Bool_t  chef = kTRUE 
)
virtual

Reimplemented from URANIE::Relauncher::TBaseEval.

References setJob(), and TCodeAsEval().

◆ setJob()

void URANIE::Relauncher::TCodeAsEval::setJob ( URANIE::Launcher::forkcode *  job)

◆ unbuild()

Bool_t URANIE::Relauncher::TCodeAsEval::unbuild ( )
virtual

Reimplemented from URANIE::Relauncher::TBaseEval.

Member Data Documentation

◆ _fjob

URANIE::Launcher::forkcode* URANIE::Relauncher::TCodeAsEval::_fjob
protected

Referenced by eval(), setJob(), and ~TCodeAsEval().

◆ _inputValues

vector<URANIE::DataServer::UEntry*> URANIE::Relauncher::TCodeAsEval::_inputValues
protected

◆ _outputValues

vector<URANIE::DataServer::UEntry*> URANIE::Relauncher::TCodeAsEval::_outputValues
protected

Referenced by eval(), setJob(), and ~TCodeAsEval().