aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authordiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2004-10-06 20:07:54 +0000
committerdiener <diener@f69c4107-0314-4c4f-9ad4-17e986b73f4a>2004-10-06 20:07:54 +0000
commit9928cd0a8e8683d47e385b38b7723ed7ede34b9e (patch)
tree148c7e428624d676bd41aecabc9eda03a3efbc5d /interface.ccl
parent9d639bc123f2c23f5db7c436ec63e21c07e8746b (diff)
Moved call_derivs.c to call_derivs_name.c. Created a new differncing routine
(after Erik explained to me that CCTK_ARGUMENTS can be accessed even though they are not passed into the routine) that is called with the variables themselves and not their names. These are provided by the aliased function Diff_gf, so now the x-derivatives of rho can be found with the call: Diff_gv ( cctkGH, 0, rho, drhox ); Also made the determination of the gridspacing use CCTK_DELTA_SPACE (now that I know how to do it) so the routines should now also work with mesh-refinement. git-svn-id: https://svn.cct.lsu.edu/repos/numrel/LSUThorns/SummationByParts/trunk@4 f69c4107-0314-4c4f-9ad4-17e986b73f4a
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl6
1 files changed, 6 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index c306db4..9eef8aa 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -19,6 +19,12 @@ SUBROUTINE Diff_gf ( CCTK_POINTER IN cctkGH, \
CCTK_STRING IN dvar_name )
PROVIDES FUNCTION Diff_gf WITH DiffGf LANGUAGE C
+SUBROUTINE Diff_gv ( CCTK_POINTER IN cctkGH, \
+ CCTK_INT IN dir, \
+ CCTK_REAL IN ARRAY var, \
+ CCTK_REAL OUT ARRAY dvar )
+PROVIDES FUNCTION Diff_gv WITH DiffGv LANGUAGE C
+
CCTK_INT FUNCTION GetDomainSpecification \
(CCTK_INT IN size, \
CCTK_REAL OUT ARRAY physical_min, \