aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/WaveToy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WaveToy.cc b/src/WaveToy.cc
index 45d4eac..cf5b7e0 100644
--- a/src/WaveToy.cc
+++ b/src/WaveToy.cc
@@ -140,11 +140,11 @@ static void WaveToyC_Boundaries(CCTK_CARGUMENTS)
if (CCTK_Equals(bound,"flat"))
{
- ierr = ApplyFlatBC(cctkGH,sw,"wavetoycxx::phi_new");
+ ierr = FlatBCVar(cctkGH,sw,"wavetoycxx::phi_new");
}
else if (CCTK_Equals(bound,"radiation"))
{
- ierr = ApplyRadiativeBC(cctkGH,0,1,sw,"wavetoycxx::phi_new","wavetoy::phi");
+ ierr = RadiativeBCVar(cctkGH,0,1,sw,"wavetoycxx::phi_new","wavetoy::phi");
}
if (ierr < 0)