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

Comparing trunk/src/applications/staticProps/NanoVolume.cpp (file contents):
Revision 1303 by chuckv, Sun Sep 14 01:32:26 2008 UTC vs.
Revision 1304 by chuckv, Wed Oct 15 18:26:01 2008 UTC

# Line 45 | Line 45
45   *
46   *  Created by Charles F. Vardeman II on 14 Dec 2006.
47   *  @author  Charles F. Vardeman II
48 < *  @version $Id: NanoVolume.cpp,v 1.7 2008-09-14 01:32:23 chuckv Exp $
48 > *  @version $Id: NanoVolume.cpp,v 1.8 2008-10-15 18:26:01 chuckv Exp $
49   *
50   */
51  
# Line 123 | Line 123 | void NanoVolume::process() {
123      }
124      
125      // outer loop is over the selected StuntDoubles:
126 <    /*
126 >    
127      for (sd = seleMan_.beginSelected(i); sd != NULL;
128              sd = seleMan_.nextSelected(i)) {
129        
130 <      pos_.push_back(sd->getPos());
130 >     theAtoms_.push_back(sd);
131        myIndex = sd->getGlobalIndex();
132        
133      }
134 <    */
134 >    
135 >    /*
136      for (mol = info_->beginMolecule(mi); mol != NULL;
137                   mol = info_->nextMolecule(mi)) {
138                for (atom = mol->beginAtom(ai); atom != NULL;
# Line 139 | Line 140 | void NanoVolume::process() {
140                       theAtoms_.push_back(atom);
141                }
142              }
143 <    
143 >    */
144      // Generate convex hull for this frame.
145      thishull->computeHull(theAtoms_);
146    //  totalVolume_ += hull->getVolume();                

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines