Ignore:
Timestamp:
Nov 21, 2012, 2:28:02 PM (12 years ago)
Author:
lemeur
Message:

creation d'un diagnostic de coherence

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/src/dataManager.cc

    r96 r102  
    116116
    117117  createInputFileParmela(indexDeb, indexFin);
     118
    118119  ostringstream sortie;
    119120  sortie << " EXECUTION DE PARMELA DE l'ELEMENT " << indexDeb << " A L'ELEMENT " << indexFin << endl;
     
    154155    {
    155156
    156       // if ( currentBeam_.particleRepresentationOk() )
    157       //        {
    158       //          currentBeam_.buildMomentRepresentation();
    159       //        }
    160       // else
    161       //        {
    162157          cerr << " dataManager::createInputFileTransport : the beam is not OK " << endl;
    163           return;
    164           //    }
    165158    }
    166159  indexDeb--;
     
    213206  indexDeb--;
    214207  indexFin--;
     208
     209 
     210
     211
    215212  ofstream outfile;
    216213  string name = WORKINGAREA + "/parmin";
     
    258255}
    259256
    260   void dataManager::initializeExecution()
    261   {
    262     currentBeam_.clear();
    263   }
     257void 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}
    264269
    265270  // string dataManager::executeAll()
Note: See TracChangeset for help on using the changeset viewer.