--- trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp 2004/07/28 04:58:20 1423 +++ trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp 2004/07/28 18:42:59 1427 @@ -12,18 +12,25 @@ class CubicLattice : public BaseLattice{ protected: CubicLattice(); public: + //get lattice constant of unit cell + vector getLatticeConstant(); + //set lattice constant of unit cell + void setLatticeConstant(const vector& lc); + protected: + double latticeParam; }; class FCCLattice : public CubicLattice{ public: FCCLattice(); - virtual const string getLatticeType() {return FCCLatticeType;} - + virtual const string getLatticeType() {return FCCLatticeType;} + virtual void update(); + }; - +/* class BCCLattice : public CubicLattice{ public: BCCLattice(); @@ -42,7 +49,7 @@ class OrthorhombicLattice : public BaseLattice{ OrthorhombicLattice(); virtual const string getLatticeType() {return OrthorhombicLatticeType;} }; +*/ - #endif