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

Comparing branches/new_design/OOPSE-2.0/src/brains/SimInfo.hpp (file contents):
Revision 1738 by tim, Sat Nov 13 05:08:12 2004 UTC vs.
Revision 1739 by tim, Mon Nov 15 18:02:15 2004 UTC

# Line 38 | Line 38
38   #include <utility>
39  
40   #include "brains/fSimulation.h"
41 + #include "brains/SimInfo.hpp"
42   #include "primitives/Molecule.hpp"
43   #include "types/MoleculeStamp.hpp"
44   #include "utils/PropertyMap.hpp"
# Line 96 | Line 97 | class SimInfo {
97          /** Returns the total number of cutoff groups in the system. */
98          int getNGlobalCutoffGroups() {
99              return nGlobalCutoffGroups_;
100 +        }
101 +
102 +        /**
103 +         * Returns the total number of integrable objects (total number of rigid bodies plus the total number
104 +         * of atoms which do not belong to the rigid bodies) in the system
105 +         */
106 +        int getNGlobalIntegrableObjects() {
107 +            return nGlobalIntegrableObjects_;
108          }
109          
110          /**
# Line 396 | Line 405 | class SimInfo {
405          int nGlobalMols_;       /**< number of molecules in the system */
406          int nGlobalAtoms_;   /**< number of atoms in the system */
407          int nGlobalCutoffGroups_; /**< number of cutoff groups in this system */
408 +        int nGlobalIntegrableObjects_; /**< number of integrable objects in this system */
409  
410          /**
411           * the size of globalGroupMembership_  is nGlobalAtoms. Its index is  global index of an atom, and the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines