Remove PREC flag to set the computation precision.

The code by default works only with double precision arithmetics.  Quad
precision arithmetics can be added as an option in the future.

Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
Grzegorz Kowal 2013-12-10 12:04:29 -02:00
parent 9df9b7fa45
commit 8dcc4d95b7
3 changed files with 2 additions and 12 deletions

View File

@ -163,7 +163,7 @@ module integrals
! local variables ! local variables
! !
integer :: iret integer :: iret
real(kind=PREC) :: dvol real(kind=8) :: dvol
! local arrays ! local arrays
! !

View File

@ -22,12 +22,6 @@ SIGNALS = N
MPI = N MPI = N
OMP = N OMP = N
# precision flag:
#
# PREC - arithmetic precision: 4 for single, 8 for double precision
#
PREC = 4
# output data format # output data format
# #
# OUTPUT - the format of output data; so far only HDF5 # OUTPUT - the format of output data; so far only HDF5

View File

@ -104,10 +104,6 @@ ifneq ($(COMPRESS),NONE)
FFLAGS += -DCOMPRESS -D${COMPRESS} FFLAGS += -DCOMPRESS -D${COMPRESS}
endif endif
# precision
#
FFLAGS += -DPREC=${PREC}
# time integration method # time integration method
# #
FFLAGS += -D${TIME} FFLAGS += -D${TIME}