aboutsummaryrefslogtreecommitdiff
path: root/interface.ccl
diff options
context:
space:
mode:
authorhawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2003-07-09 08:42:21 +0000
committerhawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2003-07-09 08:42:21 +0000
commit6169d4ef5d9b61ca37ca6cb2ab1a8a86c6bdc7f4 (patch)
tree7b4b42e2feb65c40558a153fab2a6e511acd1c18 /interface.ccl
parent1edd88377c4c7fe215dc66159c1fb0f92640c377 (diff)
Add the local_spatial_order grid scalar so that the choice of differencing order can be done pointwise.
This allows a simple switch to second order near the boundaries of the grid so that the standard boundary conditions can be used. In order for a user thorn to make use of this you have to be a friend of ADMCoupling and inherit ADMMacros. Then you alter local_spatial_order within the loop. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@59 b1d164ef-f17a-46e7-89d4-021c7118ef4e
Diffstat (limited to 'interface.ccl')
-rw-r--r--interface.ccl9
1 files changed, 9 insertions, 0 deletions
diff --git a/interface.ccl b/interface.ccl
index 00fd93c..9107a8b 100644
--- a/interface.ccl
+++ b/interface.ccl
@@ -2,3 +2,12 @@
# $Header$
implements: ADMMacros
+
+friend: ADMCoupling
+
+public:
+
+int local_spatial_order type=SCALAR
+{
+ local_spatial_order
+} "Can be set pointwise to change the macros"