1 /* Copyright (C) 2007 Viktor T. Toth <http://www.vttoth.com/>
3 * This program is free software; you can redistribute it and/or
4 * modify it under the terms of the GNU General Public License as
5 * published by the Free Software Foundation; either version 2 of
6 * the License, or (at your option) any later version.
8 * This program is distributed in the hope that it will be
9 * useful, but WITHOUT ANY WARRANTY; without even the implied
10 * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 * PURPOSE. See the GNU General Public License for more details.
13 * Computing Papapetrou's metric
16 ("Papapetrou's metric is a nonsymmetric metric.")$
17 if get('ctensor,'version)=false then load(ctensor);
18 ("We start with the covariant metric tensor.")$
25 lg[3,3]:-r^2*sin(u)^2;
31 ("Let us review the contravariant and covariant metric tensor:")$
34 ("And let us calculate the connection coefficients.")$
35 ("Note that Gamma(a,b,c)=Gamma(b,a,c) is no longer true!")$
37 ("The next calculation can take quite a bit of time.")$
39 ("We can also calculate the Ricci tensor for this metric.")$
41 ("Some components have a particularly simple relationship, e.g.,")$
42 ratsimp(ric[3,3]/ric[2,2]);
43 ("For more information, see Moffat & Boal,")$
44 ("Phys. Rev. D Vol. 11 No. 6, p1375.")$
45 /* End of demo -- comment line needed by MAXIMA to resume demo menu */