From f34544d09c8edd3a842def338051c3a96b0acfd1 Mon Sep 17 00:00:00 2001 From: allen Date: Wed, 16 Jul 2003 22:06:33 +0000 Subject: Change to CCTK_MaxTimeLevels git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@241 6a38eb6e-646e-4a02-a296-d141613ad6c4 --- src/RadiationBoundary.c | 2 +- src/StaticBoundary.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/RadiationBoundary.c b/src/RadiationBoundary.c index ffa3014..32ea545 100644 --- a/src/RadiationBoundary.c +++ b/src/RadiationBoundary.c @@ -1628,7 +1628,7 @@ static int ApplyBndRadiative (const cGH *GH, /* Use next time level, if available */ timelvl_to = 0; - if (CCTK_NumTimeLevelsFromVarI(first_var_from) > 1) + if (CCTK_MaxTimeLevelsVI(first_var_from) > 1) { timelvl_from = 1; } diff --git a/src/StaticBoundary.c b/src/StaticBoundary.c index ecc72d5..f3b1c2a 100644 --- a/src/StaticBoundary.c +++ b/src/StaticBoundary.c @@ -940,7 +940,7 @@ static int ApplyBndStatic (const cGH *GH, SymmetryGHex *sGHex; /* Only apply boundary condition if more than one timelevel */ - if (CCTK_NumTimeLevelsFromVarI(first_var) == 1) + if (CCTK_MaxTimeLevelsVI(first_var) == 1) { return (-4); } -- cgit v1.2.3