aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DXXDG_guts.h
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 /src/macro/DXXDG_guts.h
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 'src/macro/DXXDG_guts.h')
-rw-r--r--src/macro/DXXDG_guts.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro/DXXDG_guts.h b/src/macro/DXXDG_guts.h
index 89dcedf..03276a1 100644
--- a/src/macro/DXXDG_guts.h
+++ b/src/macro/DXXDG_guts.h
@@ -32,7 +32,7 @@
/* Now calculate the second derivatives */
- if (spatial_order.eq.2) then
+ if (local_spatial_order.eq.2) then
DXXDG_DXXDGXX = 2*DXDCG_DXDCGXX*DXDG_FAC + DXXDG_FAC*DXDG_GXX \
+ DXDG_PSI4*ADM_DXX_2(gxx,i,j,k)