Skip to content

Commit

Permalink
(build; #55) remove obsolete #ifdef KERR
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljprice committed May 8, 2023
1 parent 5df55df commit 717fd45
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ endif

ifeq ($(GR), yes)
FPPFLAGS += -DGR
ifeq ($(METRIC), kerr)
FPPFLAGS += -DKERR
endif
ifeq ($(ISENTROPIC), yes)
FPPFLAGS += -DISENTROPIC
FPPFLAGS += -DLIGHTCURVE
Expand Down
8 changes: 0 additions & 8 deletions src/tests/test_gr.F90
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,7 @@ end subroutine test_gr
!-----------------------------------------------------------------------
subroutine test_precession(ntests,npass)
use metric_tools, only:imetric,imet_kerr,imet_schwarzschild
#ifdef KERR
use metric, only:a
#else
real :: a
#endif
integer, intent(inout) :: ntests,npass
integer :: nerr(6),norbits,nstepsperorbit
real :: dt,period,x0,vy0,tmax,angtol,postol
Expand Down Expand Up @@ -103,11 +99,7 @@ end subroutine test_precession
subroutine test_inccirc(ntests,npass)
use physcon, only:pi
use metric_tools, only:imetric,imet_kerr
#ifdef KERR
use metric, only:a
#else
real :: a
#endif
integer, intent(inout) :: ntests,npass
integer :: nerr(6),norbits,nstepsperorbit
real :: dt,period,tmax
Expand Down

0 comments on commit 717fd45

Please sign in to comment.