COSMOS v7.655
COSMOSv7655
(AirShowerMC)
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | cgeomag (yearin, llh, h, icon) |
Subroutine for calculating Geomagnetic field at a position. More... | |
subroutine | crdgeomag (filepath, yearin) |
Subroutine to read Field Model parameter from a file in $COSMOSTOP/Data/Geomag/. More... | |
subroutine | cgmgigrf (devn, filepath, yearin) |
Read igrf data from COSMOSTOP/Data/Geomag/ Read coefficient of IGRF datafile called at subroutine cgeomag. More... | |
subroutine | cprgeomag |
Print out Geomag model coeff data. More... | |
Subroutine for calculating Geomagnetic field at a position.
[in] | yearin | such as 1990.5 |
[in] | llh | position around the earth. 'llh' form. conversion will be taken care. data type /coord/ |
[out] | h | north east down (T) data type /magfield/ |
[out] | icon | 0/1 0: OK 1: input param wrong |
Definition at line 33 of file cgeomag.f.
References cerrormsg(), cos, csetmagfield(), ctranscoord2(), d0, d3, and parameter().
Read igrf data from COSMOSTOP/Data/Geomag/ Read coefficient of IGRF datafile called at subroutine cgeomag.
[in] | devn | (Opened file's device number?) |
[in] | filepath | filename which is scanned. |
[in] | yearin | input year. such as 1990.5 |
Definition at line 195 of file cgeomag.f.
References parameter(), and true.
subroutine cprgeomag | ( | ) |
Print out Geomag model coeff data.
Definition at line 363 of file cgeomag.f.
References parameter().
subroutine crdgeomag | ( | character*(*) | filepath, |
real*8 | yearin | ||
) |
Subroutine to read Field Model parameter from a file in $COSMOSTOP/Data/Geomag/.
[in] | filepath | File contain geomagnetic fileld model parameter |
[in] | yearin | calculation year |
Definition at line 144 of file cgeomag.f.
References cerrormsg(), cgmgigrf(), copenf(), and parameter().