-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
102759a
commit 746976f
Showing
11 changed files
with
120 additions
and
335 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,43 +1,24 @@ | ||
#pragma once | ||
inline const char *CE_NAME = "CrystalExplorer"; | ||
inline const char *GLOBAL_MAINWINDOW_TITLE = CE_NAME; | ||
|
||
inline const char *CE_AUTHORS = | ||
namespace cx::globals { | ||
inline constexpr const char *name = "CrystalExplorer"; | ||
inline constexpr const char *mainWindowTitle = name; | ||
|
||
inline constexpr const char *authors = | ||
"P.R. Spackman, M. J. Turner, J. J. McKinnon,<br>S. K. Wolff, D. " | ||
"J. Grimwood, <br>D. Jayatilaka and M. A. Spackman"; | ||
inline const char *CE_URL = "https://crystalexplorer.net"; | ||
inline const char *CE_CITATION_URL = | ||
inline constexpr const char *url = "https://crystalexplorer.net"; | ||
inline constexpr const char *citationUrl = | ||
"https://crystalexplorer.net/docs/how-to-cite.html"; | ||
inline const char *CE_EMAIL = "[email protected]"; | ||
inline const char *COPYRIGHT_NOTICE = | ||
inline constexpr const char *email = "[email protected]"; | ||
inline constexpr const char *copyrightNoticeTemplate = | ||
"©2005-%1 CrystalExplorer authors"; // Insert current year at | ||
// %1 | ||
inline const char *OCC_URL = "https://github.com/peterspackman/occ"; | ||
|
||
inline const char *ANGSTROM_SYMBOL{"Å"}; // Å | ||
inline const char *DEGREE_SYMBOL{"°"}; // ° | ||
inline const char *SQUARED_SYMBOL{"²"}; // ² | ||
inline const char *CUBED_SYMBOL{"³"}; // ³ | ||
|
||
inline const char *ANY_ITEM = "Any"; // Used by CloseContactsDialog | ||
// Used by CloseContactsDialog and Crystal to define the default distance | ||
// for close contacts where X = "Any" and Y = "Any" | ||
inline const double GLOBAL_CC_DISTANCE_CRITERIA = 3.3; | ||
|
||
inline const int CC1_INDEX = 0; | ||
inline const int CC2_INDEX = 1; | ||
inline const int CC3_INDEX = 2; | ||
inline const int CCMAX_INDEX = CC3_INDEX; | ||
|
||
inline const double GLOBAL_FRONT_CLIPPING_PLANE = 10.0; | ||
// %1 | ||
inline constexpr const char *occUrl = "https://github.com/peterspackman/occ"; | ||
|
||
// When calculating close contacts we adjust the sum of the VdW radii by this | ||
// factor so the user has access to more close contacts than just those that are | ||
// less than the sum of the VdW radii. | ||
// This factor should at least 1.0 because this would just be the sum of the VdW | ||
// radii. | ||
inline const double CLOSECONTACT_FACTOR = 1.5; | ||
inline constexpr const char *angstromSymbol{"Å"}; // Å | ||
inline constexpr const char *degreeSymbol{"°"}; // ° | ||
|
||
// Used by SurfaceGenerationDialog and EnergyCalculationDialog to default | ||
// wavefunction combobox option | ||
inline const char *NEW_WAVEFUNCTION_ITEM = "Generate New Wavefunction"; | ||
inline constexpr const char *anyItemLabel = "Any"; | ||
inline constexpr const double frontClippingPlane = 10.0; | ||
} // namespace cx::globals |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.