[Commits] [svn:einsteintoolkit] GRHydro/trunk/src/ (Rev. 151)
cott at tapir.caltech.edu
cott at tapir.caltech.edu
Thu Aug 26 15:06:30 CDT 2010
User: cott
Date: 2010/08/26 03:06 PM
Added:
/trunk/src/
GRHydro_Macros.h
Log:
* add a source file containing macro definitions
File Changes:
Directory: /trunk/src/
======================
File [added]: GRHydro_Macros.h
Delta lines: +3 -0
===================================================================
--- trunk/src/GRHydro_Macros.h (rev 0)
+++ trunk/src/GRHydro_Macros.h 2010-08-26 20:06:30 UTC (rev 151)
@@ -0,0 +1,3 @@
+#define SPATIAL_DETERMINANT(gxx,gxy,gxz,gyy,gyz,gzz) \
+ (-(gxz)**2*(gyy) + 2*(gxy)*(gxz)*(gyz) - (gxx)*(gyz)**2 - (gxy)**2*(gzz) \
+ + (gxx)*(gyy)*(gzz))
More information about the Commits
mailing list