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]; |