update: allow -DFLAT=1 to set a flat spacetime without black hole during compilation

This commit is contained in:
2026-02-28 02:04:51 -05:00
parent 4be6add815
commit 96c7350aa1

View File

@@ -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)