diff options
author | evans <evans@b1d164ef-f17a-46e7-89d4-021c7118ef4e> | 1999-03-09 21:04:02 +0000 |
---|---|---|
committer | evans <evans@b1d164ef-f17a-46e7-89d4-021c7118ef4e> | 1999-03-09 21:04:02 +0000 |
commit | 0a13cbb3d0f5ebf208d962d374a197c66bd13b1b (patch) | |
tree | 19582fa856a1193d17170ad971353f58e7be36c9 /src/macro/TRK_guts.h | |
parent | c58897b8676212b9aee16d6d2f80ca2adeb50c6c (diff) |
added the Einstien macros.
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinBase/ADMMacros/trunk@2 b1d164ef-f17a-46e7-89d4-021c7118ef4e
Diffstat (limited to 'src/macro/TRK_guts.h')
-rw-r--r-- | src/macro/TRK_guts.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/macro/TRK_guts.h b/src/macro/TRK_guts.h new file mode 100644 index 0000000..3b94e94 --- /dev/null +++ b/src/macro/TRK_guts.h @@ -0,0 +1,42 @@ +/*@@ + @header TRK_guts.h + @date Jun 98 + @author Gabrielle Allen + @desc + + Macro to calculate the trace of the extrinsic curvature + + The macro is defined in terms of standard variables in + TRK_declare.h + + Requires: Upper physical metric + Lower extrainsic curvature + + Provides: Trace of the extrinsic curvature + + @enddesc +@@*/ + +#ifndef TRK_GUTS +#define TRK_GUTS + +#include "../../packages/CactusEinstein/Einstein/src/macro/UPPERMET_guts.h" + +#ifdef FCODE + + TRK_TRK = UPPERMET_UXX*TRK_HXX + UPPERMET_UYY*TRK_HYY + & + UPPERMET_UZZ*TRK_HZZ + 2D0*(UPPERMET_UXY*TRK_HXY + & + UPPERMET_UXZ*TRK_HXZ + UPPERMET_UYZ*TRK_HYZ) + +#endif + +#ifdef CCODE + + TRK_TRK = UPPERMET_UXX*TRK_HXX + UPPERMET_UYY*TRK_HYY + + UPPERMET_UZZ*TRK_HZZ + 2*(UPPERMET_UXY*TRK_HXY + + UPPERMET_UXZ*TRK_HXZ + UPPERMET_UYZ*TRK_HYZ); + +#endif + +#endif + |