20 |
|
virtual ~BaseLattice() {} |
21 |
|
|
22 |
|
//get lattice type |
23 |
< |
virtual string getLatticeType() = 0; |
23 |
> |
virtual const string getLatticeType() = 0; |
24 |
|
|
25 |
|
int getNumSitesPerCell() {return nCellSites;} |
26 |
|
|
29 |
|
vector<Vector3d> getLatticePointsOrt() {return cellSitesOrt;} |
30 |
|
|
31 |
|
//get lattice constant of unit cell |
32 |
< |
vector<double> getLatticeConstant() =0; |
32 |
> |
virtual vector<double> getLatticeConstant() =0; |
33 |
|
|
34 |
|
//set lattice constant of unit cell |
35 |
< |
void setLatticeConstant(const vector<double>& lc)=0; |
35 |
> |
virtual void setLatticeConstant(const vector<double>& lc)=0; |
36 |
|
|
37 |
|
//get origin of unit cell |
38 |
|
Vector3d getOrigin( ) {return origin;} |