aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorschnetter <schnetter@850bcc8b-0e4f-0410-8c26-8d28fbf1eda9>2005-06-14 20:26:02 +0000
committerschnetter <schnetter@850bcc8b-0e4f-0410-8c26-8d28fbf1eda9>2005-06-14 20:26:02 +0000
commit006083638b7fcad16e5e2c6eed71f72f2c1a2c9c (patch)
tree5b65477b75adf2b24b5d21473ef1a730c06f288a /interface.ccl
parentefcd06a3138fbffba457960d8992111983695e82 (diff)
Add Frank Herrmann's extra dissipation switches.
Two new parameters, Dissipation::extra_dissipation_in_horizons and Dissipation::extra_dissipation_at_outerbound, increase the disspation coefficient inside horizons and near the outer boundary. git-svn-id: http://svn.cactuscode.org/arrangements/CactusNumerical/Dissipation/trunk@10 850bcc8b-0e4f-0410-8c26-8d28fbf1eda9
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl22
1 files changed, 22 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index 6e26e97..1ff5f1f 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -3,5 +3,27 @@
IMPLEMENTS: Dissipation
+INHERITS: grid SphericalSurface
+
CCTK_INT FUNCTION MoLQueryEvolvedRHS (CCTK_INT IN EvolvedIndex)
REQUIRES FUNCTION MoLQueryEvolvedRHS
+
+CCTK_INT FUNCTION \
+ SymmetryTableHandleForGrid (CCTK_POINTER_TO_CONST IN cctkGH)
+USES FUNCTION SymmetryTableHandleForGrid
+
+CCTK_INT FUNCTION HorizonRadiusInDirection \
+ (CCTK_INT IN horizon_number, \
+ CCTK_INT IN N_points, \
+ CCTK_REAL IN ARRAY x, CCTK_REAL IN ARRAY y, CCTK_REAL IN ARRAY z, \
+ CCTK_REAL OUT ARRAY radius)
+USES FUNCTION HorizonRadiusInDirection
+
+
+
+PRIVATE:
+
+REAL epsdisA_group TYPE=gf
+{
+ epsdisA
+} "dissipation array for spatially different dissipation"