ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp
Revision: 1427
Committed: Wed Jul 28 18:42:59 2004 UTC (19 years, 11 months ago) by tim
File size: 1174 byte(s)
Log Message:
SimpleBuilder in progress

File Contents

# User Rev Content
1 tim 1423 #ifndef _LATTICE_H_
2     #define _LATTICE_H_
3     #include "BaseLattice.hpp"
4    
5     const string FCCLatticeType = "FCC";
6     const string BCCLatticeType = "BCC";
7     const string HCPCLatticeType = "HCP";
8     const string OrthorhombicLatticeType = "ORTHORHOMBIC";
9    
10    
11     class CubicLattice : public BaseLattice{
12     protected:
13     CubicLattice();
14     public:
15 tim 1427 //get lattice constant of unit cell
16     vector<double> getLatticeConstant();
17 tim 1423
18 tim 1427 //set lattice constant of unit cell
19     void setLatticeConstant(const vector<double>& lc);
20     protected:
21     double latticeParam;
22 tim 1423 };
23    
24    
25     class FCCLattice : public CubicLattice{
26     public:
27     FCCLattice();
28 tim 1427 virtual const string getLatticeType() {return FCCLatticeType;}
29     virtual void update();
30    
31 tim 1423 };
32    
33 tim 1427 /*
34 tim 1423 class BCCLattice : public CubicLattice{
35     public:
36     BCCLattice();
37     virtual const string getLatticeType() {return BCCLatticeType;}
38     };
39    
40    
41     class HCPLattice : public BaseLattice{
42     public:
43     HCPLattice();
44     virtual const string getLatticeType() {return HCPCLatticeType;}
45     };
46    
47     class OrthorhombicLattice : public BaseLattice{
48     public:
49     OrthorhombicLattice();
50     virtual const string getLatticeType() {return OrthorhombicLatticeType;}
51     };
52 tim 1427 */
53 tim 1423
54    
55     #endif