trend

- 4

Trapped Radiation ENvironment model Development

UD323

[ Name | Synopsis | Arguments | Description | Diagnostics | Common Blocks | Dependencies | See Also | Reported Bugs | Examples ]

Name

    Entry UD323 - Special entry to subroutine UD321

Synopsis

 
      REAL*8    rpar2, result(kdims), rnorm
      INTEGER*4 kpar1, kdims, ifail
      EXTERNAL  zsub
      RECORD /zseg/ mele(*)
      RECORD /zind/ mind

      CALL UD323 (mind, mele, kpar1, rpar2, zsub, result, kdims, rnorm, ifail)

Arguments

    mind
    pointers into mele [in]
    mele
    Set of the elementary field line segments [in]
    kpar1
    control parameter passed to zsub [in]
    rpar2
    control parameter passed to zsub [in]
    zsub
    external subroutine (see note of subroutine UD320) [in]
    result
    array with the results of the integration [out]
    kdims
    number of elements of argument result [in]
    rnorm
    time integral of the unity [out]
    ifail
    Error flag (see diagnostics) [out]

Description

    The entry UD323 of subroutine UD321 allows to directly average multiple functions over a magnetic dirft shell. The sysnopsis of the external subroutine zsub is the same as for subroutine UD321 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

Reported Bugs

    None

Examples

    None