Gyoto
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
GyotoUtils.h
Go to the documentation of this file.
1
8
/*
9
Copyright 2011 Thibaut Paumard
10
11
This file is part of Gyoto.
12
13
Gyoto is free software: you can redistribute it and/or modify
14
it under the terms of the GNU General Public License as published by
15
the Free Software Foundation, either version 3 of the License, or
16
(at your option) any later version.
17
18
Gyoto is distributed in the hope that it will be useful,
19
but WITHOUT ANY WARRANTY; without even the implied warranty of
20
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21
GNU General Public License for more details.
22
23
You should have received a copy of the GNU General Public License
24
along with Gyoto. If not, see <http://www.gnu.org/licenses/>.
25
*/
26
27
#ifndef __GyotoUtils_H_
28
#define __GyotoUtils_H_
29
30
#include "
GyotoDefs.h
"
31
32
#include <string>
33
34
namespace
Gyoto {
36
39
void
debug
(
int
mode);
40
42
45
int
debug
();
46
48
59
void
verbose
(
int
mode);
60
62
65
int
verbose
();
66
68
80
void
convert
(
double
*
const
x,
const
std::size_t
nelem,
81
const
double
mass_sun,
const
double
distance_kpc,
82
const
std::string unit);
83
}
84
85
#endif
Gyoto::convert
void convert(double *const x, const std::size_t nelem, const double mass_sun, const double distance_kpc, const std::string unit)
Convert lengths (deprecated)
size_t
#define size_t
If not defined in <sys/types.h>.
Definition:
GyotoConfig.h:293
Gyoto::verbose
void verbose(int mode)
Set verbosity level.
GyotoDefs.h
Gyoto ubiquitous macros and typedefs.
Gyoto::debug
void debug(int mode)
Set debug mode.
Generated on Thu May 8 2014 06:06:12 for Gyoto by
1.8.6