diff options
Diffstat (limited to 'src/macro/DXYDG_guts.h')
-rw-r--r-- | src/macro/DXYDG_guts.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/macro/DXYDG_guts.h b/src/macro/DXYDG_guts.h index 1f4db8f..1c4e6ad 100644 --- a/src/macro/DXYDG_guts.h +++ b/src/macro/DXYDG_guts.h @@ -24,13 +24,8 @@ #include "ADM_Derivative.h" - /* Factor involving 2nd derivative of conformal factor */ - IF (conformal_state .eq. 0) THEN - DXYDG_FAC = 0 - ELSE - DXYDG_FAC = DXDG_PSI4*(4*DXYDG_DXYDPSI_O_PSI + \ - 12*DXDG_DXDPSI_O_PSI*DYDG_DYDPSI_O_PSI) - ENDIF + /* Factor involving 2nd derivative of conformal factor, nowadays zero */ + DXYDG_FAC = 0 /* Now calculate the second deriatives */ if (local_spatial_order.eq.2) then @@ -75,9 +70,8 @@ #ifdef CCODE -/* Factor involving 2nd derivative of conformal factor */ - DXYDG_FAC = ((*conformal_state == 0)?0: - DXDG_PSI4*(4*DXYDG_DXYDPSI_O_PSI + 12*DXDG_DXDPSI_O_PSI*DYDG_DYDPSI_O_PSI)); +/* Factor involving 2nd derivative of conformal factor, nowadays zero */ + DXYDG_FAC = 0; /* Now calculate the second deriatives */ DXYDG_DXYDGXX = DYDCG_DYDCGXX*DXDG_FAC+DXDCG_DXDCGXX*DYDG_FAC+DXYDG_FAC*DXDG_GXX |