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