ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/utils/sysbuilder/Lattice.hpp
Revision: 1429
Committed: Wed Jul 28 20:29:49 2004 UTC (19 years, 11 months ago) by tim
File size: 1247 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 tim 1429 #include <string>
5     #include <vector>
6     using namespace std;
7 tim 1423
8     const string FCCLatticeType = "FCC";
9     const string BCCLatticeType = "BCC";
10     const string HCPCLatticeType = "HCP";
11     const string OrthorhombicLatticeType = "ORTHORHOMBIC";
12    
13    
14     class CubicLattice : public BaseLattice{
15     protected:
16     CubicLattice();
17     public:
18 tim 1427 //get lattice constant of unit cell
19 tim 1429 virtual vector<double> getLatticeConstant();
20 tim 1423
21 tim 1427 //set lattice constant of unit cell
22 tim 1429 virtual void setLatticeConstant(const vector<double>& lc);
23 tim 1427 protected:
24     double latticeParam;
25 tim 1423 };
26    
27    
28     class FCCLattice : public CubicLattice{
29     public:
30     FCCLattice();
31 tim 1427 virtual const string getLatticeType() {return FCCLatticeType;}
32     virtual void update();
33    
34 tim 1423 };
35    
36 tim 1427 /*
37 tim 1423 class BCCLattice : public CubicLattice{
38     public:
39     BCCLattice();
40     virtual const string getLatticeType() {return BCCLatticeType;}
41     };
42    
43    
44     class HCPLattice : public BaseLattice{
45     public:
46     HCPLattice();
47     virtual const string getLatticeType() {return HCPCLatticeType;}
48     };
49    
50     class OrthorhombicLattice : public BaseLattice{
51     public:
52     OrthorhombicLattice();
53     virtual const string getLatticeType() {return OrthorhombicLatticeType;}
54     };
55 tim 1427 */
56 tim 1423
57    
58     #endif