Changeset 190 in PSPA for Interface_Web/trunk/pspaWT/src/particleBeam.cc
- Timestamp:
- Dec 16, 2012, 2:58:00 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Interface_Web/trunk/pspaWT/src/particleBeam.cc
r179 r190 138 138 139 139 cout << " particleBeam::setFromParmela : numeroElement = " << numeroElement << endl; 140 numeroElement--; 140 unsigned indexElement = numeroElement-1; 141 141 142 142 143 … … 146 147 147 148 while( partic.readFromParmelaFile(filefais) > 0 ) { 148 if ( partic.ne == numeroElement )149 if ( partic.ne == indexElement ) 149 150 { 150 151 faisceau.push_back(partic); … … 171 172 if ( faisceau.size() == 0) 172 173 { 173 cerr << " particleBeam::setFromParmela echec lecture element " << numeroElement +1<< endl;174 cerr << " particleBeam::setFromParmela echec lecture element " << numeroElement << endl; 174 175 return false; 175 176 }
Note: See TracChangeset
for help on using the changeset viewer.