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

Comparing trunk/src/lattice/CubicLattice.cpp (file contents):
Revision 507 by gezelter, Fri Apr 15 22:04:00 2005 UTC vs.
Revision 963 by tim, Wed May 17 21:51:42 2006 UTC

# Line 52 | Line 52 | namespace oopse {
52    
53    }
54  
55 <  std::vector<double> CubicLattice::getLatticeConstant(){
56 <    std::vector<double> lc;
55 >  std::vector<RealType> CubicLattice::getLatticeConstant(){
56 >    std::vector<RealType> lc;
57    
58      lc.push_back(cellLen.x());
59      return lc;
60    }
61  
62 <  void CubicLattice::setLatticeConstant(const  std::vector<double>& lc){
62 >  void CubicLattice::setLatticeConstant(const  std::vector<RealType>& lc){
63    
64      if(lc.size() < 1){
65        std::cerr << "CubicLattice::setLatticeConstant Error: the size of lattice constant vector  is 0" << std::endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines