Changes between Version 1 and Version 2 of PDAF_diag_histogram


Ignore:
Timestamp:
Dec 11, 2016, 9:52:00 PM (7 years ago)
Author:
lnerger
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PDAF_diag_histogram

    v1 v2  
    2020 * `dim` : `integer, intent(in)`[[BR]] Size of state vector
    2121 * `dim_ens` : `integer, intent(in)`[[BR]] Ensemble size
    22  * `element` : `integer, intent(in)`[[BR]] Element of state vector for which the histogram is computed. If element=0, the histogram is computed over the whole state vector
     22 * `element` : `integer, intent(in)`[[BR]] Element of state vector for which the histogram is computed. If `element=0`, the histogram is computed over the whole state vector
    2323 * `state` : `real, intent(in), dimension(dim)`[[BR]] State vector
    2424 * `ens` : `real, intent(in), dimension(dim, dim_ens)`[[BR]] State ensemble
     25 * `hist` : `integer, intent(inout), dimension(dim, dim_ens+1)`[[BR]] Histogram about the state
     26 * `delta` : `real, intent(out)`[[BR]] Deviation measure from flat histogram
     27 * `status` : `integer, intent(out)`[[BR]] Status flag
    2528
    26 
     29Notes:
     30 * The array `hist` has to be allocated and initialized with zeros before the first call to `PDAF_diag_histogram`
     31 * The value of `delta` is >0 if the histogram is not flat. However, delta is not bounded and is hence difficult to interpret.
     32 * An example of using `PDAF_diag_histogram` can be found in the Lorenz-96 model example (see testsuite/src/lorenz96/compute_truermse.F90).