aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorgoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-06-22 11:06:33 +0000
committergoodale <goodale@b61c5cb5-eaca-4651-9a7a-d64986f99364>1999-06-22 11:06:33 +0000
commit22400c743b38c7463e30195d74d2dfdce0102c36 (patch)
treec9fae72742520673be71a2e95b6fa310ca62b6d6 /src
parent10f781515ae2ab4b7f6cf2dd18d6d8775f64b9c4 (diff)
Changed to use CCTK_COMPLEX as Complex no longer exists. Thomas will
commit further changes to this soon anyhow, but this at least means that in the meantime pugh compiles 8-) Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGH/PUGH/trunk@58 b61c5cb5-eaca-4651-9a7a-d64986f99364
Diffstat (limited to 'src')
-rw-r--r--src/SetupGroup.c4
-rw-r--r--src/SetupPGF.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/SetupGroup.c b/src/SetupGroup.c
index d986f97..c609d5a 100644
--- a/src/SetupGroup.c
+++ b/src/SetupGroup.c
@@ -98,7 +98,7 @@ int pugh_SetupScalarGroup(pGH *newGH, int vtype, int n_variables, int n_timeleve
case CCTK_VARIABLE_CHAR : var_size = sizeof(char); break;
case CCTK_VARIABLE_INTEGER : var_size = sizeof(int) ; break;
case CCTK_VARIABLE_REAL : var_size = sizeof(CCTK_REAL); break;
- case CCTK_VARIABLE_COMPLEX : var_size = sizeof(Complex); break;
+ case CCTK_VARIABLE_COMPLEX : var_size = sizeof(CCTK_COMPLEX); break;
default : fprintf(stderr,
"Unknown variable type in pugh_SetupScalarGroup\n");
var_size = 1;
@@ -176,7 +176,7 @@ int pugh_SetupGFGroup(pGH *newGH, int vtype, int dim, int n_variables, int n_tim
case CCTK_VARIABLE_CHAR : var_size = sizeof(char); break;
case CCTK_VARIABLE_INTEGER : var_size = sizeof(int) ; break;
case CCTK_VARIABLE_REAL : var_size = sizeof(CCTK_REAL); break;
- case CCTK_VARIABLE_COMPLEX : var_size = sizeof(Complex); break;
+ case CCTK_VARIABLE_COMPLEX : var_size = sizeof(CCTK_COMPLEX); break;
default : fprintf(stderr,
"Unknown variable type in pugh_SetupScalarGroup\n");
var_size = 1;
diff --git a/src/SetupPGF.c b/src/SetupPGF.c
index afe7489..b7f3a0b 100644
--- a/src/SetupPGF.c
+++ b/src/SetupPGF.c
@@ -190,8 +190,8 @@ int EnableGFDataStorage(pGH *GH, pGF *GF) {
char *char_temp;
CCTK_REAL *CCTK_REAL_temp;
int *int_temp;
- Complex *Complex_temp;
- Complex Czero = {0.0,0.0};
+ CCTK_COMPLEX *Complex_temp;
+ CCTK_COMPLEX Czero = {0.0,0.0};
static int ive_blathered = 0;