MONC
Modules | Functions/Subroutines | Variables
gridmanager.F90 File Reference

Go to the source code of this file.

Modules

module  gridmanager_mod
 Manages the grid based upon the model state_mod.
 

Functions/Subroutines

type(component_descriptor_type) function, public gridmanager_mod::gridmanager_get_descriptor ()
 Provides the descriptor back to the caller and is used in component registration. More...
 
subroutine gridmanager_mod::initialise_callback (current_state)
 Called during initialisation and will initialise the horizontal and vertical grid configurations Note that the model state_mod (from a checkpoint or external file) must have been initialised already. More...
 
subroutine gridmanager_mod::finalise_callback (current_state)
 Called as MONC exits, for good practice this will deallocate the memory used for the grids. More...
 
subroutine gridmanager_mod::initialise_verticalgrid_configuration_type (current_state)
 Will initialise the vertical grid configuration. More...
 
subroutine gridmanager_mod::set_vertical_reference_profile (current_state, vertical_grid, kkp)
 Sets up the vertical grid reference profile at each point. More...
 
subroutine gridmanager_mod::calculate_initial_profiles (current_state, vertical_grid)
 Calculates the initial profiles for U, V, TH & Q if required. More...
 
subroutine gridmanager_mod::calculate_mixing_length_for_neutral_case (current_state, vertical_grid, kkp)
 Calculates the mixing length for the neutral case. More...
 
subroutine gridmanager_mod::set_buoyancy_coefficient (current_state, vertical_grid, kkp)
 Sets the buoyancy coefficient from the grid configuration and configuration. More...
 
subroutine gridmanager_mod::setup_reference_state_liquid_water_temperature_and_saturation (current_state, vertical_grid, kkp)
 Setting up reference state liquid water temperature and saturation mixing ratio on main levels. More...
 
subroutine gridmanager_mod::set_up_vertical_reference_properties (current_state, vertical_grid, kkp)
 Sets up the reference properties for the vertical grid at each point. More...
 
subroutine gridmanager_mod::set_up_and_smooth_grid (vertical_grid, kgd, hgd, ninitp, kkp, zztop, nsmth, origional_setup, continuation_run)
 Sets up and smooths the vertical grid. This is based upon the grid configuration already read in. More...
 
subroutine gridmanager_mod::original_vertical_grid_setup (vertical_grid, kgd, hgd, ninitp, kkp, zztop, nsmth)
 The original vertical grid setup and smoothing as per the LEM. More...
 
subroutine gridmanager_mod::new_vertical_grid_setup (vertical_grid, kgd, kkp, zztop)
 The newer vertical grid setup routine. More...
 
subroutine gridmanager_mod::create_linear_grid (vertical_grid, kgd, hgd, ninitp, kkp, zztop)
 Creates the linear vertical grid based upon the configuration properties. More...
 
subroutine gridmanager_mod::allocate_vertical_grid_data (vertical_grid, n, nq)
 Allocates the data required for the vertical grid configuration. More...
 
subroutine gridmanager_mod::initialise_horizontalgrid_configuration_types (current_state)
 Initialises the horizontal grid configurations. More...
 
subroutine gridmanager_mod::set_anelastic_pressure (current_state)
 Set reference profile of potential temperature for the Boussinesq/Anelastic approximation Note that this is not in general the same as the profile defining the initial vertical distribution of potential temperature for the integration. In particular, while the later may contain sharp changes in gradient representing a capping inversion or the tropopause, for example, the reference profile should be smooth. More...
 
subroutine gridmanager_mod::compute_anelastic_pressure_profile_only (current_state)
 Computes the anelastic pressure only - if we are using Boussinesq approximation. More...
 
subroutine gridmanager_mod::compute_anelastic_pressure_profile_and_density (current_state)
 Computes the anelastic pressure and density - if we are using Anelastic approximation. More...
 
subroutine gridmanager_mod::check_top (zztop, z, info)
 
subroutine gridmanager_mod::check_input_levels (z_levels, field_levels, field)
 
subroutine gridmanager_mod::set_qv_init_from_rh (current_state)
 

Variables

integer, parameter gridmanager_mod::anelastic_profile_mode =4
 
real, parameter gridmanager_mod::default_spacing = 1.E9
 The default spacing used if no grid is active in a specific dimension. More...
 
real(kind=default_precision), dimension(:,:), allocatable gridmanager_mod::qinit