/* * Code for testing Base_val::name_* methods * * */ /* * Copyright (c) 2003 Eric Gourgoulhon. * * 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 test_name_C[] = "$Header: /cvsroot/Lorene/Codes/Test/Base_val/test_name.C,v 1.4 2014/10/13 08:53:59 j_novak Exp $" ; /* * $Id: test_name.C,v 1.4 2014/10/13 08:53:59 j_novak Exp $ * $Log: test_name.C,v $ * Revision 1.4 2014/10/13 08:53:59 j_novak * Lorene classes and functions now belong to the namespace Lorene. * * Revision 1.3 2014/10/06 15:12:51 j_novak * Modified #include directives to use c++ syntax. * * Revision 1.2 2007/12/11 15:28:26 jl_cornou * Jacobi(0,2) polynomials partially implemented * * Revision 1.1 2003/10/19 20:03:28 e_gourgoulhon * First version * * * * $Header: /cvsroot/Lorene/Codes/Test/Base_val/test_name.C,v 1.4 2014/10/13 08:53:59 j_novak Exp $ * */ // C headers #include // Lorene headers #include "base_val.h" using namespace Lorene ; int main() { int nz = 3 ; Base_val base(nz) ; base.set_base_r(0, R_JACO02) ; base.set_base_t(T_LEG_II) ; base.set_base_p(P_COSSIN_I) ; char name[8] ; int np = 6 ; int nt = 13 ; int nr = 17 ; for (int k=0; k