5 |
|
#include <vector> |
6 |
|
|
7 |
|
|
8 |
< |
const std::stringFCCLatticeType = "FCC"; |
9 |
< |
const std::stringBCCLatticeType = "BCC"; |
10 |
< |
const std::stringHCPCLatticeType = "HCP"; |
11 |
< |
const std::stringOrthorhombicLatticeType = "ORTHORHOMBIC"; |
8 |
> |
const std::string FCCLatticeType = "FCC"; |
9 |
> |
const std::string BCCLatticeType = "BCC"; |
10 |
> |
const std::string HCPCLatticeType = "HCP"; |
11 |
> |
const std::string OrthorhombicLatticeType = "ORTHORHOMBIC"; |
12 |
|
|
13 |
|
|
14 |
|
class CubicLattice : public BaseLattice{ |
28 |
|
class FCCLattice : public CubicLattice{ |
29 |
|
public: |
30 |
|
FCCLattice(); |
31 |
< |
virtual const std::stringgetLatticeType() {return FCCLatticeType;} |
31 |
> |
virtual const std::string getLatticeType() {return FCCLatticeType;} |
32 |
|
virtual void update(); |
33 |
|
|
34 |
|
}; |
37 |
|
class BCCLattice : public CubicLattice{ |
38 |
|
public: |
39 |
|
BCCLattice(); |
40 |
< |
virtual const std::stringgetLatticeType() {return BCCLatticeType;} |
40 |
> |
virtual const std::string getLatticeType() {return BCCLatticeType;} |
41 |
|
}; |
42 |
|
|
43 |
|
|
44 |
|
class HCPLattice : public BaseLattice{ |
45 |
|
public: |
46 |
|
HCPLattice(); |
47 |
< |
virtual const std::stringgetLatticeType() {return HCPCLatticeType;} |
47 |
> |
virtual const std::string getLatticeType() {return HCPCLatticeType;} |
48 |
|
}; |
49 |
|
|
50 |
|
class OrthorhombicLattice : public BaseLattice{ |
51 |
|
public: |
52 |
|
OrthorhombicLattice(); |
53 |
< |
virtual const std::stringgetLatticeType() {return OrthorhombicLatticeType;} |
53 |
> |
virtual const std::string getLatticeType() {return OrthorhombicLatticeType;} |
54 |
|
}; |
55 |
|
*/ |
56 |
|
|