update: allow -DFLAT=1 to set a flat spacetime without black hole during compilation
This commit is contained in:
@@ -7,7 +7,9 @@
|
||||
|
||||
#define POW2(x) ((x)*(x))
|
||||
|
||||
#ifndef FLAT
|
||||
#define FLAT 0
|
||||
#endif
|
||||
#define PI 3.1415926535897932384626433832795028841971693993751058
|
||||
#define Rs 1
|
||||
#define M (FLAT ? 0 : 0.5*Rs)
|
||||
|
||||
Reference in New Issue
Block a user