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

Comparing branches/new_design/OOPSE-3.0/src/primitives/Molecule.cpp (file contents):
Revision 1843 by tim, Fri Dec 3 21:30:30 2004 UTC vs.
Revision 1844 by tim, Fri Dec 3 22:36:06 2004 UTC

# Line 108 | Line 108 | void Molecule::complete() {
108      Atom* atom;
109      AtomIterator ai;
110      for (atom = beginAtom(ai); atom != NULL; atom = nextAtom(ai)) {
111 <        if (rigidAtoms.find(*ai) != rigidAtoms.end()) {
111 >  
112 >        if (rigidAtoms.find(*ai) == rigidAtoms.end()) {
113 >            //if an atom does not belong to a rigid body, it is an integrable object
114              integrableObjects_.push_back(*ai);
115          }
116      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines