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