92 |
|
char *parseErr; |
93 |
|
|
94 |
|
vector<StuntDouble*> integrableObjects; |
95 |
– |
vector<StuntDouble*>::iterator iter; |
95 |
|
|
96 |
|
simnfo = the_simnfo; |
97 |
|
|
140 |
|
|
141 |
|
integrableObjects = (simnfo->molecules[i]).getIntegrableObjects(); |
142 |
|
|
143 |
< |
for(iter = integrableObjects.begin(); iter!= integrableObjects.end(); iter++) |
143 |
> |
for(j = 0; j < integrableObjects.size(); j++){ |
144 |
|
|
145 |
|
eof_test = fgets(read_buffer, sizeof(read_buffer), c_in_file); |
146 |
|
if(eof_test == NULL){ |
153 |
|
simError(); |
154 |
|
} |
155 |
|
|
156 |
< |
parseErr = parseDumpLine( read_buffer, *iter); |
156 |
> |
parseErr = parseDumpLine( read_buffer, integrableObjects[j]); |
157 |
|
if( parseErr != NULL ){ |
158 |
|
strcpy( painCave.errMsg, parseErr ); |
159 |
|
painCave.isFatal = 1; |
160 |
|
simError(); |
161 |
|
} |
162 |
+ |
} |
163 |
|
} |
164 |
|
|
165 |
– |
|
165 |
|
// MPI Section of code.......... |
166 |
|
#else //IS_MPI |
167 |
|
|