1 |
+ |
#define _FILE_OFFSET_BITS 64 |
2 |
+ |
|
3 |
|
#include <iostream> |
4 |
|
#include <cmath> |
5 |
+ |
#include <vector> |
6 |
|
|
7 |
|
#include <stdio.h> |
8 |
|
#include <stdlib.h> |
23 |
|
namespace dumpRead{ |
24 |
|
void nodeZeroError( void ); |
25 |
|
void anonymousNodeDie( void ); |
26 |
+ |
|
27 |
+ |
|
28 |
+ |
class FilePos{ |
29 |
+ |
public: |
30 |
+ |
|
31 |
+ |
|
32 |
+ |
private: |
33 |
+ |
|
34 |
+ |
|
35 |
+ |
}; |
36 |
+ |
|
37 |
+ |
vector<FilePos> frameStart; |
38 |
|
} |
39 |
|
|
40 |
|
using namespace dumpRead; |
84 |
|
} |
85 |
|
|
86 |
|
|
87 |
+ |
|
88 |
|
void DumpReader :: getFrame( SimInfo* the_simnfo, int whichFrame){ |
89 |
|
|
90 |
|
int i, j, done, which_node, which_atom; // loop counter |