ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/io/DumpReader.hpp
(Generate patch)

Comparing trunk/OOPSE-4/src/io/DumpReader.hpp (file contents):
Revision 2420 by chrisfen, Tue Nov 8 13:32:27 2005 UTC vs.
Revision 3102 by gezelter, Fri Dec 29 21:43:18 2006 UTC

# Line 71 | Line 71 | namespace oopse {
71      /** Returns the number of frames in the dump file*/
72      int getNFrames();
73  
74 +    void setNeedCOMprops(bool ncp) {
75 +      needCOMprops_ = ncp;
76 +    }
77          
78      void readFrame(int whichFrame);
79  
# Line 80 | Line 83 | namespace oopse {
83  
84      void readSet(int whichFrame);
85  
86 <    void parseDumpLine(char *line, StuntDouble* integrableObject);
86 >    void parseDumpLine(const std::string&);
87  
88 <    void parseCommentLine(char* line, Snapshot* s);
89 <
90 <
88 < #ifdef IS_MPI
89 <
90 <    void anonymousNodeDie(void);
91 <    void nodeZeroError(void);
92 <
93 < #endif                
94 <    // the maximum length of a typical MPI package is 15k
95 <    const static int maxBufferSize = 8192;
88 >    void readFrameProperties(std::istream& inputStream);
89 >
90 >    void readStuntDoubles(std::istream& inputStream);                  
91          
92      SimInfo* info_;
93  
# Line 108 | Line 103 | namespace oopse {
103      bool needPos_;
104      bool needVel_;
105      bool needQuaternion_;
106 <    bool needAngMom_;
106 >    bool needAngMom_;
107 >    bool needCOMprops_;
108 >
109 >    const static int bufferSize = 4096;
110 >    char buffer[bufferSize];
111    };
112  
113   }      //end namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines