ARTS
2.2.66
geomag_calc.h
Go to the documentation of this file.
1
/* Copyright (C) 2003-2012 Nikolay Koulev <nkoulev@uni-bremen.de>
2
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 the
6
License, or (at your option) any later version.
7
8
This program is distributed in the hope that it will be useful,
9
but WITHOUT ANY WARRANTY; without even the implied warranty of
10
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
GNU General Public License for more details.
12
13
You should have received a copy of the GNU General Public License
14
along with this program; if not, write to the Free Software
15
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
16
USA. */
17
29
#ifndef geomag_calc_h
30
#define geomag_calc_h
31
32
#include "
matpack.h
"
33
34
void
magfield_nk
(
// Output
35
Numeric
& B_r,
// radial component of the geomagnetic field
36
Numeric
& B_th,
// colatitudinal component of the geomagnetic field
37
Numeric
& B_ph,
// longitudinal component of the geomagnetic field
38
39
// Input
40
const
Numeric
r,
// radial distance to the point
41
const
Numeric
theta,
// geocentric colatitude of the point
42
const
Numeric
phi,
// longitude of the point
43
// All coordinates - geocentric!
44
45
const
Index
Ny
// number of elapsed years after an epoch year, J - [0,4]
46
);
47
#endif
Index
INDEX Index
The type to use for all integer numbers and indices.
Definition:
matpack.h:35
Numeric
NUMERIC Numeric
The type to use for all floating point numbers.
Definition:
matpack.h:29
magfield_nk
void magfield_nk(Numeric &B_r, Numeric &B_th, Numeric &B_ph, const Numeric r, const Numeric theta, const Numeric phi, const Index Ny)
matpack.h
arts-2.2
src
geomag_calc.h
Generated on Wed Mar 18 2020 07:04:10 for ARTS by
1.8.13