Ignore:
Timestamp:
Mar 12, 2013, 1:54:41 PM (11 years ago)
Author:
lemeur
Message:

amélioration fiabilité graphique

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Interface_Web/trunk/pspaWT/sources/controler/src/softwareTest.cc

    r333 r386  
    88softwareTest::softwareTest() : abstractSoftware()
    99{
    10   ;
     10  nameOfSoftware_ = nomDeLogiciel("test");
    1111}
    1212
     
    1616softwareTest::softwareTest(string inputFileName, globalParameters* globals, dataManager* dt) : abstractSoftware( inputFileName, globals, dt)
    1717{
    18   ;
     18  nameOfSoftware_ = nomDeLogiciel("test");
    1919}
    2020
     
    3030}
    3131
    32 bool  softwareTest::execute( unsigned int numeroDeb,unsigned int numeroFin,string workingDir) {
     32bool  softwareTest::execute(string workingDir) {
    3333    dataManager_->consoleMessage(" softwareTest::execute  " );
    3434  return true;
    3535}
    3636
    37 bool  softwareTest::buildBeamAfterElements(unsigned int numeroDeb,unsigned int numeroFin, vector<particleBeam>& beams, string workingDir) {
     37bool  softwareTest::buildBeamAfterElements(string workingDir) {
    3838  dataManager_->consoleMessage(" softwareTest::buildBeamAfterElements  " );
    3939  bool result = true;
    4040  unsigned k;
    41   for ( k= numeroDeb; k <= numeroFin; k++)
     41  for ( k= numeroDeb_; k <= numeroFin_; k++)
    4242    {
    43       beams.push_back(particleBeam());
     43      particleBeam* newDiag = dataManager_->updateCurrentDiagnostic(true);
     44  //      beams.push_back(particleBeam());
    4445      vector<double> centroid = vector<double>(6,0.0);
    4546      bareParticle refPart;
     
    5556      else {
    5657        bareParticle refPart (particles.at(0));
    57         beams.back().setWithParticles(centroid, refPart,particles);
     58        newDiag->setWithParticles(centroid, refPart,particles);
    5859      }
    5960    }
Note: See TracChangeset for help on using the changeset viewer.