--- trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp 2004/07/28 18:42:59 1427 +++ trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp 2004/07/28 20:29:49 1429 @@ -1,6 +1,9 @@ #ifndef _LATTICE_H_ #define _LATTICE_H_ #include "BaseLattice.hpp" +#include +#include +using namespace std; const string FCCLatticeType = "FCC"; const string BCCLatticeType = "BCC"; @@ -13,10 +16,10 @@ class CubicLattice : public BaseLattice{ CubicLattice(); public: //get lattice constant of unit cell - vector getLatticeConstant(); + virtual vector getLatticeConstant(); //set lattice constant of unit cell - void setLatticeConstant(const vector& lc); + virtual void setLatticeConstant(const vector& lc); protected: double latticeParam; };