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

Comparing branches/new_design/OOPSE-3.0/src/applications/simpleBuilder/Lattice.cpp (file contents):
Revision 1829 by tim, Thu Dec 2 05:04:20 2004 UTC vs.
Revision 1830 by tim, Thu Dec 2 05:17:10 2004 UTC

# Line 26 | Line 26 | void CubicLattice::setLatticeConstant(const  std::vect
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;
29 >    std::cerr << "CubicLattice::setLatticeConstant Error: the size of lattice constant vector  is 0" << std::endl;
30      exit(1);
31    }
32    else if (lc.size() > 1){
33 <    cerr << "CubicLattice::setLatticeConstant Warning: the size of lattice constant vector  is " << lc.size() << endl;
33 >    std::cerr << "CubicLattice::setLatticeConstant Warning: the size of lattice constant vector  is " << lc.size() << std::endl;
34    }
35    
36    latticeParam = lc[0];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines