Ignore:
Timestamp:
Dec 10, 2012, 7:06:24 PM (12 years ago)
Author:
lemeur
Message:

reecriture de particleBeam

File:
1 edited

Legend:

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

    r161 r166  
    349349
    350350  if (!areDataCoherent()) {
    351     GWt_dialog warningDialog("PSPA : Vérification des sections", " données incohérentes !", GWt_dialog::Error,true,true);
     351    GWt_dialog warningDialog("PSPA : Vérification des sections", " donnees incoherentes !", GWt_dialog::Error,true,true);
    352352    warningDialog.exec();
    353353  }
     
    476476    {
    477477      if ( beam->particleRepresentationOk() ) faireDessinParmela(toto_, beam);
    478       else addConsoleMessage("the beam state does not allow providing a drawing");
    479     }
    480   else addConsoleMessage("type of  drawing not programmed");
     478      else {
     479        addConsoleMessage("the beam state does not allow providing a drawing");
     480        GWt_dialog warningBeamState(" graphical analysis", "the beam state does not allow providing a drawing with macroparticles !", GWt_dialog::Error, false,true);
     481          warningBeamState.exec();
     482      }
     483    }
     484  else {
     485    addConsoleMessage("type of  drawing not programmed");
     486        GWt_dialog warningTypeDrawing(" graphical analysis", "type of  drawing not programmed !", GWt_dialog::Error, false,true);
     487           warningTypeDrawing.exec();
     488 }
    481489  //////////////////////////////////////////
    482490}
     
    492500      faireDessinEnveloppe(toto_, "x");
    493501    }
    494   else addConsoleMessage("type of enveloppe drawing not programmed");
     502  else {
     503    addConsoleMessage("type of enveloppe drawing not programmed");
     504        GWt_dialog warningTypeEnveloppe(" graphical analysis", "type of enveloppe drawing not programmed !", GWt_dialog::Error, false,true);
     505           warningTypeEnveloppe.exec();
     506  }
    495507  //////////////////////////////////////////
    496508}
     
    591603    model->setData(i, 0, xcor.at(i));
    592604    model->setData(i, 1, ycor.at(i));
    593     cout << " PspaApplication::scatterPlot1D el= " << i+1 << " x= " << xcor.at(i) << " y= " << ycor.at(i) << endl;
     605    //    cout << " PspaApplication::scatterPlot1D el= " << i+1 << " x= " << xcor.at(i) << " y= " << ycor.at(i) << endl;
    594606  }
    595607
Note: See TracChangeset for help on using the changeset viewer.