#include <TSeparateRun.h>
|
virtual int | wait_service ()=0 |
|
virtual int | send_header (int canal, int *head, int size)=0 |
|
virtual int | send_value (int canal, double *mesg, int size)=0 |
|
virtual int | receive_header (int canal, int *head, int size)=0 |
|
virtual int | receive_value (int canal, double *mesg, int size)=0 |
|
void | send_uentry (int canal, int ncalc, int size, vector< URANIE::DataServer::UEntry * > *in) |
|
void | to_uentry (int *isz, double *vals, std::vector< URANIE::DataServer::UEntry * > &dest) |
|
void | empty_uentry (TIter &next, std::vector< URANIE::DataServer::UEntry * > &dest) |
|
void | calcul_loop () |
|
◆ TSeparateRun()
◆ ~TSeparateRun()
URANIE::Relauncher::TSeparateRun::~TSeparateRun |
( |
| ) |
|
|
virtual |
◆ calcul_loop()
void URANIE::Relauncher::TSeparateRun::calcul_loop |
( |
| ) |
|
|
protected |
References URANIE::Relauncher::TShareRun::_fun, _sizein, _sizeout, empty_uentry(), URANIE::Relauncher::TEval::eval(), URANIE::Relauncher::TEval::getInputList(), URANIE::Relauncher::TEval::getOutputList(), URANIE::Relauncher::TEval::rebuild(), receive_header(), receive_value(), send_header(), send_uentry(), to_uentry(), and URANIE::Relauncher::TEval::unbuild().
Referenced by URANIE::MpiRelauncher::TMpiRun::startSlave(), URANIE::Relauncher::TSocketRun::startSlave(), and URANIE::MpiRelauncher::TBiMpiRun::startSlave().
◆ empty_uentry()
void URANIE::Relauncher::TSeparateRun::empty_uentry |
( |
TIter & |
next, |
|
|
std::vector< URANIE::DataServer::UEntry * > & |
dest |
|
) |
| |
|
protected |
◆ get()
int URANIE::Relauncher::TSeparateRun::get |
( |
long & |
idc | ) |
|
|
virtual |
Implements URANIE::Relauncher::TRun.
References _pend, _run, _sizein, _sizeout, _sleep, URANIE::Relauncher::element::calcnb, URANIE::Relauncher::element::id, URANIE::Relauncher::element::inv, URANIE::Relauncher::element::outv, receive_header(), receive_value(), send_uentry(), to_uentry(), and wait_service().
◆ put()
void URANIE::Relauncher::TSeparateRun::put |
( |
long |
, |
|
|
vector< URANIE::DataServer::UEntry * > * |
in, |
|
|
vector< URANIE::DataServer::UEntry * > * |
out, |
|
|
int |
= 0 |
|
) |
| |
|
virtual |
◆ receive_header()
virtual int URANIE::Relauncher::TSeparateRun::receive_header |
( |
int |
canal, |
|
|
int * |
head, |
|
|
int |
size |
|
) |
| |
|
protectedpure virtual |
◆ receive_value()
virtual int URANIE::Relauncher::TSeparateRun::receive_value |
( |
int |
canal, |
|
|
double * |
mesg, |
|
|
int |
size |
|
) |
| |
|
protectedpure virtual |
◆ send_header()
virtual int URANIE::Relauncher::TSeparateRun::send_header |
( |
int |
canal, |
|
|
int * |
head, |
|
|
int |
size |
|
) |
| |
|
protectedpure virtual |
◆ send_uentry()
void URANIE::Relauncher::TSeparateRun::send_uentry |
( |
int |
canal, |
|
|
int |
ncalc, |
|
|
int |
size, |
|
|
vector< URANIE::DataServer::UEntry * > * |
in |
|
) |
| |
|
protected |
◆ send_value()
virtual int URANIE::Relauncher::TSeparateRun::send_value |
( |
int |
canal, |
|
|
double * |
mesg, |
|
|
int |
size |
|
) |
| |
|
protectedpure virtual |
◆ startSlave()
void URANIE::Relauncher::TSeparateRun::startSlave |
( |
void |
| ) |
|
|
virtual |
◆ stopSlave()
void URANIE::Relauncher::TSeparateRun::stopSlave |
( |
void |
| ) |
|
|
virtual |
◆ to_uentry()
void URANIE::Relauncher::TSeparateRun::to_uentry |
( |
int * |
isz, |
|
|
double * |
vals, |
|
|
std::vector< URANIE::DataServer::UEntry * > & |
dest |
|
) |
| |
|
protected |
◆ wait_service()
virtual int URANIE::Relauncher::TSeparateRun::wait_service |
( |
| ) |
|
|
protectedpure virtual |
◆ _nbress
int URANIE::Relauncher::TSeparateRun::_nbress |
|
protected |
◆ _pend
std::queue<element> URANIE::Relauncher::TSeparateRun::_pend |
|
protected |
◆ _run
std::vector<struct element> URANIE::Relauncher::TSeparateRun::_run |
|
protected |
◆ _sizein
int URANIE::Relauncher::TSeparateRun::_sizein |
|
protected |
Referenced by calcul_loop(), URANIE::MpiRelauncher::TBiMpiRun::calcul_loop(), get(), URANIE::MpiRelauncher::TBiMpiRun::leader_loop(), put(), startSlave(), URANIE::MpiRelauncher::TBiMpiRun::startSlave(), stopSlave(), URANIE::MpiRelauncher::TBiMpiRun::stopSlave(), URANIE::MpiRelauncher::TMpiRun::TMpiRun(), URANIE::MpiRelauncher::TMpiRun::TMpiRun(), and URANIE::MpiRelauncher::TMpiRun::TMpiRun().
◆ _sizeout
int URANIE::Relauncher::TSeparateRun::_sizeout |
|
protected |
◆ _sleep
std::queue<int> URANIE::Relauncher::TSeparateRun::_sleep |
|
protected |