aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DXZDG_guts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro/DXZDG_guts.h')
-rw-r--r--src/macro/DXZDG_guts.h2
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)