-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmyglobalvars.cpp
More file actions
48 lines (38 loc) · 1.19 KB
/
Copy pathmyglobalvars.cpp
File metadata and controls
48 lines (38 loc) · 1.19 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
#include "myglobalvars.h"
#include <QString>
#include <QStringList>
#include <QStandardPaths>
#include <QProcess>
#include <QDir>
// ALL THE GLOBAL DEFINITIONS
QString OutputFileName = "/OUT.DAT";
QString delimator = " ";
QStringList RawData = {"1","2"};
QStringList titleVals={};
QStringList Legends={};
QString documentFolderPath=QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation)+"/JOINUS";
QString rootPath = QDir::currentPath();
QString PlotPath = documentFolderPath+"/Graphs";
QString DataPath = documentFolderPath+"/Data";
QString WSIMPath = rootPath+"/Add-ons";
QString simEngine = rootPath+"/Simulators";
QString TempFileName = DataPath+"/ModiNL.cir";
QString TempOutFile = DataPath+"/TempOut.tmp";
QString propertiesFile=documentFolderPath+"/properties.stat";
int columNum = 2;
double temperature = 4.2;
double P_lambda = 84e-9;
double globalMagField = 0;
double hbar=1.05457e-34;
double ecnst=1.602e-19; //C
double Tc=9.2; //Kelvin
double Bc2=1000; //micro tesla
double Kbolt=1.3806e-23;
double Pi=3.14159265358979;
double Phi0=hbar*Pi/ecnst;
double timestep=1;
int Simindex=0;
bool runProcess=true;
myglobalvars::myglobalvars()
{
}