summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-30 13:12:54 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>1999-07-30 13:12:54 +0000
commit08d345f1a8c59312367b102d37ce30ef2070ad31 (patch)
tree1aa71d16bbbc6c19a6aeb040bbd7f74ff191add9 /src
parent911d72f4fc3e61a8faa523cdf5c6f4b37d5d0c33 (diff)
New include file names
git-svn-id: http://svn.cactuscode.org/flesh/trunk@833 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'src')
-rw-r--r--src/include/Coords.h34
-rw-r--r--src/include/cctk_ActiveThorns.h29
-rw-r--r--src/include/cctk_Comm.h (renamed from src/include/Comm.h)2
-rw-r--r--src/include/cctk_Coord.h (renamed from src/include/Coord.h)3
-rw-r--r--src/include/cctk_Flesh.h (renamed from src/include/flesh.h)2
-rw-r--r--src/include/cctk_FortranString.h (renamed from src/include/FortranString.h)4
-rw-r--r--src/include/cctk_GHExtensions.h (renamed from src/include/GHExtensions.h)2
-rw-r--r--src/include/cctk_Groups.h (renamed from src/include/Groups.h)4
-rw-r--r--src/include/cctk_GroupsOnGH.h (renamed from src/include/GroupsOnGH.h)2
-rw-r--r--src/include/cctk_IOMethods.h (renamed from src/include/IOMethods.h)0
-rw-r--r--src/include/cctk_Interp.h (renamed from src/include/Interp.h)4
-rw-r--r--src/include/cctk_Misc.h (renamed from src/include/Misc.h)2
-rw-r--r--src/include/cctk_Reduction.h (renamed from src/include/Reduction.h)2
-rw-r--r--src/include/cctk_WarnLevel.h (renamed from src/include/WarnLevel.h)2
-rw-r--r--src/include/rfrConstants.h (renamed from src/include/rfr_constants.h)2
-rw-r--r--src/util/Misc.c6
16 files changed, 46 insertions, 54 deletions
diff --git a/src/include/Coords.h b/src/include/Coords.h
deleted file mode 100644
index f117fa1d..00000000
--- a/src/include/Coords.h
+++ /dev/null
@@ -1,34 +0,0 @@
- /*@@
- @header Coord.h
- @date Mon April 12 1999
- @author Gabrielle Allen
- @desc
- Prototypes and constants for coordinate functions
- @enddesc
- @version $Header$
- @@*/
-
-#ifndef _COORD_H_
-#define _COORD_H_
-
-/* Prototypes */
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-
-struct Coordprops
-{
- char * name;
- int index;
- int direction;
-};
-
-
-
-#ifdef __cplusplus
-}
-#endif
-
-#endif
diff --git a/src/include/cctk_ActiveThorns.h b/src/include/cctk_ActiveThorns.h
new file mode 100644
index 00000000..bfc6a6ba
--- /dev/null
+++ b/src/include/cctk_ActiveThorns.h
@@ -0,0 +1,29 @@
+ /*@@
+ @header cctk_ActiveThorns.h
+ @date Sun Jul 4 17:39:50 1999
+ @author Tom Goodale
+ @desc
+
+ @enddesc
+ @version $Header$
+ @@*/
+
+#ifndef __ACTIVETHORNS_H_
+#define __ACTIVETHORNS_H_
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+int CCTKi_RegisterThorn(const char *name, const char *imp);
+int CCTKi_ActivateThorn(const char *name);
+int CCTK_IsThornActive(const char *name);
+int CCTK_IsImplementationActive(const char *name);
+int CCTKi_ListThorns(FILE *file, const char *format, int active);
+int CCTKi_ListImplementations(FILE *file, const char *format, int active);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* _ACTIVETHORNS_H_ */
diff --git a/src/include/Comm.h b/src/include/cctk_Comm.h
index 824138ad..62e7bff1 100644
--- a/src/include/Comm.h
+++ b/src/include/cctk_Comm.h
@@ -1,5 +1,5 @@
/*@@
- @header Comm.h
+ @header cctk_Comm.h
@date Sat Feb 13 19:42:29 1999
@author Tom Goodale
@desc
diff --git a/src/include/Coord.h b/src/include/cctk_Coord.h
index 83ec63a8..2730abf8 100644
--- a/src/include/Coord.h
+++ b/src/include/cctk_Coord.h
@@ -1,5 +1,5 @@
/*@@
- @header Coord.h
+ @header cctk_Coord.h
@date Mon April 12 1999
@author Gabrielle Allen
@desc
@@ -17,7 +17,6 @@
extern "C" {
#endif
-
struct Coordprops
{
char * name;
diff --git a/src/include/flesh.h b/src/include/cctk_Flesh.h
index dc36e3b3..f21b32d0 100644
--- a/src/include/flesh.h
+++ b/src/include/cctk_Flesh.h
@@ -1,5 +1,5 @@
/*@@
- @header flesh.h
+ @header cctk_Flesh.h
@date Thu Sep 24 10:18:52 1998
@author Tom Goodale
@desc
diff --git a/src/include/FortranString.h b/src/include/cctk_FortranString.h
index d2bcd9d6..9500e45b 100644
--- a/src/include/FortranString.h
+++ b/src/include/cctk_FortranString.h
@@ -1,5 +1,5 @@
/*@@
- @header FortranString.h
+ @header cctk_FortranString.h
@date Wed Feb 17 12:55 1999
@author Gabrielle Allen, Paul Walker
@desc
@@ -15,7 +15,7 @@
@version $Header$
@@*/
-#include "Misc.h"
+#include "cctk_Misc.h"
#if defined T3E
diff --git a/src/include/GHExtensions.h b/src/include/cctk_GHExtensions.h
index 04c57d15..ff4d086b 100644
--- a/src/include/GHExtensions.h
+++ b/src/include/cctk_GHExtensions.h
@@ -1,5 +1,5 @@
/*@@
- @header GHExtensions.h
+ @header cctk_GHExtensions.h
@date Fri Jan 15 14:15:20 1999
@author Tom Goodale
@desc
diff --git a/src/include/Groups.h b/src/include/cctk_Groups.h
index a7904691..d7142d10 100644
--- a/src/include/Groups.h
+++ b/src/include/cctk_Groups.h
@@ -1,5 +1,5 @@
/*@@
- @header Groups.h
+ @header cctk_Groups.h
@date Mon Feb 8 14:47:10 1999
@author Tom Goodale
@desc
@@ -28,8 +28,6 @@ int CCTKi_CreateGroup(const char *gname, const char *thorn, const char *imp,
int CCTK_GroupIndex(const char *groupname);
-void CCTK_DumpGroupInfo(void);
-
int CCTK_VarIndex(const char *variablename);
char *CCTK_GroupNameFromVarI(int var);
diff --git a/src/include/GroupsOnGH.h b/src/include/cctk_GroupsOnGH.h
index 9c2c9288..fadd7c0b 100644
--- a/src/include/GroupsOnGH.h
+++ b/src/include/cctk_GroupsOnGH.h
@@ -1,5 +1,5 @@
/*@@
- @header GroupsOnGH.h
+ @header cctk_GroupsOnGH.h
@date Wed Apr 7 1999
@author Gabrielle Allen
@desc
diff --git a/src/include/IOMethods.h b/src/include/cctk_IOMethods.h
index d5607dee..d5607dee 100644
--- a/src/include/IOMethods.h
+++ b/src/include/cctk_IOMethods.h
diff --git a/src/include/Interp.h b/src/include/cctk_Interp.h
index 7b98c9bf..9bd1317f 100644
--- a/src/include/Interp.h
+++ b/src/include/cctk_Interp.h
@@ -1,5 +1,5 @@
/*@@
- @header Interp.h
+ @header cctk_Interp.h
@date July 07 1999
@author Thomas Radke
@desc
@@ -8,7 +8,7 @@
@history
@date July 07 1999
@author Thomas Radke
- @hdesc Just copied from Reduction.h
+ @hdesc Just copied from cctk_Reduction.h
@endhistory
@@*/
diff --git a/src/include/Misc.h b/src/include/cctk_Misc.h
index 1f2d8d7b..fe7ebba5 100644
--- a/src/include/Misc.h
+++ b/src/include/cctk_Misc.h
@@ -1,5 +1,5 @@
/*@@
- @header Misc.h
+ @header cctk_Misc.h
@date Wed Jan 20 10:39:01 1999
@author Tom Goodale
@desc
diff --git a/src/include/Reduction.h b/src/include/cctk_Reduction.h
index bf4ffda9..10a37fc5 100644
--- a/src/include/Reduction.h
+++ b/src/include/cctk_Reduction.h
@@ -1,5 +1,5 @@
/*@@
- @header Reduction.h
+ @header cctk_Reduction.h
@date
@author Gabrielle Allen
@desc
diff --git a/src/include/WarnLevel.h b/src/include/cctk_WarnLevel.h
index a001aedc..fb39f255 100644
--- a/src/include/WarnLevel.h
+++ b/src/include/cctk_WarnLevel.h
@@ -18,7 +18,7 @@ int CCTKi_SetWarnLevel(int level);
void CCTK_Warn(int level, int line, const char *file, const char *thorn, const char *message);
void CCTK_ParamWarn(const char *thorn, const char *message);
void CCTK_FinaliseParamWarn(void);
-int CCTK_SetErrorLevel(int level);
+int CCTKi_SetErrorLevel(int level);
void CCTK_Info(const char *thorn, const char *message);
#ifdef __cplusplus
diff --git a/src/include/rfr_constants.h b/src/include/rfrConstants.h
index c07d55fe..fb407dbe 100644
--- a/src/include/rfr_constants.h
+++ b/src/include/rfrConstants.h
@@ -1,5 +1,5 @@
/*@@
- @file rfr_constants.h
+ @file rfrConstants.h
@date
@author
@desc
diff --git a/src/util/Misc.c b/src/util/Misc.c
index 8fcec522..5bda1e6b 100644
--- a/src/util/Misc.c
+++ b/src/util/Misc.c
@@ -19,9 +19,9 @@
#include "gnu_regex.h"
#include "config.h"
-#include "Misc.h"
-#include "FortranString.h"
-#include "WarnLevel.h"
+#include "cctk_Misc.h"
+#include "cctk_FortranString.h"
+#include "cctk_WarnLevel.h"
/*@@
@routine Util_SplitString