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