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
A pointer to the prognostic field. This is so we can wrap prognostics up in an array and still refer ...
Contains prognostic field definitions and functions.
program test_prognostic_driver
A prognostic field which is assumed to be 3D.
integer, parameter, public default_precision
MPI communication type which we use for the prognostic and calculation data.
Contains common definitions for the data and datatypes used by MONC.
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.
subroutine test_get_field_interpolation_index
real(kind=default_precision) function, public random(idum)
returns a scalar random number, the initial seed idum must be negative usage: idum = -k !(set idum < ...
subroutine test_async_flux_value
integer, parameter, public primal_grid
Grid type parameters (usually applied to each dimension of a prognostic)
Functionality to support the different types of grid and abstraction between global grids and local o...