aboutsummaryrefslogtreecommitdiff
path: root/src/RadiationBoundary.c
diff options
context:
space:
mode:
authorschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-03-09 09:45:05 +0000
committerschnetter <schnetter@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-03-09 09:45:05 +0000
commit0d0a338cb50efccfdabbbc65c917a1e63bc05ecb (patch)
tree6fd9d0609e957e35700cc0634df1724efe9ff640 /src/RadiationBoundary.c
parent690b22e26602684e32447575b405158216ca25a3 (diff)
Change the table keys to not contain any spaces. That makes it
possible to create tables from strings, which it turn makes it possible to set them in parameter files, which it turn decouples evolution thorns and boundary condition thorns. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@265 6a38eb6e-646e-4a02-a296-d141613ad6c4
Diffstat (limited to 'src/RadiationBoundary.c')
-rw-r--r--src/RadiationBoundary.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/RadiationBoundary.c b/src/RadiationBoundary.c
index bf6a069..47944d1 100644
--- a/src/RadiationBoundary.c
+++ b/src/RadiationBoundary.c
@@ -238,23 +238,23 @@ CCTK_INT BndRadiative(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
/* 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"))
+ "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");
+ "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");
+ 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\" "
+ "Invalid data type for key \"PREVIOUS_TIME_LEVEL\" "
"Please use CCTK_STRING for the variable name, "
"or CCTK_INT for the variable index.");
}
@@ -278,7 +278,7 @@ CCTK_INT BndRadiative(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
if (widths[i]<0)
{
err = Util_TableGetIntArray(tables[i], gdim, width_alldirs,
- "BOUNDARY WIDTH");
+ "BOUNDARY_WIDTH");
if (err<0)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,