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.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/macro/DXZDG_guts.h b/src/macro/DXZDG_guts.h
index 029aa82..3562a61 100644
--- a/src/macro/DXZDG_guts.h
+++ b/src/macro/DXZDG_guts.h
@@ -24,13 +24,8 @@
#include "ADM_Derivative.h"
- /* Factor involving 2nd derivative of conformal factor */
- IF (conformal_state .eq. 0) THEN
- DXZDG_FAC = 0
- ELSE
- DXZDG_FAC = DXDG_PSI4*(4*DXZDG_DXZDPSI_O_PSI \
- + 12*DXDG_DXDPSI_O_PSI*DZDG_DZDPSI_O_PSI)
- ENDIF
+ /* Factor involving 2nd derivative of conformal factor, nowadays zero */
+ DXZDG_FAC = 0
/* Now calculate the second deriatives */
if (local_spatial_order.eq.2) then
@@ -77,9 +72,8 @@
#ifdef CCODE
- /* Factor involving 2nd derivative of conformal factor */
- DXZDG_FAC = ((*conformal_state == 0)?0:
- DXDG_PSI4*(4*DXZDG_DXZDPSI_O_PSI + 12*DXDG_DXDPSI_O_PSI*DZDG_DZDPSI_O_PSI));
+ /* Factor involving 2nd derivative of conformal factor, nowadays zero */
+ DXZDG_FAC = 0;
/* Now calculate the second deriatives */
DXZDG_DXZDGXX = DZDCG_DZDCGXX*DXDG_FAC+DXDCG_DXDCGXX*DZDG_FAC+DXZDG_FAC*DXDG_GXX+