Skip to content

Commit 79efdfe

Browse files
committed
Minor fixes
1 parent 55ea8b1 commit 79efdfe

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

Makefile.include

+3-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
#
77
#
88
# quad precision
9-
ADD_FLAGS = -DHC_PRECISION=32 -O2
9+
#ADD_FLAGS = -DHC_PRECISION=32 -O2
1010
#
1111
# double precision
12-
#ADD_FLAGS = -O2
12+
ADD_FLAGS = -O2
13+
1314

1415
GGRD_INC_FLAGS = -I$(GMTHOME)/include -I$(NETCDFHOME)/include
1516
GGRD_LIBS_LINKLINE = -lggrd -lgmt -lpsl -lnetcdf

README.TXT

+3-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ KNOWN LIMITATIONS
165165
The propagator matrix approach can be unstable for moderately high
166166
maximum degrees. This behavior can be addressed partially by compiling
167167
HC in quadruple precision, and kinematic boundary can be addressed
168-
with a kludge, see -cbckl.
168+
with a kludge, see -cbckl. If you compile with this trick and
169+
quadruple precision (the default within SEATREE), you should be good
170+
to up to L=127.
169171

170172

171173
SPHERICAL HARMONICS FORMAT

ggrd_grdtrack_util.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ int ggrd_grdtrack_init(double *west, double *east,
500500
FILE *din;
501501
float dz1,dz2;
502502
struct GRD_HEADER ogrd;
503-
int i,one_or_zero,nx,ny,mx,my,nn;
503+
int i,one_or_zero,nx,ny,mx,my;
504504
char filename[BUFSIZ*2],*cdummy;
505505
static int gmt_init = FALSE;
506506
/*
@@ -716,7 +716,7 @@ int ggrd_grdtrack_init(double *west, double *east,
716716
nx = irint ( (*east - *west) / (*grd)[0].x_inc) + one_or_zero;
717717
ny = irint ( (*north - *south) / (*grd)[0].y_inc) + one_or_zero;
718718
/* real size of data */
719-
nn = nx * ny;
719+
//nn = nx * ny;
720720

721721
/* padded */
722722
mx = nx + 4;

make_tar

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#
33
# create a tar file
44
#
5-
ver=${1-1.0.3}
5+
ver=${1-1.0.4}
66
date=`date '+%m%d%y'`
77

88
tf=$HOME/tmp/hc-$ver.$date.tgz

0 commit comments

Comments
 (0)