European Space Agency

European Space Agency

Royal Belgian Institute for Aeronomy

Royal Belgian Institute for Aeronomy

../_images/whiteSpace.png

ud323 - Special entry to subroutine ud321()

subroutine  ud323(mind, mele, kpar1, rpar2, zsub, result, kdims, rnorm, ifail)
Parameters:
  • mind [zind,in] :: pointers into mele

  • mele (*) [zseg,in] :: Set of the elementary field line segments

  • kpar1 [integer4,in] :: control parameter passed to zsub

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

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

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

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

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

  • 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 that kdims can not exceed 300.

History

  • The entry is implemented in subroutine ud321() since version 2.01.

Diagnostics

  • -32301, invalid value of argument kdim

Common Blocks

Dependencies

See also

None

Reported Bugs

None

Examples

None


UNILIB/tags/v3.02