Allocate hTr / hTr0 at the multilayer grid size, zero-filled.
Caller is responsible for populating the prognostic field
(e.g. hTr = h_layer * tr_init) after layer thicknesses are set.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Variables
Type
Visibility
Attributes
Name
Initial
integer,
private
::
nx
integer,
private
::
ny
Source Code
subroutine tracer_init(this,grid,nz)!! Allocate hTr / hTr0 at the multilayer grid size, zero-filled.!! Caller is responsible for populating the prognostic field!! (e.g. `hTr = h_layer * tr_init`) after layer thicknesses are set.class(tracer_t),intent(inout)::thistype(hgrid_t),intent(in)::gridinteger,intent(in)::nzinteger::nx,nynx=grid%nx_totalny=grid%ny_totalallocate(this%hTr(nx,ny,nz),source=0.0_wp)allocate(this%hTr0(nx,ny,nz),source=0.0_wp)end subroutine tracer_init