European Space Agency

European Space Agency

Royal Belgian Institute for Aeronomy

Royal Belgian Institute for Aeronomy

../_images/whiteSpace.png

ud322 - Special entry to subroutine ud320()

subroutine  ud322(kpar1, rpar2, zsub, result, kdims, rnorm, rdrift, ifail)
Parameters:
  • kpar1 [integer4,in] :: control parameter passed to zsub

  • rpar2 [real8,in] :: control parameter passed to zsub

  • zsub [EXTERNAL,in] :: external subroutine (see note of ud320())

  • result (kdims) [real8,in] :: array with the results of the integration

  • kdims [integer4,in] :: number of elements of argument result

  • rnorm [real8,in] :: time integral of the unity

  • rdrift [real8,in] :: single time integral of the unity

  • ifail [integer4,out] :: error flag (see Diagnostics)

Description

The entry ud322() of subroutine ud320() allows to directly average multiple functions over a magnetic drift shell. The synopsis of the external subroutine zsub is the same as for subroutine ud320 but the argument fct of zsub has to be defined as:

real*8   fct(n)

where n has to be equal to the value of argument kdims.

Note

kdims can not exceed 300.

History

  • The entry is implemented in subroutine ud320 since version 2.01.

Diagnostics

  • -32201, invalid value of argument kdim

Common Blocks

Dependencies

See also

None

Reported Bugs

None

Examples

None


UNILIB/tags/v3.02