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

Comparing trunk/OOPSE/libmdtools/ReadWrite.hpp (file contents):
Revision 572 by mmeineke, Wed Jul 2 21:26:55 2003 UTC vs.
Revision 641 by mmeineke, Mon Jul 21 16:23:10 2003 UTC

# Line 52 | Line 52 | class InitializeFromFile{ (public)
52    InitializeFromFile( char *in_name );
53    ~InitializeFromFile();
54  
55 <  void read_xyz( SimInfo* the_entry_plug );
55 >  void readInit( SimInfo* the_entry_plug );
56    
57   private:
58    char* parseDumpLine(char* line, int atomIndex);
59 +  char* parseBoxLine(char* line, double boxMat[9] );
60    FILE *c_in_file;
61    char c_in_name[500];
62 <  SimInfo* entry_plug;
62 >  SimInfo* simnfo;
63   };
64  
65 + class DumpReader{
66 +  DumpReader( char *in_name );
67 +  ~DumpReader();
68  
69 +  int getNframes();
70 +  void getNextFrame();
71 +  void getFrame(SimInfo* the_entry_plug, int whichFrame)
72 +  void rewind();
73  
74 + private:
75 +  char* parseDumpLine(char* line, int atomIndex);
76 +  char* parseCommentLine(char* line, double time, double boxMat[9] );
77 +  FILE *c_in_file;
78 +  char c_in_name[500];
79 +  SimInfo* simnfo;
80 + };
81 +
82 + public:
83 +
84   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines