aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DYZDG_guts.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/macro/DYZDG_guts.h')
-rw-r--r--src/macro/DYZDG_guts.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/macro/DYZDG_guts.h b/src/macro/DYZDG_guts.h
index 28dd4e6..71a3474 100644
--- a/src/macro/DYZDG_guts.h
+++ b/src/macro/DYZDG_guts.h
@@ -24,13 +24,8 @@
#include "ADM_Derivative.h"
- /* Factor involving 2nd derivative of conformal factor */
- IF (conformal_state .eq. 0) THEN
- DYZDG_FAC = 0
- ELSE
- DYZDG_FAC = DYDG_PSI4*(4*DYZDG_DYZDPSI_O_PSI \
- + 12*DYDG_DYDPSI_O_PSI*DZDG_DZDPSI_O_PSI)
- ENDIF
+ /* Factor involving 2nd derivative of conformal factor, nowadays zero */
+ DYZDG_FAC = 0
/* Now calculate the second deriatives */
if (local_spatial_order.eq.2) then
@@ -74,9 +69,8 @@
#ifdef CCODE
- /* Factor involving 2nd derivative of conformal factor */
- DYZDG_FAC = ((*conformal_state == 0)?0:
- DYDG_PSI4*(4*DYZDG_DYZDPSI_O_PSI + 12*DYDG_DYDPSI_O_PSI*DZDG_DZDPSI_O_PSI));
+ /* Factor involving 2nd derivative of conformal factor, nowadays zero */
+ DYZDG_FAC = 0;
/* Now calculate the second deriatives */
DYZDG_DYZDGXX = DZDCG_DZDCGXX*DYDG_FAC+DYDCG_DYDCGXX*DZDG_FAC+DYZDG_FAC*DYDG_GXX