-
Notifications
You must be signed in to change notification settings - Fork 3
/
globals.h
40 lines (30 loc) · 1.03 KB
/
globals.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef globals_h
#define globals_h
#include "externals.h"
//MACROS
// #define HOME_SAVED_PATH "/u/vismay/ElasticBodies/"
// #define OUTPUT_SAVED_PATH "/scratch/cluster/vismay/"
#define HOME_SAVED_PATH "/home/vismay/ElasticBodies/"
#define OUTPUT_SAVED_PATH "/home/vismay/ElasticBodies/"
// #define TUTORIAL_SHARED_PATH "/u/vismay/ElasticBodies/"
// #define CONSISTENCY_TEST_SAVE_PATH "/scratch/cluster/vismay/"
#define TUTORIAL_SHARED_PATH "/home/vismay/ElasticBodies/"
#define CONSISTENCY_TEST_SAVE_PATH "/home/vismay/ElasticBodies/"
using namespace Eigen;
using namespace std;
typedef Eigen::Triplet<double> Trip;
typedef Matrix<double, 12, 1> Vector12d;
extern ofstream momentumFile;
extern ofstream energyFile;
extern ofstream strainEnergyFile;
extern ofstream kineticEnergyFile;
extern ofstream gravityEnergyFile;
extern ofstream optimizationFile;
extern double rayleighCoeff;
extern double gravity;
extern bool headless;
extern string material_model;
extern string tetgen_code;
extern string solver;
extern string objectName;
#endif