Changeset 3920 in Sophya for trunk/AddOn/TAcq/brviscalc.cc
- Timestamp:
- Dec 3, 2010, 4:51:54 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/AddOn/TAcq/brviscalc.cc
r3915 r3920 45 45 visdt_.AddFloatColumn("vre"); 46 46 visdt_.AddFloatColumn("vim"); 47 ActivateVisDTable(); 47 48 48 49 if (nmean_ < 1) nmean_=memgr_.NbPaquets(); … … 65 66 { 66 67 if (totnbpaq_<1) return; 67 cout << " ~BRVisibilityCalculator - Visibility Datatable : " << endl; 68 cout << visdt_; 68 if (fgvisdt_) { 69 cout << " ~BRVisibilityCalculator - Visibility Datatable : " << endl; 70 cout << visdt_; 69 71 70 string filename;71 filename = outpath_+"visdt.ppf";72 if (nbcalc_>1) {73 char sbuff[32];74 sprintf(sbuff,"visdt_%d.ppf",(int)calcid_);75 filename = outpath_+sbuff;76 }77 POutPersist po(filename);78 po << visdt_;79 if (calcid_ == 0) {80 72 string filename; 73 filename = outpath_+"visdt.ppf"; 74 if (nbcalc_>1) { 75 char sbuff[32]; 76 sprintf(sbuff,"visdt_%d.ppf",(int)calcid_); 77 filename = outpath_+sbuff; 78 } 79 POutPersist po(filename); 80 po << visdt_; 81 } 82 if (calcid_ == 0) { 81 83 if (fgcktt_) { 82 84 cout << " BRVisibilityCalculator - Check TimeTag done: TotNPaqProc= " << totnbpaq_ << endl; … … 306 308 << totnbpaq_ << " TotMegaFLOP=" << (uint_8)TotNbMegaFLOP() << " -> VisibMtx in " << flnm << endl; 307 309 308 FillVisibTable(moyfc_, moytt_);310 if (fgvisdt_) FillVisibTable(moyfc_, moytt_); 309 311 numfile_++; 310 312 } … … 393 395 cout << numfile_ << "-BRVisCalc[" << calcid_ << "/" << nbcalc_ << "]::Process() NPaqProc=" 394 396 << totnbpaq_ << " TotMegaFLOP=" << (uint_8)TotNbMegaFLOP() << " -> VisibMtx in " << flnm << endl; 395 FillVisibTable(moyfc_, moytt_);397 if (fgvisdt_) FillVisibTable(moyfc_, moytt_); 396 398 numfile_++; 397 399 } … … 612 614 } 613 615 /* --Methode-- */ 616 void BRVisCalcGroup::ActivateVisDTable(bool fgfdt) 617 { 618 for(size_t i=0; i<viscalcp_.size(); i++) 619 viscalcp_[i]->ActivateVisDTable(fgfdt); 620 } 621 /* --Methode-- */ 614 622 void BRVisCalcGroup::start() 615 623 {
Note:
See TracChangeset
for help on using the changeset viewer.