diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mtx_spherical_harmonics.c (renamed from src/mtx_sh.c) | 36 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/AUTHORS (renamed from src/mtx_sh/AUTHORS) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/COPYING (renamed from src/mtx_sh/COPYING) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/ChangeLog (renamed from src/mtx_sh/ChangeLog) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/INSTALL (renamed from src/mtx_sh/INSTALL) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/LICENSE (renamed from src/mtx_sh/LICENSE) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/Makefile.am (renamed from src/mtx_sh/Makefile.am) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/Makefile.in (renamed from src/mtx_sh/Makefile.in) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/NEWS (renamed from src/mtx_sh/NEWS) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/README (renamed from src/mtx_sh/README) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/aclocal.m4 (renamed from src/mtx_sh/aclocal.m4) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/chebyshev12.c (renamed from src/mtx_sh/chebyshev12.c) | 2 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/chebyshev12.h (renamed from src/mtx_sh/chebyshev12.h) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/Makefile.am (renamed from src/mtx_sh/cmdline/Makefile.am) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/Makefile.in (renamed from src/mtx_sh/cmdline/Makefile.in) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/chebyshev12_cmd.c (renamed from src/mtx_sh/cmdline/chebyshev12_cmd.c) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/legendre_a_cmd.c (renamed from src/mtx_sh/cmdline/legendre_a_cmd.c) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/sharmonics_cmd.c (renamed from src/mtx_sh/cmdline/sharmonics_cmd.c) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/cmdline/sharmonics_normalization_cmd.c (renamed from src/mtx_sh/cmdline/sharmonics_normalization_cmd.c) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/config.log (renamed from src/mtx_sh/config.log) | 131 | ||||
-rwxr-xr-x | src/mtx_spherical_harmonics/config.status (renamed from src/mtx_sh/config.status) | 0 | ||||
-rwxr-xr-x | src/mtx_spherical_harmonics/configure (renamed from src/mtx_sh/configure) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/configure.ac (renamed from src/mtx_sh/configure.ac) | 0 | ||||
-rwxr-xr-x | src/mtx_spherical_harmonics/depcomp (renamed from src/mtx_sh/depcomp) | 0 | ||||
-rwxr-xr-x | src/mtx_spherical_harmonics/install-sh (renamed from src/mtx_sh/install-sh) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/legendre_a.c (renamed from src/mtx_sh/legendre_a.c) | 2 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/legendre_a.h (renamed from src/mtx_sh/legendre_a.h) | 0 | ||||
-rwxr-xr-x | src/mtx_spherical_harmonics/missing (renamed from src/mtx_sh/missing) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/sharmonics.c (renamed from src/mtx_sh/sharmonics.c) | 2 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/sharmonics.h (renamed from src/mtx_sh/sharmonics.h) | 0 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/sharmonics_normalization.c (renamed from src/mtx_sh/sharmonics_normalization.c) | 2 | ||||
-rw-r--r-- | src/mtx_spherical_harmonics/sharmonics_normalization.h (renamed from src/mtx_sh/sharmonics_normalization.h) | 0 |
32 files changed, 24 insertions, 151 deletions
diff --git a/src/mtx_sh.c b/src/mtx_spherical_harmonics.c index 7530507..3be43c2 100644 --- a/src/mtx_sh.c +++ b/src/mtx_spherical_harmonics.c @@ -15,12 +15,12 @@ #include "iemmatrix.h" #include <stdlib.h> -#include "mtx_sh/sharmonics.c" -#include "mtx_sh/legendre_a.c" -#include "mtx_sh/chebyshev12.c" -#include "mtx_sh/sharmonics_normalization.c" +#include "mtx_spherical_harmonics/sharmonics.c" +#include "mtx_spherical_harmonics/legendre_a.c" +#include "mtx_spherical_harmonics/chebyshev12.c" +#include "mtx_spherical_harmonics/sharmonics_normalization.c" -static t_class *mtx_sh_class; +static t_class *mtx_spherical_harmonics_class; typedef struct _MTXSh_ MTXSh; struct _MTXSh_ @@ -61,7 +61,7 @@ static void deleteMTXShdata (MTXSh *x) static void *newMTXSh (t_symbol *s, int argc, t_atom *argv) { int nmax; - MTXSh *x = (MTXSh *) pd_new (mtx_sh_class); + MTXSh *x = (MTXSh *) pd_new (mtx_spherical_harmonics_class); x->list_sh_out = outlet_new (&x->x_obj, gensym("matrix")); x->list_sh = 0; x->phi = 0; @@ -69,7 +69,7 @@ static void *newMTXSh (t_symbol *s, int argc, t_atom *argv) x->ws = 0; x->l=0; nmax=(int) atom_getfloat(argv); - post("mtx_sh order %d",nmax); + post("mtx_spherical_harmonics order %d",nmax); if (nmax<0) nmax=0; x->nmax=nmax; @@ -96,11 +96,11 @@ static void mTXShMatrix (MTXSh *x, t_symbol *s, /* size check */ if (!size) - post("mtx_sh: invalid dimensions"); + post("mtx_spherical_harmonics: invalid dimensions"); else if (in_size<size) - post("mtx_sh: sparse matrix not yet supported: use \"mtx_check\""); + post("mtx_spherical_harmonics: sparse matrix not yet supported: use \"mtx_check\""); else if ((rows!=2)||(columns<1)) - post("mtx_sh: 2 X L matrix expected with phi and theta vector, but got more rows/no entries"); + post("mtx_spherical_harmonics: 2 X L matrix expected with phi and theta vector, but got more rows/no entries"); else { if (x->l!=columns) { deleteMTXShdata(x); @@ -123,24 +123,24 @@ static void mTXShMatrix (MTXSh *x, t_symbol *s, mTXShBang(x); } else - post("mtx_sh: memory error, no operation"); + post("mtx_spherical_harmonics: memory error, no operation"); } } -void mtx_sh_setup (void) +void mtx_spherical_harmonics_setup (void) { - mtx_sh_class = class_new - (gensym("mtx_sh"), + mtx_spherical_harmonics_class = class_new + (gensym("mtx_spherical_harmonics"), (t_newmethod) newMTXSh, (t_method) deleteMTXShdata, sizeof (MTXSh), CLASS_DEFAULT, A_GIMME, 0); - class_addbang (mtx_sh_class, (t_method) mTXShBang); - class_addmethod (mtx_sh_class, (t_method) mTXShMatrix, gensym("matrix"), A_GIMME,0); + class_addbang (mtx_spherical_harmonics_class, (t_method) mTXShBang); + class_addmethod (mtx_spherical_harmonics_class, (t_method) mTXShMatrix, gensym("matrix"), A_GIMME,0); } -void iemtx_sh_setup(void){ - mtx_sh_setup(); +void iemtx_spherical_harmonics_setup(void){ + mtx_spherical_harmonics_setup(); } diff --git a/src/mtx_sh/AUTHORS b/src/mtx_spherical_harmonics/AUTHORS index 4abf407..4abf407 100644 --- a/src/mtx_sh/AUTHORS +++ b/src/mtx_spherical_harmonics/AUTHORS diff --git a/src/mtx_sh/COPYING b/src/mtx_spherical_harmonics/COPYING index 623b625..623b625 100644 --- a/src/mtx_sh/COPYING +++ b/src/mtx_spherical_harmonics/COPYING diff --git a/src/mtx_sh/ChangeLog b/src/mtx_spherical_harmonics/ChangeLog index e69de29..e69de29 100644 --- a/src/mtx_sh/ChangeLog +++ b/src/mtx_spherical_harmonics/ChangeLog diff --git a/src/mtx_sh/INSTALL b/src/mtx_spherical_harmonics/INSTALL index 5458714..5458714 100644 --- a/src/mtx_sh/INSTALL +++ b/src/mtx_spherical_harmonics/INSTALL diff --git a/src/mtx_sh/LICENSE b/src/mtx_spherical_harmonics/LICENSE index 94a9ed0..94a9ed0 100644 --- a/src/mtx_sh/LICENSE +++ b/src/mtx_spherical_harmonics/LICENSE diff --git a/src/mtx_sh/Makefile.am b/src/mtx_spherical_harmonics/Makefile.am index ab2ba6f..ab2ba6f 100644 --- a/src/mtx_sh/Makefile.am +++ b/src/mtx_spherical_harmonics/Makefile.am diff --git a/src/mtx_sh/Makefile.in b/src/mtx_spherical_harmonics/Makefile.in index 593826a..593826a 100644 --- a/src/mtx_sh/Makefile.in +++ b/src/mtx_spherical_harmonics/Makefile.in diff --git a/src/mtx_sh/NEWS b/src/mtx_spherical_harmonics/NEWS index e69de29..e69de29 100644 --- a/src/mtx_sh/NEWS +++ b/src/mtx_spherical_harmonics/NEWS diff --git a/src/mtx_sh/README b/src/mtx_spherical_harmonics/README index ea26ea6..ea26ea6 100644 --- a/src/mtx_sh/README +++ b/src/mtx_spherical_harmonics/README diff --git a/src/mtx_sh/aclocal.m4 b/src/mtx_spherical_harmonics/aclocal.m4 index eb3b99a..eb3b99a 100644 --- a/src/mtx_sh/aclocal.m4 +++ b/src/mtx_spherical_harmonics/aclocal.m4 diff --git a/src/mtx_sh/chebyshev12.c b/src/mtx_spherical_harmonics/chebyshev12.c index 2466ac0..462341b 100644 --- a/src/mtx_sh/chebyshev12.c +++ b/src/mtx_spherical_harmonics/chebyshev12.c @@ -13,7 +13,7 @@ "LICENSE.txt" */ -#include "mtx_sh/chebyshev12.h" +#include "mtx_spherical_harmonics/chebyshev12.h" Cheby12WorkSpace *chebyshev12_alloc(const size_t nmax, const size_t l) { Cheby12WorkSpace *wc; diff --git a/src/mtx_sh/chebyshev12.h b/src/mtx_spherical_harmonics/chebyshev12.h index 0da747a..0da747a 100644 --- a/src/mtx_sh/chebyshev12.h +++ b/src/mtx_spherical_harmonics/chebyshev12.h diff --git a/src/mtx_sh/cmdline/Makefile.am b/src/mtx_spherical_harmonics/cmdline/Makefile.am index 8a9391f..8a9391f 100644 --- a/src/mtx_sh/cmdline/Makefile.am +++ b/src/mtx_spherical_harmonics/cmdline/Makefile.am diff --git a/src/mtx_sh/cmdline/Makefile.in b/src/mtx_spherical_harmonics/cmdline/Makefile.in index 368d870..368d870 100644 --- a/src/mtx_sh/cmdline/Makefile.in +++ b/src/mtx_spherical_harmonics/cmdline/Makefile.in diff --git a/src/mtx_sh/cmdline/chebyshev12_cmd.c b/src/mtx_spherical_harmonics/cmdline/chebyshev12_cmd.c index 07f0305..07f0305 100644 --- a/src/mtx_sh/cmdline/chebyshev12_cmd.c +++ b/src/mtx_spherical_harmonics/cmdline/chebyshev12_cmd.c diff --git a/src/mtx_sh/cmdline/legendre_a_cmd.c b/src/mtx_spherical_harmonics/cmdline/legendre_a_cmd.c index 83845de..83845de 100644 --- a/src/mtx_sh/cmdline/legendre_a_cmd.c +++ b/src/mtx_spherical_harmonics/cmdline/legendre_a_cmd.c diff --git a/src/mtx_sh/cmdline/sharmonics_cmd.c b/src/mtx_spherical_harmonics/cmdline/sharmonics_cmd.c index 5b2f22a..5b2f22a 100644 --- a/src/mtx_sh/cmdline/sharmonics_cmd.c +++ b/src/mtx_spherical_harmonics/cmdline/sharmonics_cmd.c diff --git a/src/mtx_sh/cmdline/sharmonics_normalization_cmd.c b/src/mtx_spherical_harmonics/cmdline/sharmonics_normalization_cmd.c index 74b2316..74b2316 100644 --- a/src/mtx_sh/cmdline/sharmonics_normalization_cmd.c +++ b/src/mtx_spherical_harmonics/cmdline/sharmonics_normalization_cmd.c diff --git a/src/mtx_sh/config.log b/src/mtx_spherical_harmonics/config.log index 6e4b3af..88c70b4 100644 --- a/src/mtx_sh/config.log +++ b/src/mtx_spherical_harmonics/config.log @@ -231,8 +231,7 @@ generated by GNU Autoconf 2.61. Invocation command line was on gamelan config.status:620: creating Makefile -config.status:620: creating test/Makefile -config.status:811: executing depfiles commands +config.status:606: error: cannot find input file: test/Makefile.in ## ---------------- ## ## Cache variables. ## @@ -397,130 +396,4 @@ target_alias='' #define HAVE_MALLOC 1 #define HAVE_POW 1 -configure: exit 0 - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status Makefile depfiles - -on gamelan - -config.status:620: creating Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status Makefile depfiles - -on gamelan - -config.status:620: creating Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status test/Makefile depfiles - -on gamelan - -config.status:620: creating test/Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status test/Makefile depfiles - -on gamelan - -config.status:620: creating test/Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status test/Makefile depfiles - -on gamelan - -config.status:620: creating test/Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status Makefile depfiles - -on gamelan - -config.status:620: creating Makefile -config.status:811: executing depfiles commands - -## ---------------------- ## -## Running config.status. ## -## ---------------------- ## - -This file was extended by sh config.status 0.1, which was -generated by GNU Autoconf 2.61. Invocation command line was - - CONFIG_FILES = - CONFIG_HEADERS = - CONFIG_LINKS = - CONFIG_COMMANDS = - $ ./config.status test/Makefile depfiles - -on gamelan - -config.status:620: creating test/Makefile -config.status:811: executing depfiles commands +configure: exit 1 diff --git a/src/mtx_sh/config.status b/src/mtx_spherical_harmonics/config.status index 426c596..426c596 100755 --- a/src/mtx_sh/config.status +++ b/src/mtx_spherical_harmonics/config.status diff --git a/src/mtx_sh/configure b/src/mtx_spherical_harmonics/configure index cd47c67..cd47c67 100755 --- a/src/mtx_sh/configure +++ b/src/mtx_spherical_harmonics/configure diff --git a/src/mtx_sh/configure.ac b/src/mtx_spherical_harmonics/configure.ac index a5b9ceb..a5b9ceb 100644 --- a/src/mtx_sh/configure.ac +++ b/src/mtx_spherical_harmonics/configure.ac diff --git a/src/mtx_sh/depcomp b/src/mtx_spherical_harmonics/depcomp index e5f9736..e5f9736 100755 --- a/src/mtx_sh/depcomp +++ b/src/mtx_spherical_harmonics/depcomp diff --git a/src/mtx_sh/install-sh b/src/mtx_spherical_harmonics/install-sh index a5897de..a5897de 100755 --- a/src/mtx_sh/install-sh +++ b/src/mtx_spherical_harmonics/install-sh diff --git a/src/mtx_sh/legendre_a.c b/src/mtx_spherical_harmonics/legendre_a.c index d4e53f4..a0762b1 100644 --- a/src/mtx_sh/legendre_a.c +++ b/src/mtx_spherical_harmonics/legendre_a.c @@ -14,7 +14,7 @@ */ -#include "mtx_sh/legendre_a.h" +#include "mtx_spherical_harmonics/legendre_a.h" static void legendre_first_recurrence (double *sintheta, LegendreWorkSpace *wl) { int n,l,l0; diff --git a/src/mtx_sh/legendre_a.h b/src/mtx_spherical_harmonics/legendre_a.h index f1d0229..f1d0229 100644 --- a/src/mtx_sh/legendre_a.h +++ b/src/mtx_spherical_harmonics/legendre_a.h diff --git a/src/mtx_sh/missing b/src/mtx_spherical_harmonics/missing index 1c8ff70..1c8ff70 100755 --- a/src/mtx_sh/missing +++ b/src/mtx_spherical_harmonics/missing diff --git a/src/mtx_sh/sharmonics.c b/src/mtx_spherical_harmonics/sharmonics.c index 8593182..5d6f853 100644 --- a/src/mtx_sh/sharmonics.c +++ b/src/mtx_spherical_harmonics/sharmonics.c @@ -12,7 +12,7 @@ * "LICENSE.txt" */ -#include "mtx_sh/sharmonics.h" +#include "mtx_spherical_harmonics/sharmonics.h" // HELPER ROUTINES diff --git a/src/mtx_sh/sharmonics.h b/src/mtx_spherical_harmonics/sharmonics.h index 78919f7..78919f7 100644 --- a/src/mtx_sh/sharmonics.h +++ b/src/mtx_spherical_harmonics/sharmonics.h diff --git a/src/mtx_sh/sharmonics_normalization.c b/src/mtx_spherical_harmonics/sharmonics_normalization.c index c59aa14..ca97292 100644 --- a/src/mtx_sh/sharmonics_normalization.c +++ b/src/mtx_spherical_harmonics/sharmonics_normalization.c @@ -12,7 +12,7 @@ * "LICENSE.txt" */ -#include "mtx_sh/sharmonics_normalization.h" +#include "mtx_spherical_harmonics/sharmonics_normalization.h" SHNorml *sharmonics_normalization_new (const size_t nmax) { SHNorml *wn; diff --git a/src/mtx_sh/sharmonics_normalization.h b/src/mtx_spherical_harmonics/sharmonics_normalization.h index f837233..f837233 100644 --- a/src/mtx_sh/sharmonics_normalization.h +++ b/src/mtx_spherical_harmonics/sharmonics_normalization.h |