diff options
Diffstat (limited to 'src/macro/DYYDG_guts.h')
-rw-r--r-- | src/macro/DYYDG_guts.h | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/macro/DYYDG_guts.h b/src/macro/DYYDG_guts.h index c93b4be..0eaf733 100644 --- a/src/macro/DYYDG_guts.h +++ b/src/macro/DYYDG_guts.h @@ -22,13 +22,8 @@ #include "ADM_Derivative.h" - /* Factor involving 2nd derivative of conformal factor */ - IF (conformal_state .eq. 0) THEN - DYYDG_FAC = 0 - ELSE - DYYDG_FAC = DYDG_PSI4*(4*DYYDG_DYYDPSI_O_PSI \ - + 12*DYDG_DYDPSI_O_PSI*DYDG_DYDPSI_O_PSI) - ENDIF + /* Factor involving 2nd derivative of conformal factor, nowadays zero */ + DYYDG_FAC = 0 /* Now calculate the second deriatives */ if (local_spatial_order.eq.2) then @@ -73,9 +68,8 @@ #ifdef CCODE - /* Factor involving 2nd derivative of conformal factor */ - DYYDG_FAC = ((*conformal_state == 0)?0: - DYDG_PSI4*(4*DYYDG_DYYDPSI_O_PSI + 12*DYDG_DYDPSI_O_PSI*DYDG_DYDPSI_O_PSI)); + /* Factor involving 2nd derivative of conformal factor, nowadays zero */ + DYYDG_FAC = 0; /* Now calculate the second deriatives */ DYYDG_DYYDGXX = 2*DYDCG_DYDCGXX*DYDG_FAC+DYYDG_FAC*DYDG_GXX+DYDG_PSI4 |