| 255 |
|
|
| 256 |
|
/** Returns the center of the mass of the whole system.*/ |
| 257 |
|
Vector3d getCom(); |
| 258 |
– |
|
| 259 |
– |
/** Returns the seed (used for random number generator) */ |
| 260 |
– |
int getSeed() { |
| 261 |
– |
return seed_; |
| 262 |
– |
} |
| 263 |
– |
|
| 264 |
– |
/** Sets the seed*/ |
| 265 |
– |
void setSeed(int seed) { |
| 266 |
– |
seed_ = seed; |
| 267 |
– |
} |
| 258 |
|
|
| 259 |
|
/** main driver function to interact with fortran during the initialization and molecule migration */ |
| 260 |
|
void update(); |
| 408 |
|
std::set<AtomType*> getUniqueAtomTypes(); |
| 409 |
|
|
| 410 |
|
friend std::ostream& operator <<(std::ostream& o, SimInfo& info); |
| 411 |
+ |
|
| 412 |
+ |
void getCutoff(double& rcut, double& rsw); |
| 413 |
|
|
| 414 |
|
private: |
| 415 |
|
|
| 486 |
|
PropertyMap properties_; /**< Generic Property */ |
| 487 |
|
SnapshotManager* sman_; /**< SnapshotManager */ |
| 488 |
|
|
| 497 |
– |
int seed_; /**< seed for random number generator */ |
| 498 |
– |
|
| 489 |
|
/** |
| 490 |
|
* The reason to have a local index manager is that when molecule is migrating to other processors, |
| 491 |
|
* the atoms and the rigid-bodies will release their local indices to LocalIndexManager. Combining the |