-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmoldocument.h
More file actions
43 lines (34 loc) · 968 Bytes
/
moldocument.h
File metadata and controls
43 lines (34 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#ifndef MOLDOCUMENT_H
#define MOLDOCUMENT_H
#include "molstruct.h"
#include "volumedata.h"
#include <QMap>
#include <QVector>
class MolDocument
{
public:
MolDocument();
explicit MolDocument(MolStruct molecule);
public:
struct MolecularOrbital {
MolecularOrbital();
MolecularOrbital(QString id, double occupancy, double energy, QString symmetry);
QString id;
double occupancy;
double energy;
QString symmetry;
};
struct Frequency {
float wavenum;
float intensity;
QVector<QVector3D> eigenvector;
};
MolStruct molecule;
//TODO: Should we separate volumes we know the purpose of (e.g. the orbitals) from ones
// that we find as part of a file (e.g. cube files)?
QMap<QString, VolumeData> volumes;
QList<MolecularOrbital> orbitals;
QList<Frequency> frequencies;
QMap<QString, QString> calculatedProperties;
};
#endif // MOLDOCUMENT_H