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

Go to the source code of this file.

Modules

module  memory
 Module that compute the memory term \(M_3\) of the WL parameterization.
 

Functions/Subroutines

subroutine, public memory::init_memory
 Subroutine to initialise the memory. More...
 
subroutine, public memory::compute_m3 (y, dt, dtn, savey, save_ev, evolve, inter, h_int)
 Compute the integrand of \(M_3\) at each time in the past and integrate to get the memory term. More...
 
subroutine, public memory::test_m3 (y, dt, dtn, h_int)
 Routine to test the #compute_M3 routine. More...
 

Variables

real(kind=8), dimension(:,:), allocatable memory::x
 Array storing the previous state of the system. More...
 
real(kind=8), dimension(:,:), allocatable memory::xs
 Array storing the resolved time evolution of the previous state of the system. More...
 
real(kind=8), dimension(:,:), allocatable memory::zs
 Dummy array to replace Xs in case where the evolution is not stored. More...
 
real(kind=8), dimension(:), allocatable memory::buf_m
 Dummy vector. More...
 
real(kind=8), dimension(:), allocatable memory::buf_m3
 Dummy vector to store the \(M_3\) integrand. More...
 
integer memory::t_index
 Integer storing the time index (current position in the arrays) More...
 
procedure(ss_step), pointer memory::step
 Procedural pointer pointing on the resolved dynamics step routine. More...