-
Notifications
You must be signed in to change notification settings - Fork 0
/
defines.h
27 lines (22 loc) · 717 Bytes
/
defines.h
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
#ifndef DEFINES
#define DEFINES
#define ORGANIZATION "thesomeprojects"
#define APPNAME "qmisestruss"
#define APPVERISON "0.0.5"
#define NumIter "ITERATIONS"
#define NumStartAngle "START_ANGLE"
#define NumYoungModule "YOUNG_MODULE"
#define NumTrussLength "TRUSS_LENGTH"
#define NumCrossArea "CROSS_AREA"
#define NumForceAngle "FORCE_ANGLE"
#define NumSupportStiffness "SUPPORT_STIFFNESS"
#define NumPlotScale "PLOT_SCALE"
#define NumPlotScaleElast "PLOT_SCALE_ELAST"
#define NumAfCal "ELAST_AREA"
#define NumHw "ELAST_HEIGHT"
#define BoolDeriv "SHOW_DERIVATIVE"
#include<cmath>
static const double ZERO = 0.0;
static const double EPSILON_ = 1e-12;
static const double PHI = (1.0+sqrt(5.0))/2.0;
#endif // DEFINES