/* * Test code for the classe Metconf and the associated covariant * derivatives, using Kerr metric. * */ /* * Copyright (c) 2002 Jerome Novak * * This file is part of LORENE. * * LORENE is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 * as published by the Free Software Foundation. * * LORENE is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with LORENE; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ char metconf_kerr_C[] = "$Header: /cvsroot/Lorene/Codes/Test/Metrique/test_metconf_kerr.C,v 1.6 2014/10/13 08:54:01 j_novak Exp $" ; /* * $Id: test_metconf_kerr.C,v 1.6 2014/10/13 08:54:01 j_novak Exp $ * $Log: test_metconf_kerr.C,v $ * Revision 1.6 2014/10/13 08:54:01 j_novak * Lorene classes and functions now belong to the namespace Lorene. * * Revision 1.5 2014/10/06 15:12:53 j_novak * Modified #include directives to use c++ syntax. * * Revision 1.4 2002/10/16 14:37:18 j_novak * Reorganization of #include instructions of standard C++, in order to * use experimental version 3 of gcc. * * Revision 1.3 2002/09/10 14:16:14 j_novak * Modif commentaires * * * $Header: /cvsroot/Lorene/Codes/Test/Metrique/test_metconf_kerr.C,v 1.6 2014/10/13 08:54:01 j_novak Exp $ * */ //standard #include // Headers Lorene : #include "utilitaires.h" #include "param.h" #include "metconf.h" #include "graphique.h" #include "proto.h" #include "nbr_spx.h" using namespace Lorene ; int main() { double M = 1. ; double a = 0.999 ; int nz = 4 ; double R = 0.3*M ; // Nombre points en r int nr = 21 ; // echantillonnage en phi : int* np = new int [nz] ; for (int l=0 ; l