ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-2.0/src/applications/simpleBuilder/Lattice.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-2.0/src/applications/simpleBuilder/Lattice.cpp (file contents):
Revision 1825, Thu Oct 28 22:34:02 2004 UTC vs.
Revision 1826 by tim, Thu Dec 2 05:04:20 2004 UTC

# Line 16 | Line 16 | vector<double> CubicLattice::getLatticeConstant(){
16    
17   }
18  
19 < vector<double> CubicLattice::getLatticeConstant(){
20 <  vector<double> lc;
19 > std::vector<double> CubicLattice::getLatticeConstant(){
20 >   std::vector<double> lc;
21    
22    lc.push_back(cellLen.x);
23    return lc;
24   }
25  
26 < void CubicLattice::setLatticeConstant(const vector<double>& lc){
26 > void CubicLattice::setLatticeConstant(const  std::vector<double>& lc){
27    
28    if(lc.size() < 1){
29      cerr << "CubicLattice::setLatticeConstant Error: the size of lattice constant vector  is 0" << endl;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines