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 1579 by gezelter, Thu Jun 9 20:26:29 2011 UTC vs.
Revision 1581 by gezelter, Mon Jun 13 22:13:12 2011 UTC

# Line 87 | Line 87 | namespace OpenMD {
87      cellOffsets_.push_back( Vector3i(1, -1,1) );
88    }
89  
90 <  SelfData ForceDecomposition::fillSelfData(int atom1) {
91 <    SelfData sdat;
90 >  void ForceDecomposition::fillSelfData(SelfData sdat, int atom1) {
91 >    
92      // Still Missing atype, skippedCharge, potVec pot,
93      if (storageLayout_ & DataStorage::dslElectroFrame) {
94        sdat.eFrame = &(snap_->atomData.electroFrame[atom1]);
# Line 113 | Line 113 | namespace OpenMD {
113      if (storageLayout_ & DataStorage::dslParticlePot) {
114        sdat.particlePot = &(snap_->atomData.particlePot[atom1]);
115      }
116
117    return sdat;    
116    }
117  
118    bool ForceDecomposition::checkNeighborList() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines