European Space Agency

European Space Agency

Royal Belgian Institute for Aeronomy

Royal Belgian Institute for Aeronomy

../_images/whiteSpace.png

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 blocks uc110, uc120 and uc130. When the argument colat is set to 0, the subroutine makes the integration over the north cap and uses the arguments mfl().footpn of common block uc120. When the argument colat is set to 180, the subroutine makes the integration over the south cap and uses the arguments mfl().footps of common block uc120.

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