-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapollo.h
More file actions
48 lines (33 loc) · 1.43 KB
/
apollo.h
File metadata and controls
48 lines (33 loc) · 1.43 KB
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
44
45
46
47
48
#ifndef APOLLO_H
#define APOLLO_H
#include <QObject>
#include "atlas.h"
extern Atlas prometheusModel;
class Apollo : public QObject
{
Q_OBJECT
public:
Apollo(QObject *parent = 0);
~Apollo();
void setupAtomicData();
// Charge Equilibration (QEq) Method
void setNetCharge(double userInput);
void setupSystem (QVector<int> &Atoms, QVector<float> &PosX, QVector<float> &PosY, QVector<float> &PosZ, QVector<QVector<double> > &coeffMatrix, QVector<double> &partialCharges, double netCharge, QVector<double> &oldPartialCharges);
void solveSystem (QVector<QVector<double> > &coeffMatrix, QVector<double> &partialCharges);
bool iterateHydrogens(QVector<int> &Atoms, QVector<float> &PosX, QVector<float> &PosY, QVector<float> &PosZ, QVector<QVector<double> > &coeffMatrix, QVector<double> &partialCharges, double netCharge, QVector<double> &oldPartialCharges);
double findFudgeyCoulombIntegral(QVector<float> pos1, QVector<float> pos2, int atomicNumber_i, int atomicNumber_j, float correction1, float correction2);
public slots:
void performQEq();
signals:
void calculationFinished(QString message, QString informativeMessage);
private:
double netCharge;
QVector<float> electronegativity;
QVector<float> selfCoulombPotential;
QVector<float> averageAtomSize;
QVector<float> valenceOrbitalExponent;
QVector<int> applicableElements;
signals:
public slots:
};
#endif // APOLLO_H