Changeset 234 in PSPA


Ignore:
Timestamp:
Jan 14, 2013, 12:19:39 PM (11 years ago)
Author:
lemeur
Message:

lecture fichier graphique

Location:
Interface_Web/trunk/pspaWT/src
Files:
2 edited

Legend:

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

    r233 r234  
    829829
    830830  new WText(nameOfCase_ + " : emittance x,x' " + mixedTools::doubleToString(beam->getUnnormalizedEmittanceX()) + " pi.mm.mrad" , ellipseDialog->contents());
    831   new WBreak(toto);
     831  new WBreak(ellipseDialog->contents());
    832832  new WText(" xmax = " + mixedTools::doubleToString(beam->getSigmaTransportij(1,1)) + " cm ", ellipseDialog->contents());
    833833  new WBreak(ellipseDialog->contents());
  • Interface_Web/trunk/pspaWT/src/transportMoments.cc

    r229 r234  
    102102  // initialisation des moments
    103103  raz();
    104 
    105   inp >> bidon >>  bidString >>  bidon >>  ( rij_transportMoments_.at(0) ).at(0) >> bidString;
     104  bool test = false;
     105  string buf;
     106  // sauter les eventuels 'VARY'
     107  while ( !test ) {
     108    getline(inp, buf);
     109    stringstream str(buf);
     110    test = str >> bidon >>  bidString >>  bidon >>  ( rij_transportMoments_.at(0) ).at(0) >> bidString;
     111    cout << " transportMoments::readFromTransportOutput TEST= " << test << endl;
     112  }
     113  //    test = inp >> bidon >>  bidString >>  bidon >>  ( rij_transportMoments_.at(0) ).at(0) >> bidString;
     114    // }
    106115  inp >> bidon >> ( rij_transportMoments_.at(1) ).at(1) >>  bidString >> ( rij_transportMoments_.at(1) ).at(0);
    107116  inp >> bidon >> ( rij_transportMoments_.at(2) ).at(2) >>  bidString >> ( rij_transportMoments_.at(2) ).at(0)  >> ( rij_transportMoments_.at(2) ).at(1);
Note: See TracChangeset for help on using the changeset viewer.