diff options
author | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2010-03-19 22:24:27 +0000 |
---|---|---|
committer | diener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a> | 2010-03-19 22:24:27 +0000 |
commit | 96a104f0d0703cbe827752189c5d7895f9ca4519 (patch) | |
tree | 7ce5e8835e7263393ac802432bff407dc17ac804 /interface.ccl | |
parent | b041a5952a08c089d52a4c483fb27bec71b5061b (diff) |
Add a routine to return the size of the boundary region, i.e. the region
where centered finite differences are not performed. This is necessary
in order to mix SBP and hard coded stencils in CTGamma.
git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@120 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'interface.ccl')
-rw-r--r-- | interface.ccl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl index 15fc072..58593b0 100644 --- a/interface.ccl +++ b/interface.ccl @@ -77,6 +77,12 @@ SUBROUTINE GetLshIndexRanges ( \ CCTK_INT OUT ARRAY imax ) PROVIDES FUNCTION GetLshIndexRanges WITH get_lsh_iranges LANGUAGE C +SUBROUTINE GetBoundWidth (\ + CCTK_POINTER_TO_CONST IN cctkGH, \ + CCTK_INT OUT ARRAY bsize, \ + CCTK_INT IN table_handle ) +PROVIDES FUNCTION GetBoundWidth WITH Get_Bound_Width LANGUAGE C + CCTK_INT FUNCTION GetDomainSpecification \ (CCTK_INT IN size, \ CCTK_REAL OUT ARRAY physical_min, \ |