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 923 by chuckv, Wed Mar 29 19:17:20 2006 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 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.3 2006-03-29 19:17:20 chuckv Exp $
45 > *  @version $Id: shapedLattice.cpp,v 1.4 2006-05-17 21:51:42 tim Exp $
46   *
47   */
48  
# Line 53 | Line 53 | namespace oopse{
53   #include "lattice/LatticeFactory.hpp"
54  
55   namespace oopse{
56 <        shapedLattice::shapedLattice(double latticeConstant,
56 >        shapedLattice::shapedLattice(RealType latticeConstant,
57                                 std::string latticeType) {
58                  latticeConstant_ = latticeConstant;
59                  latticeType_ = latticeType;
# Line 65 | Line 65 | namespace oopse{
65                  }
66                  
67                  //Set the lattice constant
68 <    std::vector<double> lc;
68 >    std::vector<RealType> lc;
69      lc.push_back(latticeConstant_);
70                  simpleLattice_->setLatticeConstant(lc);
71          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines