aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknarf <knarf@6a38eb6e-646e-4a02-a296-d141613ad6c4>2013-06-28 01:55:29 +0000
committerknarf <knarf@6a38eb6e-646e-4a02-a296-d141613ad6c4>2013-06-28 01:55:29 +0000
commit5f455f13379cc2998d18081375f24cf862330ad6 (patch)
tree5015b30257511e5836db786e16d627a8e52fef57
parentd3d99993804f4351751227ba54dcd4c709058425 (diff)
Remove really old code that nobody seems to use.HEADmaster
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@319 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r--src/RadiationBoundary.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/RadiationBoundary.c b/src/RadiationBoundary.c
index f61b4b2..344d719 100644
--- a/src/RadiationBoundary.c
+++ b/src/RadiationBoundary.c
@@ -159,8 +159,6 @@ CCTK_INT BndRadiative(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
CCTK_INT *faces, CCTK_INT *widths, CCTK_INT *tables)
{
int i, j, k, gi, gdim, max_gdim, err, retval;
- CCTK_INT value_type, value_size;
- char *prev_time_level_name;
/* variables to pass to ApplyBndRadiative */
CCTK_INT *width_alldirs; /* width of boundary in all directions */
@@ -235,31 +233,6 @@ CCTK_INT BndRadiative(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
CCTK_VarName(vars[i]));
} else
{
- /* Previous time level (for GVs which don't use Cactus time levels)
- (to be deprecated) */
- if (Util_TableQueryValueInfo(tables[i], &value_type, &value_size,
- "PREVIOUS_TIME_LEVEL"))
- {
- /* Key for previous time level is set */
- if (value_type==CCTK_VARIABLE_STRING)
- {
- prev_time_level_name = malloc(value_size*sizeof(char));
- Util_TableGetString(tables[i], value_size, prev_time_level_name,
- "PREVIOUS_TIME_LEVEL");
- prev_time_level = (CCTK_INT) CCTK_VarIndex(prev_time_level_name);
- free(prev_time_level_name);
- } else if (value_type==CCTK_VARIABLE_INT)
- {
- Util_TableGetInt(tables[i], &prev_time_level, "PREVIOUS_TIME_LEVEL");
- } else
- {
- CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Invalid data type for key \"PREVIOUS_TIME_LEVEL\" "
- "Please use CCTK_STRING for the variable name, "
- "or CCTK_INT for the variable index.");
- }
- }
-
/* Wave speed */
Util_TableGetReal(tables[i], &speed, "SPEED");
}