aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgoodale <goodale@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-05-17 12:28:55 +0000
committergoodale <goodale@6a38eb6e-646e-4a02-a296-d141613ad6c4>2004-05-17 12:28:55 +0000
commitdc7680315c4a72ba50dd84aba9335f30c56314a8 (patch)
treed84b1f505aa411d920a5880c5d751f120bc428b3
parent1beee0948b01d55d5271038a6ca6f69c9eefb0a9 (diff)
Untabified. Please try to adhere to the Cactus coding guidelines when
modifying or adding files. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/Boundary/trunk@273 6a38eb6e-646e-4a02-a296-d141613ad6c4
-rw-r--r--src/Boundary.c2
-rw-r--r--src/Check.c10
-rw-r--r--src/CopyBoundary.c2
-rw-r--r--src/FlatBoundary.c2
-rw-r--r--src/Register.c58
-rw-r--r--src/RobinBoundary.c2
-rw-r--r--src/ScalarBoundary.c2
-rw-r--r--src/StaticBoundary.c12
8 files changed, 45 insertions, 45 deletions
diff --git a/src/Boundary.c b/src/Boundary.c
index d5f78a4..628cab3 100644
--- a/src/Boundary.c
+++ b/src/Boundary.c
@@ -1160,7 +1160,7 @@ void Boundary_ClearSelection(void)
@date Mon Jul 7 21:51:37 CET 2003
@author Erik Schnetter
@desc
- Abort if the selections is not empty.
+ Abort if the selections is not empty.
This routine is currently unused, but is very
helpful for debugging.
@enddesc
diff --git a/src/Check.c b/src/Check.c
index c2e921c..fed0fdd 100644
--- a/src/Check.c
+++ b/src/Check.c
@@ -56,8 +56,8 @@ int Boundary_Check(CCTK_ARGUMENTS);
@returntype int
@returndesc
0 success
- -1 cactus executable contains variable group with too many
- dimensions
+ -1 cactus executable contains variable group with too many
+ dimensions
@endreturndesc
@@*/
@@ -70,9 +70,9 @@ int Boundary_Check(CCTK_ARGUMENTS)
if (CCTK_MaxDim() > 15)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Executable contains variable group with more than 15 "
- "dimensions. Thorn Boundary will not function properly for "
- "these variable groups.");
+ "Executable contains variable group with more than 15 "
+ "dimensions. Thorn Boundary will not function properly for "
+ "these variable groups.");
retval = -1;
}
return retval;
diff --git a/src/CopyBoundary.c b/src/CopyBoundary.c
index d4d7bde..2caaf66 100644
--- a/src/CopyBoundary.c
+++ b/src/CopyBoundary.c
@@ -182,7 +182,7 @@ CCTK_INT BndCopy(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
if (gdim > max_gdim)
{
width_alldirs = (CCTK_INT *)
- realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
+ realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
max_gdim = gdim;
}
diff --git a/src/FlatBoundary.c b/src/FlatBoundary.c
index 948add7..e6cb733 100644
--- a/src/FlatBoundary.c
+++ b/src/FlatBoundary.c
@@ -138,7 +138,7 @@ CCTK_INT BndFlat(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
if (gdim > max_gdim)
{
width_alldirs = (CCTK_INT *)
- realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
+ realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
max_gdim = gdim;
}
diff --git a/src/Register.c b/src/Register.c
index b91b268..d7c8a30 100644
--- a/src/Register.c
+++ b/src/Register.c
@@ -57,7 +57,7 @@ void Boundary_RegisterBCs(CCTK_ARGUMENTS);
@date Sun Nov 3 19:51:37 CET 2002
@author David Rideout
@desc
- Register all boundary conditions implemented by this thorn.
+ Register all boundary conditions implemented by this thorn.
@enddesc
@calls
@history
@@ -77,91 +77,91 @@ void Boundary_RegisterBCs(CCTK_ARGUMENTS) {
if (register_scalar)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndScalar,
- "Scalar");
+ (phys_bc_fn_ptr) &BndScalar,
+ "Scalar");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Scalar\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Scalar\" "
+ "boundary condition", err);
}
}
if (register_flat)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndFlat,
- "Flat");
+ (phys_bc_fn_ptr) &BndFlat,
+ "Flat");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Flat\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Flat\" "
+ "boundary condition", err);
}
}
if (register_radiation)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndRadiative,
- "Radiation");
+ (phys_bc_fn_ptr) &BndRadiative,
+ "Radiation");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Radiation\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Radiation\" "
+ "boundary condition", err);
}
}
if (register_copy)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndCopy,
- "Copy");
+ (phys_bc_fn_ptr) &BndCopy,
+ "Copy");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Copy\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Copy\" "
+ "boundary condition", err);
}
}
if (register_robin)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndRobin,
- "Robin");
+ (phys_bc_fn_ptr) &BndRobin,
+ "Robin");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Robin\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Robin\" "
+ "boundary condition", err);
}
}
if (register_static)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndStatic,
- "Static");
+ (phys_bc_fn_ptr) &BndStatic,
+ "Static");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"Static\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"Static\" "
+ "boundary condition", err);
}
}
if (register_none)
{
err = Boundary_RegisterPhysicalBC((CCTK_POINTER) cctkGH,
- (phys_bc_fn_ptr) &BndNone,
- "None");
+ (phys_bc_fn_ptr) &BndNone,
+ "None");
if (err)
{
CCTK_VWarn(1, __LINE__, __FILE__, CCTK_THORNSTRING,
- "Error %d when registering routine to handle \"None\" "
- "boundary condition", err);
+ "Error %d when registering routine to handle \"None\" "
+ "boundary condition", err);
}
}
}
diff --git a/src/RobinBoundary.c b/src/RobinBoundary.c
index 0161d59..aee7b01 100644
--- a/src/RobinBoundary.c
+++ b/src/RobinBoundary.c
@@ -164,7 +164,7 @@ CCTK_INT BndRobin(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
if (gdim > max_gdim)
{
width_alldirs = (CCTK_INT *)
- realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
+ realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
max_gdim = gdim;
}
diff --git a/src/ScalarBoundary.c b/src/ScalarBoundary.c
index d446f56..cf76e42 100644
--- a/src/ScalarBoundary.c
+++ b/src/ScalarBoundary.c
@@ -157,7 +157,7 @@ CCTK_INT BndScalar(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars, CCTK_INT *f
if (gdim > max_gdim)
{
width_alldirs =
- (CCTK_INT *) realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
+ (CCTK_INT *) realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
max_gdim = gdim;
}
diff --git a/src/StaticBoundary.c b/src/StaticBoundary.c
index 442cff9..1fe5656 100644
--- a/src/StaticBoundary.c
+++ b/src/StaticBoundary.c
@@ -133,7 +133,7 @@ CCTK_INT BndStatic(const cGH *GH, CCTK_INT num_vars, CCTK_INT *vars,
if (gdim > max_gdim)
{
width_alldirs = (CCTK_INT *)
- realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
+ realloc(width_alldirs, 2*gdim*sizeof(CCTK_INT));
max_gdim = gdim;
}
@@ -924,11 +924,11 @@ void CCTK_FCALL CCTK_FNAME (BndStaticVN)
@endreturndesc
@@*/
static int ApplyBndStatic (const cGH *GH,
- CCTK_INT width_dir,
- const CCTK_INT *in_widths,
- int dir,
- int first_var,
- int num_vars)
+ CCTK_INT width_dir,
+ const CCTK_INT *in_widths,
+ int dir,
+ int first_var,
+ int num_vars)
{
int ierr;
int i, j, k;