Go to the documentation of this file.
3 use fruit,
only : assert_equals, assert_not_equals, assert_true
4 use mpi,
only : mpi_request_null
16 call assert_equals(mpi_request_null, field%async_flux_handle ,
"Test async_flux_handle")
23 logical,
dimension(3) :: get_field_index
27 call assert_equals(.false., get_field_index(i) ,
"Test interpolation index is false")
34 call assert_equals(.true., get_field_index(i) ,
" Should be true")
36 call assert_equals(.false., get_field_index(i) ,
"Should be false")
45 call assert_equals(.false., get_field_index(i) ,
"Should be false")
58 use fruit,
only : init_fruit, run_test_case, fruit_summary
Contains prognostic field definitions and functions.
subroutine test_async_flux_value
real(kind=default_precision) function, public random(idum)
returns a scalar random number, the initial seed idum must be negative usage: idum = -k !...
integer, parameter, public primal_grid
Grid type parameters (usually applied to each dimension of a prognostic)
A pointer to the prognostic field. This is so we can wrap prognostics up in an array and still refer ...
logical function, dimension(3), public get_field_interpolation_index(field)
Retrieves the index(s) that require interpolation to go from the primal the dual grid.
A prognostic field which is assumed to be 3D.
Contains common definitions for the data and datatypes used by MONC.
subroutine test_get_field_interpolation_index
Functionality to support the different types of grid and abstraction between global grids and local o...
program test_prognostic_driver
integer, parameter, public default_precision
MPI communication type which we use for the prognostic and calculation data.