Changeset 102 in PSPA for Interface_Web/trunk/pspaWT/src/dataManager.cc
- Timestamp:
- Nov 21, 2012, 2:28:02 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/dataManager.cc
r96 r102 116 116 117 117 createInputFileParmela(indexDeb, indexFin); 118 118 119 ostringstream sortie; 119 120 sortie << " EXECUTION DE PARMELA DE l'ELEMENT " << indexDeb << " A L'ELEMENT " << indexFin << endl; … … 154 155 { 155 156 156 // if ( currentBeam_.particleRepresentationOk() )157 // {158 // currentBeam_.buildMomentRepresentation();159 // }160 // else161 // {162 157 cerr << " dataManager::createInputFileTransport : the beam is not OK " << endl; 163 return;164 // }165 158 } 166 159 indexDeb--; … … 213 206 indexDeb--; 214 207 indexFin--; 208 209 210 211 215 212 ofstream outfile; 216 213 string name = WORKINGAREA + "/parmin"; … … 258 255 } 259 256 260 void dataManager::initializeExecution() 261 { 262 currentBeam_.clear(); 263 } 257 void dataManager::initializeExecution() 258 { 259 ifstream testParmdesz; 260 string parmdesz = WORKINGAREA + "/parmdesz"; 261 testParmdesz.open(parmdesz.c_str(), ios::in); 262 if (testParmdesz) 263 { 264 testParmdesz.close(); 265 remove(parmdesz.c_str()); 266 } 267 currentBeam_.clear(); 268 } 264 269 265 270 // string dataManager::executeAll()
Note: See TracChangeset
for help on using the changeset viewer.