# | Line 47 | Line 47 | namespace OpenMD { | |
---|---|---|
47 | #endif | |
48 | ||
49 | namespace OpenMD { | |
50 | < | |
50 | > | |
51 | DistanceFinder::DistanceFinder(SimInfo* info) : info_(info) { | |
52 | < | |
52 | > | |
53 | nStuntDoubles_ = info_->getNGlobalAtoms() + info_->getNGlobalRigidBodies(); | |
54 | stuntdoubles_.resize(nStuntDoubles_); | |
55 | ||
# | Line 59 | Line 59 | namespace OpenMD { | |
59 | Atom* atom; | |
60 | Molecule::RigidBodyIterator rbIter; | |
61 | RigidBody* rb; | |
62 | – | |
62 | ||
63 | + | |
64 | for (mol = info_->beginMolecule(mi); mol != NULL; | |
65 | mol = info_->nextMolecule(mi)) { | |
66 | ||
# | Line 135 | Line 135 | namespace OpenMD { | |
135 | } | |
136 | } | |
137 | } | |
138 | – | |
138 | return bsResult; | |
139 | } | |
141 | – | |
140 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |