ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/DumpReader.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/DumpReader.cpp (file contents):
Revision 647 by mmeineke, Tue Jul 22 21:49:38 2003 UTC vs.
Revision 656 by mmeineke, Tue Jul 29 16:32:37 2003 UTC

# Line 195 | Line 195 | void DumpReader::scanFile( void ){
195    isScanned = true;
196   }
197  
198 + void DumpReader :: readFrame( SimInfo* the_simnfo, int whichFrame){
199  
200 +  simnfo = the_simnfo;
201  
202 < void DumpReader :: getFrame( SimInfo* the_simnfo, int whichFrame){
202 >  this->readSet( whichFrame );
203 > }
204  
205 +
206 +
207 + void DumpReader :: readSet( int whichFrame ){
208 +
209    int i, j, done, which_node, which_atom; // loop counter
210  
211    const int BUFFERSIZE = 2000; // size of the read buffer
# Line 213 | Line 220 | void DumpReader :: getFrame( SimInfo* the_simnfo, int
220    int procIndex;
221    double boxMat[9];
222    double theBoxMat3[3][3];
223 +  
224 +  fpos_t *framePos;
225 +  
226 + #ifndef IS_MPI
227 +  
228 +  framePos = startFrame[whichFrame].getPos();
229  
230 <  simnfo = the_simnfo;
230 >  
231 >
232  
219 #ifndef IS_MPI
233    eof_test = fgets(read_buffer, sizeof(read_buffer), inFile);
234    if( eof_test == NULL ){
235      sprintf( painCave.errMsg,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines