--- trunk/OOPSE-1.0/utils/sysbuilder/BaseLattice.hpp 2004/07/28 18:42:59 1427 +++ trunk/OOPSE-1.0/utils/sysbuilder/BaseLattice.hpp 2004/07/28 20:29:49 1429 @@ -20,7 +20,7 @@ class BaseLattice{ virtual ~BaseLattice() {} //get lattice type - virtual string getLatticeType() = 0; + virtual const string getLatticeType() = 0; int getNumSitesPerCell() {return nCellSites;} @@ -29,10 +29,10 @@ class BaseLattice{ vector getLatticePointsOrt() {return cellSitesOrt;} //get lattice constant of unit cell - vector getLatticeConstant() =0; + virtual vector getLatticeConstant() =0; //set lattice constant of unit cell - void setLatticeConstant(const vector& lc)=0; + virtual void setLatticeConstant(const vector& lc)=0; //get origin of unit cell Vector3d getOrigin( ) {return origin;}