aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorallen <allen@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-07-16 22:06:33 +0000
committerallen <allen@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-07-16 22:06:33 +0000
commitf34544d09c8edd3a842def338051c3a96b0acfd1 (patch)
treeffce135d4a4cf280089925379612c519ad075405
parent20687342fc6a286fce9a4384788e2036a88d03d4 (diff)
Change to CCTK_MaxTimeLevels
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@241 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r--src/RadiationBoundary.c2
-rw-r--r--src/StaticBoundary.c2
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);
}