| 1 |
< |
/* |
| 1 |
> |
/* |
| 2 |
|
* Copyright (c) 2005 The University of Notre Dame. All Rights Reserved. |
| 3 |
|
* |
| 4 |
|
* The University of Notre Dame grants you ("Licensee") a |
| 47 |
|
|
| 48 |
|
namespace oopse { |
| 49 |
|
|
| 50 |
< |
class Lattice{ |
| 50 |
> |
class Lattice{ |
| 51 |
|
protected: |
| 52 |
|
Lattice(){ |
| 53 |
|
|
| 58 |
|
|
| 59 |
|
//virtual destructor of Lattice |
| 60 |
|
virtual ~Lattice() {} |
| 61 |
– |
|
| 62 |
– |
//get lattice type |
| 63 |
– |
virtual const std::string getLatticeType() = 0; |
| 61 |
|
|
| 62 |
|
int getNumSitesPerCell() {return nCellSites;} |
| 63 |
|
|
| 64 |
|
void getLatticePointsPos(std::vector<Vector3d>& latticePos, int nx, int ny, int nz); |
| 65 |
|
|
| 66 |
< |
std::vector<Vector3d> getLatticePointsOrt() {return cellSitesOrt;} |
| 66 |
> |
std::vector<Vector3d> getLatticePointsOrt() {return cellSitesOrt;} |
| 67 |
|
|
| 68 |
|
//get lattice constant of unit cell |
| 69 |
|
virtual std::vector<double> getLatticeConstant() =0; |
| 84 |
|
|
| 85 |
|
int nCellSites; |
| 86 |
|
Vector3d origin; |
| 87 |
< |
std::vector<Vector3d> cellSitesPos; |
| 88 |
< |
std::vector<Vector3d> cellSitesOrt; |
| 87 |
> |
std::vector<Vector3d> cellSitesPos; |
| 88 |
> |
std::vector<Vector3d> cellSitesOrt; |
| 89 |
|
Vector3d cellLen; |
| 90 |
< |
}; |
| 90 |
> |
}; |
| 91 |
|
|
| 92 |
|
|
| 93 |
|
} |