aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-02-26 14:50:58 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2003-02-26 14:50:58 +0000
commit21e4422de0ff30abe5918aa95c2052cc7048fe8b (patch)
tree3e7c55d72476066d969bab16e52469352ee18a74
parent9acf611ea96b479aee04f4e6dfb6dd30d440b3c1 (diff)
restore file accidentally emptied in previous commit
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@949 f88db872-0e4f-0410-b76b-b9085cfa78c5
-rw-r--r--src/driver/ellipsoid.log38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/driver/ellipsoid.log b/src/driver/ellipsoid.log
index e69de29..71cad20 100644
--- a/src/driver/ellipsoid.log
+++ b/src/driver/ellipsoid.log
@@ -0,0 +1,38 @@
+ |\^/| Maple 7 (IBM INTEL LINUX)
+._|\| |/|_. Copyright (c) 2001 by Waterloo Maple Inc.
+ \ MAPLE / All rights reserved. Maple is a registered trademark of
+ <____ ____> Waterloo Maple Inc.
+ | Type ? for help.
+# ellipsoid.maple -- compute equations for offset ellipsoid setup
+# $Header$
+>
+#
+# ellipsoid has center (A,B,C), radius (a,b,c)
+# angular coordinate system has center (U,V,W)
+#
+# direction cosines wrt angular coordinate center are (alpha,beta,gamma)
+# but Maple predefines gamma = Euler's constant, so we use (xcos,ycos,zcos)
+# instead, i.e. a point has coordinates (U+xcos*r, V+ycos*r, W+zcos*r)
+#
+# then the equation of the ellipsoid is
+# (U+xcos*r - A)^2 (V+ycos*r - B)^2 (W+zcos*r - C)^2
+# ----------------- + ---------------- + ----------------- = 1
+# a^2 b^2 c^2
+#
+# to solve this, we introduce intermediate variables
+# AU = A - U
+# BV = B - V
+# CW = C - W
+#
+> eqn := (xcos*r - AU)^2/a^2 + (ycos*r - BV)^2/b^2 + (zcos*r - CW)^2/c^2 = 1;
+ 2 2 2
+ (xcos r - AU) (ycos r - BV) (zcos r - CW)
+ eqn := -------------- + -------------- + -------------- = 1
+ 2 2 2
+ a b c
+
+>
+> read "../maple/util.mm";
+Error, unable to read `../maple/util.mm`
+> quit
+bytes used=129844, alloc=196572, time=0.03