00001 00008 /* 00009 Copyright 2011 Thibaut Paumard 00010 00011 This file is part of Gyoto. 00012 00013 Gyoto is free software: you can redistribute it and/or modify 00014 it under the terms of the GNU General Public License as published by 00015 the Free Software Foundation, either version 3 of the License, or 00016 (at your option) any later version. 00017 00018 Gyoto is distributed in the hope that it will be useful, 00019 but WITHOUT ANY WARRANTY; without even the implied warranty of 00020 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00021 GNU General Public License for more details. 00022 00023 You should have received a copy of the GNU General Public License 00024 along with Gyoto. If not, see <http://www.gnu.org/licenses/>. 00025 */ 00026 00027 #ifndef __GyotoUtils_H_ 00028 #define __GyotoUtils_H_ 00029 00030 #include <string> 00031 #include <GyotoDefs.h> 00032 00033 namespace Gyoto { 00034 class Photon; 00035 void debug(int mode); 00036 int debug(); 00037 void verbose(int mode); 00038 int verbose(); 00039 void convert(double * const x, const std::size_t nelem, 00040 const double mass_sun, const double distance_kpc, 00041 const std::string unit); 00042 } 00043 00044 #endif
1.4.6