aboutsummaryrefslogtreecommitdiff
path: root/src/macro/DYZDG_guts.h
diff options
context:
space:
mode:
authorknarf <knarf@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2013-11-26 17:13:26 +0000
committerknarf <knarf@b1d164ef-f17a-46e7-89d4-021c7118ef4e>2013-11-26 17:13:26 +0000
commitf8a381abe621a87803ffb1c438683f6957cf6c76 (patch)
tree48c655852e7d3e8241ccff9d01c73d184f1f8051 /src/macro/DYZDG_guts.h
parent672b64b5c786096a4ae124c5fc1e6d7ea1bb0c19 (diff)
remove support for StaticConformalsvn
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@119 b1d164ef-f17a-46e7-89d4-021c7118ef4e
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