ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/parallel/ForceDecomposition.cpp
(Generate patch)

Comparing branches/development/src/parallel/ForceDecomposition.cpp (file contents):
Revision 1582 by gezelter, Tue Jun 14 20:41:44 2011 UTC vs.
Revision 1583 by gezelter, Thu Jun 16 22:00:08 2011 UTC

# Line 88 | Line 88 | namespace OpenMD {
88    }
89  
90    void ForceDecomposition::fillSelfData(SelfData &sdat, int atom1) {
91 <    
92 <    // Still Missing atype, skippedCharge, potVec pot,
91 >
92 >    sdat.atype = ff_->getAtomType(idents[atom1]);
93 >        
94 >    // Still Missing skippedCharge
95      if (storageLayout_ & DataStorage::dslElectroFrame) {
96        sdat.eFrame = &(snap_->atomData.electroFrame[atom1]);
97      }
# Line 147 | Line 149 | namespace OpenMD {
149      if (dispmax > skinThickness_) {
150        cerr << "build because movement\n";
151        return (dispmax > skinThickness_);  
152 +    } else {
153 +      cerr << "not rebuilding\n";
154      }
155      return false;
156    }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines