Changeset 234 in PSPA for Interface_Web
- Timestamp:
- Jan 14, 2013, 12:19:39 PM (11 years ago)
- Location:
- Interface_Web/trunk/pspaWT/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/GWt_pspaApplication.cc
r233 r234 829 829 830 830 new WText(nameOfCase_ + " : emittance x,x' " + mixedTools::doubleToString(beam->getUnnormalizedEmittanceX()) + " pi.mm.mrad" , ellipseDialog->contents()); 831 new WBreak( toto);831 new WBreak(ellipseDialog->contents()); 832 832 new WText(" xmax = " + mixedTools::doubleToString(beam->getSigmaTransportij(1,1)) + " cm ", ellipseDialog->contents()); 833 833 new WBreak(ellipseDialog->contents()); -
Interface_Web/trunk/pspaWT/src/transportMoments.cc
r229 r234 102 102 // initialisation des moments 103 103 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 // } 106 115 inp >> bidon >> ( rij_transportMoments_.at(1) ).at(1) >> bidString >> ( rij_transportMoments_.at(1) ).at(0); 107 116 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.