ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-3.0/src/brains/SimInfo.hpp
(Generate patch)

Comparing branches/new_design/OOPSE-3.0/src/brains/SimInfo.hpp (file contents):
Revision 1721 by tim, Fri Nov 5 23:38:27 2004 UTC vs.
Revision 1722 by tim, Tue Nov 9 23:11:39 2004 UTC

# Line 130 | Line 130 | class SimInfo {
130          Molecule* nextMolecule(std::vector<Molecule*>::iterator& i);
131  
132          /** Returns the number of degrees of freedom */
133 <        int getNDF() {
133 >        int getNdf() {
134              return ndf_;
135          }
136  
137          /** Returns the number of raw degrees of freedom */
138 <        int getNDFRaw() {
138 >        int getNdfRaw() {
139              return ndfRaw_;
140          }
141  
142          /** Returns the number of translational degrees of freedom */
143 <        int getNDFTrans() {
143 >        int getNdfTrans() {
144              return ndfTrans_;
145          }
146  
# Line 175 | Line 175 | class SimInfo {
175          int* getExcludeList() {
176              return exclude_.getExcludeList();
177          }
178 +
179 +        Vector3d getComVel();
180          
181 +        Vector3d getCom();
182 +
183 +        int getSeed() {
184 +            return seed_;
185 +        }
186 +
187 +        void setSeed(int seed) {
188 +            seed_ = seed;
189 +        }
190 +        
191      private:
192  
193 <        void calcNDF();
194 <        void calcNDFRaw();
195 <        void calcNDFTrans();
193 >        void calcNdf();
194 >        void calcNdfRaw();
195 >        void calcNdfTrans();
196  
197          void addExcludePairs(Molecule* mol);
198          void removeExcludePairs(Molecule* mol);
# Line 208 | Line 220 | class SimInfo {
220  
221          std::vector<std::pair<MoleculeStamp*, int> > moleculeStamps_;
222          Globals* globals_;
223 +
224 +        int seed_;
225   };
226  
227   } //namespace oopse

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines