aboutsummaryrefslogtreecommitdiff
path: root/src/Registration.c
diff options
context:
space:
mode:
authortradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2006-06-23 13:03:50 +0000
committertradke <tradke@b61c5cb5-eaca-4651-9a7a-d64986f99364>2006-06-23 13:03:50 +0000
commit1ec9f7182a8f82535e52fcaaa26c6d2ff644583a (patch)
tree5407405ae8646d219a690601f2e7fc5f4ffd5578 /src/Registration.c
parentdf76f6a88df32597d6a4f819024d165a41787f47 (diff)
Applied patch from Erik Schnetter: rename PUGHi_GenerateTopology to
PUGH_GenerateTopology an export it to other thorns. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@481 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src/Registration.c')
-rw-r--r--src/Registration.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Registration.c b/src/Registration.c
index 549eff7..b975fb8 100644
--- a/src/Registration.c
+++ b/src/Registration.c
@@ -64,11 +64,11 @@ static int LogicalToPhysicalUnavailable(void *table, int num);
********************* Local Data *********************************
********************************************************************/
-int (*PUGHi_GenerateTopology) (int dim,
- int total_procs,
- const int *nsize,
- const int *nghostzones,
- int *nprocs) = GenerateTopologyUnavailable;
+int (*PUGH_GenerateTopology) (int dim,
+ int total_procs,
+ const int *nsize,
+ const int *nghostzones,
+ int *nprocs) = GenerateTopologyUnavailable;
void *(*PUGHi_CreateP2LTranslation) (int dim,
int *nprocs,
@@ -109,7 +109,7 @@ int PUGH_RegisterGenerateTopology(int (*GenerateTopology) (int dim,
if (CCTK_Equals(processor_topology, topologyname))
{
- if (PUGHi_GenerateTopology != GenerateTopologyUnavailable)
+ if (PUGH_GenerateTopology != GenerateTopologyUnavailable)
{
CCTK_VWarn(0,__LINE__,__FILE__,CCTK_THORNSTRING,
"Attempted to register topology generator %s more than once!",
@@ -117,7 +117,7 @@ int PUGH_RegisterGenerateTopology(int (*GenerateTopology) (int dim,
}
else
{
- PUGHi_GenerateTopology = GenerateTopology;
+ PUGH_GenerateTopology = GenerateTopology;
CCTK_VInfo(CCTK_THORNSTRING, "Using topology generator: %s",
topologyname);