void o815::obs::start() {
if(O815->rank==0) {
- *out << "#" << O815->programid << "-" << obsid << O815->headMaster() << endl << flush;
- *out << "#" << O815->programid << "-" << obsid << O815->headMaster() << "-" << datadesc << endl << flush;
+ *out << "#" << O815->programid << "-" << obsid << obsidpostfix << O815->headMaster() << endl << flush;
+ *out << "#" << O815->programid << "-" << obsid << obsidpostfix << O815->headMaster() << "-" << datadesc << endl << flush;
}
if (O815->comargs.outdir=="")
_start();
}
-void o815::obs::meas(bool loadedobs) {
- _meas(loadedobs);
+void o815::obs::meas(bool loadedobs, const int& nthmeas) {
+ _meas(loadedobs, nthmeas);
}
-o815::obs::obs(const string& _obsid, const string& _datadesc, o815 *_O815, const int& obsmemSize) {
+o815::obs::obs(const string& _obsid, const string& _datadesc, o815 *_O815, const int& obsmemSize, const string& _obsidpostfix) {
obsid = _obsid;
+ obsidpostfix = _obsidpostfix;
O815 = _O815;
datadesc = _datadesc;
- O815->out->newsub(obsid);
+ O815->out->newsub(obsid+obsidpostfix);
- out = O815->out->out[obsid];
+ out = O815->out->out[obsid+obsidpostfix];
log = O815->out->log;
paraQ = O815->paraQ;