1 |
|
#ifndef __SIMINFO_H__ |
2 |
|
#define __SIMINFO_H__ |
3 |
|
|
4 |
+ |
#include <map> |
5 |
+ |
#include <string> |
6 |
+ |
#include <vector> |
7 |
|
|
5 |
– |
|
8 |
|
#include "Atom.hpp" |
9 |
|
#include "Molecule.hpp" |
10 |
|
#include "AbstractClasses.hpp" |
13 |
|
#define __C |
14 |
|
#include "fSimulation.h" |
15 |
|
#include "fortranWrapDefines.hpp" |
16 |
+ |
#include "GenericData.hpp" |
17 |
|
|
18 |
|
|
19 |
|
|
22 |
|
public: |
23 |
|
|
24 |
|
SimInfo(); |
25 |
< |
~SimInfo(){} |
25 |
> |
~SimInfo(); |
26 |
|
|
27 |
|
int n_atoms; // the number of atoms |
28 |
|
Atom **atoms; // the array of atom objects |
155 |
|
void printMat9(double A[9]); |
156 |
|
double matDet3(double m[3][3]); |
157 |
|
|
158 |
+ |
|
159 |
+ |
void addProperty(GenericData* prop); |
160 |
+ |
GenericData* getProperty(const string& propName); |
161 |
+ |
vector<GenericData*> getProperties(); |
162 |
+ |
|
163 |
|
private: |
164 |
|
|
165 |
|
double origRcut, origEcr; |
183 |
|
void (*setFortranBoxSize) setFortranBoxList; |
184 |
|
|
185 |
|
void (*notifyFortranCutOffs) notifyFortranCutOffList; |
186 |
+ |
|
187 |
+ |
//Addtional Properties of SimInfo |
188 |
+ |
map<string, GenericData*> properties; |
189 |
|
|
190 |
|
}; |
191 |
|
|