aboutsummaryrefslogtreecommitdiff
path: root/src/ApplyCartoon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ApplyCartoon.c')
-rw-r--r--src/ApplyCartoon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ApplyCartoon.c b/src/ApplyCartoon.c
index d1f9be8..87680cd 100644
--- a/src/ApplyCartoon.c
+++ b/src/ApplyCartoon.c
@@ -209,7 +209,7 @@ void Cartoon_ApplyBoundaries(CCTK_ARGUMENTS)
if (CCTK_Equals(tensortype, "scalar"))
{
BndCartoon2DVI(cctkGH, TENSORTYPE_SCALAR, prolongmethod, vars[i]);
- } else if (CCTK_Equals(tensortype, "u"))
+ } else if ((CCTK_Equals(tensortype, "u")) || (CCTK_Equals(tensortype, "d")))
{
BndCartoon2DVI(cctkGH, TENSORTYPE_U, prolongmethod, vars[i]);
} else if (CCTK_Equals(tensortype, "dd_sym"))