From d779ab4d350772190725cef2d466cfd3ea5b4e92 Mon Sep 17 00:00:00 2001
From: "Nathanael Schaeffer @lgit-1177" <nschaeff@obs.ujf-grenoble.fr>
Date: Mon, 22 Feb 2010 16:30:58 +0100
Subject: [PATCH] change: SHT.h renamed to shtns.h

---
 Makefile         | 8 ++++----
 README           | 2 +-
 SHT_example.c    | 2 +-
 doxygen.conf     | 2 +-
 sht_private.h    | 2 +-
 SHT.h => shtns.h | 4 ++--
 time_SHT.c       | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)
 rename SHT.h => shtns.h (98%)

diff --git a/Makefile b/Makefile
index 3bc6965..1ceb55c 100644
--- a/Makefile
+++ b/Makefile
@@ -28,7 +28,7 @@ cmd = gcc $(go)
 
 shtfiles = SHT/SH_to_spat.c SHT/spat_to_SH.c SHT/SHeo_to_spat.c SHT/spat_to_SHeo.c SHT/hyb_SH_to_spat.gen.c SHT/hyb_spat_to_SH.gen.c SHT/sparse_spat_to_SH.gen.c SHT/sparse_SH_to_spat.gen.c SHT/Makefile sht_legendre.c
 
-hfiles = sht_private.h sht_config.h SHT.h
+hfiles = sht_private.h sht_config.h shtns.h
 
 default : libshtns.a
 
@@ -37,7 +37,7 @@ libshtns.a : Makefile SHT.o sht_std.o sht_ltr.o sht_m0.o sht_eo.o sht_m0ltr.o
 
 install :
 	cp libshtns.a $(PREFIX)/lib
-	cp SHT.h $(PREFIX)/include
+	cp shtns.h $(PREFIX)/include
 	cp shtns.f $(PREFIX)/include
 
 # codelets :
@@ -66,10 +66,10 @@ sht_eo.o : sht_eo.c Makefile $(hfiles) SHT/SHeo_to_spat.c SHT/spat_to_SHeo.c
 	$(cmd) -c sht_eo.c -o sht_eo.o
 
 # programs :
-time_SHT : SHT.h time_SHT.c libshtns.a Makefile
+time_SHT : shtns.h time_SHT.c libshtns.a Makefile
 	$(cmd) time_SHT.c libshtns.a -lfftw3 -lm -o time_SHT
 
-SHT_example : SHT_example.c libshtns.a Makefile SHT.h
+SHT_example : SHT_example.c libshtns.a Makefile shtns.h
 	$(cmd) SHT_example.c libshtns.a -lfftw3 -lm -o SHT_example
 
 SHT_fort_ex : SHT_example.f libshtns.a Makefile shtns.f
diff --git a/README b/README
index c6e61c6..da3c662 100644
--- a/README
+++ b/README
@@ -20,7 +20,7 @@ Then browse the html documentation starting with doc/html/index.html
  * 
  * It uses the <a href="http://www.fftw.org/">FFTW</a> library for Fast Fourier Transforms, and is distributed under the GPL License.
  *
- * \see SHT.h for the definitions of variables, macros and functions.
+ * \see shtns.h for the definitions of variables, macros and functions.
  * \see The example programs (in \link SHT_example.f Fortran \endlink and \link SHT_example.c C \endlink) to get started.
  * \see The organisation of data used by SHTns is described in \ref spat.
  * \see The description of \ref opt.
diff --git a/SHT_example.c b/SHT_example.c
index bc799d8..a2e7fe7 100644
--- a/SHT_example.c
+++ b/SHT_example.c
@@ -8,7 +8,7 @@
 #include <math.h>
 #include <fftw3.h>
 
-#include "SHT.h"
+#include "shtns.h"
 
 /// a simple function that writes a vector to a file
 void write_vect(char *fn, double *vec, int N);
diff --git a/doxygen.conf b/doxygen.conf
index f42b740..e856d57 100644
--- a/doxygen.conf
+++ b/doxygen.conf
@@ -564,7 +564,7 @@ WARN_LOGFILE           =
 # directories like "/usr/src/myproject". Separate the files or directories 
 # with spaces.
 
-INPUT                  = . SHT.h sht_config.h SHT.c SHT_example.c README SHT_example.f
+INPUT                  = . shtns.h sht_config.h SHT.c SHT_example.c README SHT_example.f
 
 # This tag can be used to specify the character encoding of the source files 
 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is 
diff --git a/sht_private.h b/sht_private.h
index f830ae4..b457166 100644
--- a/sht_private.h
+++ b/sht_private.h
@@ -12,7 +12,7 @@
 
 #include "sht_config.h"
 
-#include "SHT.h"
+#include "shtns.h"
 
 // define shortcuts to sizes + allow compile-time optimizations when SHT_AXISYM is defined.
 #define LMAX shtns.lmax
diff --git a/SHT.h b/shtns.h
similarity index 98%
rename from SHT.h
rename to shtns.h
index 5a13cef..03cb5fd 100644
--- a/SHT.h
+++ b/shtns.h
@@ -1,5 +1,5 @@
-/** \file SHT.h
- \brief SHT.h is the definition file for SHTns : include this file in your source code to use SHTns.
+/** \file shtns.h
+ \brief shtns.h is the definition file for SHTns : include this file in your source code to use SHTns.
 **/
 
 /// different Spherical Harmonic normalizations.
diff --git a/time_SHT.c b/time_SHT.c
index 695af86..a9b523e 100644
--- a/time_SHT.c
+++ b/time_SHT.c
@@ -12,7 +12,7 @@
 // cycle counter from FFTW
 #include "cycle.h"
 
-#include "SHT.h"
+#include "shtns.h"
 
 complex double *Slm, *Slm0, *Tlm, *Tlm0;	// spherical harmonics l,m space
 complex double *ShF, *ThF, *NLF;	// Fourier space : theta,m
-- 
GitLab