diff options
Diffstat (limited to 'src/macro/DXDG_guts.h')
-rw-r--r-- | src/macro/DXDG_guts.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/macro/DXDG_guts.h b/src/macro/DXDG_guts.h index 7716841..1a36303 100644 --- a/src/macro/DXDG_guts.h +++ b/src/macro/DXDG_guts.h @@ -18,7 +18,7 @@ #ifdef FCODE - IF (conformal_state /= CONFORMAL_METRIC) THEN + IF (conformal_state .eq. 0) THEN DXDG_PSI4 = 1 DXDG_FAC = 0 ELSE @@ -37,9 +37,9 @@ #ifdef CCODE - DXDG_PSI4 = ((*conformal_state != CONFORMAL_METRIC)?1:DXDG_PSI*DXDG_PSI*DXDG_PSI*DXDG_PSI); + DXDG_PSI4 = ((*conformal_state == 0)?1:DXDG_PSI*DXDG_PSI*DXDG_PSI*DXDG_PSI); - DXDG_FAC = ((*conformal_state != CONFORMAL_METRIC)?0:4*DXDG_PSI4*DXDG_DXDPSI_O_PSI); + DXDG_FAC = ((*conformal_state == 0)?0:4*DXDG_PSI4*DXDG_DXDPSI_O_PSI); DXDG_DXDGXX = DXDCG_DXDCGXX*DXDG_PSI4 + DXDG_FAC*DXDG_GXX; DXDG_DXDGXY = DXDCG_DXDCGXY*DXDG_PSI4 + DXDG_FAC*DXDG_GXY; |