Skip to content

Commit 775601c

Browse files
author
Dag Sverre Seljebotn
authored
Merge pull request #10 from dagss/legendre_table
sharp_legendre_table: Import Legendre table generating code from libpsht
2 parents 0787838 + da748f6 commit 775601c

File tree

9 files changed

+1623
-5
lines changed

9 files changed

+1623
-5
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,5 +74,7 @@ endif
7474

7575
python: $(all_lib) hdrcopy $(CYTHON_MODULES)
7676

77+
# the following test files are automatic; the sht wrapper test
78+
# must be run manually and requires MPI at the moment..
7779
pytest: python
78-
cd python && nosetests --nocapture libsharp/tests/test_sht.py
80+
cd python && nosetests --nocapture libsharp/tests/test_legendre_table.py libsharp/tests/test_legendre.py

libsharp/planck.make

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FULL_INCLUDE+= -I$(SD)
88
HDR_$(PKG):=$(SD)/*.h
99
LIB_$(PKG):=$(LIBDIR)/libsharp.a
1010
BIN:=sharp_testsuite
11-
LIBOBJ:=sharp_ylmgen_c.o sharp.o sharp_announce.o sharp_geomhelpers.o sharp_almhelpers.o sharp_core.o sharp_legendre.o sharp_legendre_roots.o
11+
LIBOBJ:=sharp_ylmgen_c.o sharp.o sharp_announce.o sharp_geomhelpers.o sharp_almhelpers.o sharp_core.o sharp_legendre.o sharp_legendre_roots.o sharp_legendre_table.o
1212
ALLOBJ:=$(LIBOBJ) sharp_testsuite.o
1313
LIBOBJ:=$(LIBOBJ:%=$(OD)/%)
1414
ALLOBJ:=$(ALLOBJ:%=$(OD)/%)

libsharp/sharp.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,6 @@
4141
#include "sharp_lowlevel.h"
4242
#include "sharp_legendre.h"
4343
#include "sharp_legendre_roots.h"
44+
#include "sharp_legendre_table.h"
4445

4546
#endif

0 commit comments

Comments
 (0)