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

# Content
1 #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 //get lattice constant of unit cell
16 vector<double> getLatticeConstant();
17
18 //set lattice constant of unit cell
19 void setLatticeConstant(const vector<double>& lc);
20 protected:
21 double latticeParam;
22 };
23
24
25 class FCCLattice : public CubicLattice{
26 public:
27 FCCLattice();
28 virtual const string getLatticeType() {return FCCLatticeType;}
29 virtual void update();
30
31 };
32
33 /*
34 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 */
53
54
55 #endif