1 /* Copyright (C) 2004 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 * Using frame fields in CTENSOR
17 if get('ctensor,'version)=false then load(ctensor);
18 ("Verify the Schwarzschild metric in tetrad base")$
19 ("The variable cframe_flag determines if a frame base is used")$
21 ("ct_coordsys() can be used to set up predefined metrics")$
23 ct_coordsys(exteriorschwarzschild);
24 ("A call to cmetric() computes the frame base and the metric")$
28 ("But we're not using the metric when we compute the connection")$
30 ("We can now compute the Ricci tensor in tetrad base")$
33 /* End of demo -- comment line needed by MAXIMA to resume demo menu */