aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-17 21:23:13 +0000
committerrideout <rideout@6a38eb6e-646e-4a02-a296-d141613ad6c4>2003-02-17 21:23:13 +0000
commita456ccd58e6d04df3053984dbca4b10f6cd9c9fe (patch)
treeb958873a7a1b21a436753cb47b9e90c6a73d26ea
parent8c0c0e9e49e1e1f2c746e403b2a44a4fac637787 (diff)
Make boundary conditions case-insensitive.
Register radiation boundary conditions under the name "Radiation", rather than "Radiative". git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@206 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r--doc/documentation.tex4
-rw-r--r--src/Boundary.c2
-rw-r--r--src/Register.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/doc/documentation.tex b/doc/documentation.tex
index 1118a61..fd758f3 100644
--- a/doc/documentation.tex
+++ b/doc/documentation.tex
@@ -212,7 +212,7 @@ as -1), commonly used default values will be assumed for all arguments
The name of the boundary condition must match that with which the
boundary condition providing function was registered. These names are
-case sensitive. See section \ref{sec:provided_bcs} for a list of
+case insensitive. See section \ref{sec:provided_bcs} for a list of
boundary conditions provided by thorn \texttt{Boundary}.
@@ -607,7 +607,7 @@ a wave speed of $v$, so the boundaries should be out in
the region where the characteristic speed is constant.
Notice that this speed does not have to be 1.
-The radiation boundary condition is registered under the name ``Radiative''.
+The radiation boundary condition is registered under the name ``Radiation''.
\subsection{Additional arguments}
diff --git a/src/Boundary.c b/src/Boundary.c
index 5b74844..79e578a 100644
--- a/src/Boundary.c
+++ b/src/Boundary.c
@@ -204,7 +204,7 @@ CCTK_INT Bdry_Boundary_RegisterPhysicalBC(CCTK_POINTER GH,
/* Create the registered routines table if necessary */
if (physbc_table_handle == -1)
{
- physbc_table_handle = Util_TableCreate(UTIL_TABLE_FLAGS_DEFAULT);
+ physbc_table_handle = Util_TableCreate(UTIL_TABLE_FLAGS_CASE_INSENSITIVE);
if (physbc_table_handle<0)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
diff --git a/src/Register.c b/src/Register.c
index 409ab34..bfea5c1 100644
--- a/src/Register.c
+++ b/src/Register.c
@@ -101,7 +101,7 @@ void Boundary_RegisterBCs(CCTK_ARGUMENTS) {
if (register_radiation)
{
err = Boundary_RegisterPhysicalBC(cctkGH, (CCTK_FPOINTER) &BndRadiative,
- "Radiative");
+ "Radiation");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,