European Space Agency¶
Royal Belgian Institute for Aeronomy¶
ud332 - evaluate the magnetic flux through a spherical pie¶
- subroutine ud332(colat, mpos1, mpos2, phi, ifail)¶
- Parameters:
colat [real8,in] :: Pole selection (first point)
mpos1 [zgeo,in] :: Second point
mpos2 [zgeo,in] :: Third point
phi [real8,out] :: Magnetic flux
ifail [integer4,out] :: error flag (see Diagnostics)
Description¶
The subroutine
ud332()evaluates the magnetic flux passing through a spherical pie. This subroutine is called by subroutineud330()to evaluate the third invariant of a magnetic drift shell. The spherical pie is determined by three geographic locations at a fixed altitude. The first location corresponds to one of the geographic poles and is selected by the argumentcolat. The second location is determined by the argumentsmpos1.elongandmpos1.colat. The third location is determined by the argumentsmpos2.elongandmpos2.colat. One should note that the altitude is fixed bympos1.radiusand should be equal tompos2.radius.
Diagnostics¶
-33201, invalid value of colat
-33202, not constant altitude
Common Blocks¶
Dependencies¶
Called by¶
Calls¶
See also¶
Reported Bugs¶
None
Examples¶
None
UNILIB/tags/v3.02