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" |
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 |
|
/** |
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 |