Debian Codegraph @

avogadro/qtplugins/yaehmop/yaehmopsettings.h

raw
1 /******************************************************************************
2 This source file is part of the Avogadro project.
3 This source code is released under the 3-Clause BSD License, (see "LICENSE").
4 ******************************************************************************/
5
6 #ifndef AVOGADRO_QTPLUGINS_YAEHMOPSETTINGS_H
7 #define AVOGADRO_QTPLUGINS_YAEHMOPSETTINGS_H
8
9 #include <QString>
10
11 namespace Avogadro::QtPlugins {
12
13 static const char* YAEHMOP_DEFAULT_SPECIAL_KPOINTS = "GM 0 0 0";
14
15 struct YaehmopSettings
16 {
17 YaehmopSettings()
18 : numBandKPoints(40), specialKPoints(YAEHMOP_DEFAULT_SPECIAL_KPOINTS),
19 displayYaehmopInput(false), limitY(false), minY(0.0), maxY(0.0),
20 plotFermi(false), fermi(0.0), zeroFermi(false), numDim(3) {};
21
22 unsigned long long numBandKPoints;
23 QString specialKPoints;
24 bool displayYaehmopInput;
25 bool limitY;
26 double minY;
27 double maxY;
28 bool plotFermi;
29 double fermi;
30 bool zeroFermi;
31 unsigned short numDim;
32 };
33
34 } // namespace Avogadro::QtPlugins
35
36 #endif // AVOGADRO_QTPLUGINS_YAEHMOPSETTINGS_H