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

Comparing trunk/src/lattice/shapedLattice.cpp (file contents):
Revision 922 by chuckv, Mon Mar 27 16:03:50 2006 UTC vs.
Revision 923 by chuckv, Wed Mar 29 19:17:20 2006 UTC

# Line 42 | Line 42
42   *
43   *  Created by Charles F. Vardeman II on 17 Feb 2006.
44   *  @author  Charles F. Vardeman II
45 < *  @version $Id: shapedLattice.cpp,v 1.2 2006-03-27 16:03:50 chuckv Exp $
45 > *  @version $Id: shapedLattice.cpp,v 1.3 2006-03-29 19:17:20 chuckv Exp $
46   *
47   */
48  
# Line 88 | Line 88 | namespace oopse{
88      std::vector<Vector3d> shapedLattice::getPoints(){
89                          std::vector<Vector3d> latticePos;
90                          
91 +      
92 +      std::vector<Vector3d> pointsOrt =  simpleLattice_->getLatticePointsOrt();
93        int numMolPerCell = simpleLattice_->getNumSitesPerCell();
94        for(int i = beginNx_; i < endNx_; i++) {    
95          for(int j = beginNy_; j < endNy_; j++) {      
# Line 100 | Line 102 | namespace oopse{
102                
103                if (isInterior(latticePos[l])){
104                  Vector3d myPoint = latticePos[l];
105 +                Vector3d myOrt = pointsOrt[l];
106                  coords_.push_back(myPoint);
107 +                coordsOrt_.push_back(myOrt);
108                }
109              }
110            }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines