![]() |
A Modular Arbitrary-Order Ocean-Atmosphere Model -- Stochastic implementation
|
Module to initialize the correlation matrix of the unresolved variables. More...
Functions/Subroutines | |
subroutine, public | init_corr |
Subroutine to initialise the computation of the correlation. More... | |
subroutine | corrcomp_from_def (s) |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the definition given inside the module. More... | |
subroutine | corrcomp_from_spline (s) |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the spline representation. More... | |
subroutine | splint (xa, ya, y2a, n, x, y) |
Routine to compute the spline representation parameters. More... | |
real(kind=8) function | fs (s, p) |
Exponential fit function. More... | |
subroutine | corrcomp_from_fit (s) |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the exponential representation. More... | |
Variables | |
real(kind=8), dimension(:), allocatable, public | mean |
Vector holding the mean of the unresolved dynamics (reduced version) More... | |
real(kind=8), dimension(:), allocatable, public | mean_full |
Vector holding the mean of the unresolved dynamics (full version) More... | |
real(kind=8), dimension(:,:), allocatable, public | corr_i_full |
Covariance matrix of the unresolved variables (full version) More... | |
real(kind=8), dimension(:,:), allocatable, public | inv_corr_i_full |
Inverse of the covariance matrix of the unresolved variables (full version) More... | |
real(kind=8), dimension(:,:), allocatable, public | corr_i |
Covariance matrix of the unresolved variables (reduced version) More... | |
real(kind=8), dimension(:,:), allocatable, public | inv_corr_i |
Inverse of the covariance matrix of the unresolved variables (reduced version) More... | |
real(kind=8), dimension(:,:), allocatable, public | corr_ij |
Matrix holding the correlation matrix at a given time. More... | |
real(kind=8), dimension(:,:,:), allocatable | y2 |
Vector holding coefficient of the spline and exponential correlation representation. More... | |
real(kind=8), dimension(:,:,:), allocatable | ya |
Vector holding coefficient of the spline and exponential correlation representation. More... | |
real(kind=8), dimension(:), allocatable | xa |
Vector holding coefficient of the spline and exponential correlation representation. More... | |
integer | nspl |
Integers needed by the spline representation of the correlation. More... | |
integer | klo |
integer | khi |
procedure(corrcomp_from_spline), pointer, public | corrcomp |
Pointer to the correlation computation routine. More... | |
Module to initialize the correlation matrix of the unresolved variables.
|
private |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the definition given inside the module.
s | time \(s\) at which the correlation is computed |
Definition at line 148 of file corrmod.f90.
|
private |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the exponential representation.
s | time \(s\) at which the correlation is computed |
Definition at line 399 of file corrmod.f90.
|
private |
Subroutine to compute the correlation of the unresolved variables \(\langle Y \otimes Y^s \rangle\) at time \(s\) from the spline representation.
s | time \(s\) at which the correlation is computed |
Definition at line 333 of file corrmod.f90.
|
private |
Exponential fit function.
s | time \(s\) at which the function is evaluated |
p | vector holding the coefficients of the fit function |
Definition at line 388 of file corrmod.f90.
subroutine, public corrmod::init_corr | ( | ) |
Subroutine to initialise the computation of the correlation.
Definition at line 46 of file corrmod.f90.
|
private |
Routine to compute the spline representation parameters.
Definition at line 347 of file corrmod.f90.
real(kind=8), dimension(:,:), allocatable, public corrmod::corr_i |
Covariance matrix of the unresolved variables (reduced version)
Definition at line 30 of file corrmod.f90.
real(kind=8), dimension(:,:), allocatable, public corrmod::corr_i_full |
Covariance matrix of the unresolved variables (full version)
Definition at line 28 of file corrmod.f90.
real(kind=8), dimension(:,:), allocatable, public corrmod::corr_ij |
Matrix holding the correlation matrix at a given time.
Definition at line 32 of file corrmod.f90.
procedure(corrcomp_from_spline), pointer, public corrmod::corrcomp |
Pointer to the correlation computation routine.
Definition at line 41 of file corrmod.f90.
real(kind=8), dimension(:,:), allocatable, public corrmod::inv_corr_i |
Inverse of the covariance matrix of the unresolved variables (reduced version)
Definition at line 31 of file corrmod.f90.
real(kind=8), dimension(:,:), allocatable, public corrmod::inv_corr_i_full |
Inverse of the covariance matrix of the unresolved variables (full version)
Definition at line 29 of file corrmod.f90.
|
private |
Definition at line 38 of file corrmod.f90.
|
private |
Definition at line 38 of file corrmod.f90.
real(kind=8), dimension(:), allocatable, public corrmod::mean |
Vector holding the mean of the unresolved dynamics (reduced version)
Definition at line 26 of file corrmod.f90.
real(kind=8), dimension(:), allocatable, public corrmod::mean_full |
Vector holding the mean of the unresolved dynamics (full version)
Definition at line 27 of file corrmod.f90.
|
private |
Integers needed by the spline representation of the correlation.
Definition at line 38 of file corrmod.f90.
|
private |
Vector holding coefficient of the spline and exponential correlation representation.
Definition at line 35 of file corrmod.f90.
|
private |
Vector holding coefficient of the spline and exponential correlation representation.
Definition at line 33 of file corrmod.f90.
|
private |
Vector holding coefficient of the spline and exponential correlation representation.
Definition at line 34 of file corrmod.f90.