diff options
author | baiotti <baiotti@54511f98-0e4f-0410-826e-eb8b393f5a1e> | 2009-04-22 09:45:47 +0000 |
---|---|---|
committer | baiotti <baiotti@54511f98-0e4f-0410-826e-eb8b393f5a1e> | 2009-04-22 09:45:47 +0000 |
commit | 32acd3757b1d690ef3d21752cc6db060f3e53455 (patch) | |
tree | 9f3484164962317b0aa167f12c1c8025675852f6 /src/surface_integral.c | |
parent | 215962bfca8f009eb6a3687059c7fe20294510e2 (diff) |
Add prototypes
git-svn-id: http://svn.aei.mpg.de/numrel/AEIThorns/ADMMass/trunk@24 54511f98-0e4f-0410-826e-eb8b393f5a1e
Diffstat (limited to 'src/surface_integral.c')
-rw-r--r-- | src/surface_integral.c | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/src/surface_integral.c b/src/surface_integral.c index 28a407c..83490d0 100644 --- a/src/surface_integral.c +++ b/src/surface_integral.c @@ -21,6 +21,21 @@ CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh, CCTK_REAL *cctk_delta_space, CCTK_INT ghost, + CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir); + +void ADMMass_Surface(CCTK_ARGUMENTS); + +void ADMMass_Surface_Global(CCTK_ARGUMENTS); + +void ADMMass_Surface_Lapse(CCTK_ARGUMENTS); + +void ADMMass_Surface_Lapse_Global(CCTK_ARGUMENTS); + + + + +CCTK_INT find_closest(const cGH *cctkGH, CCTK_INT *cctk_lsh, + CCTK_REAL *cctk_delta_space, CCTK_INT ghost, CCTK_REAL *coord, CCTK_REAL coord_min, CCTK_INT dir) { CCTK_INT i, ijk, min_i = -1; @@ -87,7 +102,7 @@ void ADMMass_Surface(CCTK_ARGUMENTS) { if (!CCTK_EQUALS(CCTK_ParameterValString("type", "cartgrid3d"), "coordbase")) - CCTK_WARN(0,"This thorn used with the ADMMass_distance_from_grid_boundar parameter requires to set coordinates through coordbase."); + CCTK_WARN(0,"This thorn used with the ADMMass_distance_from_grid_boundary parameter requires to set coordinates through coordbase."); /* Find the physical coordinates of the boundaries */ ierr = GetDomainSpecification( 3, physical_min, physical_max, @@ -356,7 +371,7 @@ void ADMMass_Surface_Lapse_Global(CCTK_ARGUMENTS) reduction_handle = CCTK_ReductionHandle("sum"); if (reduction_handle < 0) - CCTK_WARN(0, "Unable to ge reduction handle."); + CCTK_WARN(0, "Unable to get reduction handle."); if (CCTK_Reduce(cctkGH, -1, reduction_handle, 1, CCTK_VARIABLE_REAL, |