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

Comparing trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp (file contents):
Revision 1423 by tim, Wed Jul 28 04:58:20 2004 UTC vs.
Revision 1429 by tim, Wed Jul 28 20:29:49 2004 UTC

# Line 1 | Line 1
1   #ifndef _LATTICE_H_
2   #define _LATTICE_H_
3   #include "BaseLattice.hpp"
4 + #include <string>
5 + #include <vector>
6 + using namespace std;
7  
8   const string FCCLatticeType = "FCC";
9   const string BCCLatticeType = "BCC";
# Line 12 | Line 15 | class CubicLattice : public BaseLattice{
15    protected:
16      CubicLattice();
17    public:
18 +    //get lattice constant of unit cell
19 +    virtual vector<double> getLatticeConstant();
20  
21 +    //set lattice constant of unit cell
22 +    virtual void setLatticeConstant(const vector<double>& lc);
23 +  protected:
24 +    double latticeParam;
25   };
26  
27  
28   class FCCLattice : public CubicLattice{
29    public:
30      FCCLattice();
31 <    virtual const string getLatticeType() {return FCCLatticeType;}
32 <
31 >    virtual const string getLatticeType() {return FCCLatticeType;}    
32 >    virtual void update();
33 >    
34   };
35  
36 <
36 > /*
37   class BCCLattice : public CubicLattice{
38    public:
39      BCCLattice();
# Line 42 | Line 52 | class OrthorhombicLattice : public BaseLattice{
52      OrthorhombicLattice();
53      virtual const string getLatticeType() {return OrthorhombicLatticeType;}
54   };
55 + */
56  
57  
47
58   #endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines