1 |
|
#ifndef _LATTICE_H_ |
2 |
|
#define _LATTICE_H_ |
3 |
|
#include "BaseLattice.hpp" |
4 |
+ |
#include <string> |
5 |
+ |
#include <vector> |
6 |
+ |
using namespace std; |
7 |
|
|
8 |
|
const string FCCLatticeType = "FCC"; |
9 |
|
const string BCCLatticeType = "BCC"; |
16 |
|
CubicLattice(); |
17 |
|
public: |
18 |
|
//get lattice constant of unit cell |
19 |
< |
vector<double> getLatticeConstant(); |
19 |
> |
virtual vector<double> getLatticeConstant(); |
20 |
|
|
21 |
|
//set lattice constant of unit cell |
22 |
< |
void setLatticeConstant(const vector<double>& lc); |
22 |
> |
virtual void setLatticeConstant(const vector<double>& lc); |
23 |
|
protected: |
24 |
|
double latticeParam; |
25 |
|
}; |