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