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 |
|
|
|
16 |
|
|
}; |
17 |
|
|
|
18 |
|
|
|
19 |
|
|
class FCCLattice : public CubicLattice{ |
20 |
|
|
public: |
21 |
|
|
FCCLattice(); |
22 |
|
|
virtual const string getLatticeType() {return FCCLatticeType;} |
23 |
|
|
|
24 |
|
|
}; |
25 |
|
|
|
26 |
|
|
|
27 |
|
|
class BCCLattice : public CubicLattice{ |
28 |
|
|
public: |
29 |
|
|
BCCLattice(); |
30 |
|
|
virtual const string getLatticeType() {return BCCLatticeType;} |
31 |
|
|
}; |
32 |
|
|
|
33 |
|
|
|
34 |
|
|
class HCPLattice : public BaseLattice{ |
35 |
|
|
public: |
36 |
|
|
HCPLattice(); |
37 |
|
|
virtual const string getLatticeType() {return HCPCLatticeType;} |
38 |
|
|
}; |
39 |
|
|
|
40 |
|
|
class OrthorhombicLattice : public BaseLattice{ |
41 |
|
|
public: |
42 |
|
|
OrthorhombicLattice(); |
43 |
|
|
virtual const string getLatticeType() {return OrthorhombicLatticeType;} |
44 |
|
|
}; |
45 |
|
|
|
46 |
|
|
|
47 |
|
|
|
48 |
|
|
#endif |