ud331 - evaluate the magnetic flux through a spherical cap¶
- subroutine ud331(colat, phi, ifail)¶
- Parameters:
colat [real8,in] :: Pole selection
phi [real8,out] :: Third invariant
ifail [integer4,out] :: error flag (see Diagnostics)
Description¶
The subroutine
ud331()
computes the magnetic flux passing through a spherical cap. The spherical cap is defined by the set of northern or southern foot points of the magnetic drift shell stored in the common blocksuc110
,uc120
anduc130
. When the argumentcolat
is set to 0, the subroutine makes the integration over the north cap and uses the argumentsmfl().footpn
of common blockuc120
. When the argument colat is set to 180, the subroutine makes the integration over the south cap and uses the argumentsmfl().footps
of common blockuc120
.
Diagnostics¶
-33101, invalid drift shell description
-33102, illegal value of argument colat
Common Blocks¶
Dependencies¶
Called by¶
Calls¶
See also¶
None
Reported Bugs¶
None
Examples¶
None
UNILIB/tags/v3.02