A Modular Arbitrary-Order Ocean-Atmosphere Model -- Stochastic implementation
Modules | Functions/Subroutines | Variables
stat.f90 File Reference

Go to the source code of this file.

Modules

module  stat
 Statistics accumulators.
 

Functions/Subroutines

subroutine, public stat::init_stat
 Initialise the accumulators. More...
 
subroutine, public stat::acc (x)
 Accumulate one state. More...
 
real(kind=8) function, dimension(0:ndim), public stat::mean ()
 Function returning the mean. More...
 
real(kind=8) function, dimension(0:ndim), public stat::var ()
 Function returning the variance. More...
 
integer function, public stat::iter ()
 Function returning the number of data accumulated. More...
 
subroutine, public stat::reset
 Routine resetting the accumulators. More...
 

Variables

integer stat::i =0
 Number of stats accumulated. More...
 
real(kind=8), dimension(:), allocatable stat::m
 Vector storing the inline mean. More...
 
real(kind=8), dimension(:), allocatable stat::mprev
 Previous mean vector. More...
 
real(kind=8), dimension(:), allocatable stat::v
 Vector storing the inline variance. More...
 
real(kind=8), dimension(:), allocatable stat::mtmp