ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/BaseLattice.hpp
(Generate patch)

Comparing trunk/OOPSE-1.0/utils/sysbuilder/BaseLattice.hpp (file contents):
Revision 1428 by tim, Wed Jul 28 18:42:59 2004 UTC vs.
Revision 1429 by tim, Wed Jul 28 20:29:49 2004 UTC

# Line 20 | Line 20 | class BaseLattice{
20      virtual ~BaseLattice() {}
21  
22      //get lattice type
23 <    virtual string getLatticeType() = 0;
23 >    virtual const string getLatticeType() = 0;
24      
25      int getNumSitesPerCell() {return nCellSites;}
26  
# Line 29 | Line 29 | class BaseLattice{
29      vector<Vector3d> getLatticePointsOrt() {return cellSitesOrt;}
30      
31      //get lattice constant of unit cell
32 <    vector<double> getLatticeConstant() =0;
32 >    virtual vector<double> getLatticeConstant() =0;
33  
34      //set lattice constant of unit cell
35 <    void setLatticeConstant(const vector<double>& lc)=0;
35 >    virtual void setLatticeConstant(const vector<double>& lc)=0;
36  
37      //get origin of unit cell
38      Vector3d getOrigin( ) {return origin;}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines