diff options
author | hawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e> | 2003-07-09 08:42:21 +0000 |
---|---|---|
committer | hawke <hawke@b1d164ef-f17a-46e7-89d4-021c7118ef4e> | 2003-07-09 08:42:21 +0000 |
commit | 6169d4ef5d9b61ca37ca6cb2ab1a8a86c6bdc7f4 (patch) | |
tree | 7b4b42e2feb65c40558a153fab2a6e511acd1c18 /src/macro/DXZDG_guts.h | |
parent | 1edd88377c4c7fe215dc66159c1fb0f92640c377 (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/DXZDG_guts.h')
-rw-r--r-- | src/macro/DXZDG_guts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macro/DXZDG_guts.h b/src/macro/DXZDG_guts.h index cdee51c..129cb85 100644 --- a/src/macro/DXZDG_guts.h +++ b/src/macro/DXZDG_guts.h @@ -33,7 +33,7 @@ ENDIF /* Now calculate the second deriatives */ - if (spatial_order.eq.2) then + if (local_spatial_order.eq.2) then DXZDG_DXZDGXX = DZDCG_DZDCGXX*DXDG_FAC + DXDCG_DXDCGXX*DZDG_FAC \ + DXZDG_FAC*DXDG_GXX + DXDG_PSI4*ADM_DXZ_2(gxx,i,j,k) |