Skip to content

Commit 351180b

Browse files
author
Dag Sverre Seljebotn
committed
Moved over Legendre transforms from Commander project
1 parent 9a839b8 commit 351180b

9 files changed

Lines changed: 1603 additions & 1 deletion

File tree

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,11 @@ perftest: compile_all
5353
$(BINDIR)/sharp_testsuite test gauss 2047 -1 -1 4096 0 1 && \
5454
$(BINDIR)/sharp_testsuite test gauss 4095 -1 -1 8192 0 1 && \
5555
$(BINDIR)/sharp_testsuite test gauss 8191 -1 -1 16384 0 1
56+
57+
# Jinja templates
58+
59+
%.c: %.c.in
60+
./runjinja.py < $< > $@
61+
62+
genclean:
63+
rm libsharp/sharp_legendre.c || exit 0

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
11+
LIBOBJ:=sharp_ylmgen_c.o sharp.o sharp_announce.o sharp_geomhelpers.o sharp_almhelpers.o sharp_core.o sharp_legendre.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
@@ -39,5 +39,6 @@
3939
#include <complex.h>
4040

4141
#include "sharp_lowlevel.h"
42+
#include "sharp_legendre.h"
4243

4344
#endif

0 commit comments

Comments
 (0)