aboutsummaryrefslogtreecommitdiff
path: root/src/bc_noise.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bc_noise.c')
-rw-r--r--src/bc_noise.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bc_noise.c b/src/bc_noise.c
index 80b617a..25255fd 100644
--- a/src/bc_noise.c
+++ b/src/bc_noise.c
@@ -139,10 +139,9 @@ static int ApplyBndNoise (const cGH *GH,
{
DECLARE_CCTK_PARAMETERS;
int i, j, k;
- int var, vtypesize, gindex, gdim, timelvl;
+ int var, gindex, gdim, timelvl;
int doBC[2*MAXDIM], lsh[MAXDIM];
SymmetryGHex *sGHex;
- int type;
/* This argument is unused an undocumented; better make sure people
don't try to use it for something. */
@@ -151,9 +150,8 @@ static int ApplyBndNoise (const cGH *GH,
/* get the group index of the variables */
gindex = CCTK_GroupIndexFromVarI (first_var);
- /* get the number of dimensions and the size of the variables' type */
+ /* get the number of dimensions */
gdim = CCTK_GroupDimI (gindex);
- vtypesize = CCTK_VarTypeSize (CCTK_VarTypeI (first_var));
/* make sure we can deal with this number of dimensions */
if (gdim > MAXDIM)