FV3-JEDI
fv_init_mod.f90
Go to the documentation of this file.
1
! (C) Copyright 2020 UCAR
2
!
3
! This software is licensed under the terms of the Apache Licence Version 2.0
4
! which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
5
6
module
fv_init_mod
7
8
! fv3 uses
9
use
fv_arrays_mod,
only
: fv_atmos_type
10
use
fv_control_mod,
only
: fv_init_fv3 =>
fv_init
, pelist_all
11
12
! fv3jedi uses
13
use
fv3jedi_kinds_mod
,
only
:
kind_real
14
use
fv_prec_mod
,
only
:
kind_fv3
15
16
implicit none
17
private
18
public
fv_init
19
20
! --------------------------------------------------------------------------------------------------
21
22
contains
23
24
! --------------------------------------------------------------------------------------------------
25
26
subroutine
fv_init
(Atm, dt_atmos_in, grids_on_this_pe, p_split, gtile)
27
28
type
(fv_atmos_type),
allocatable
,
intent(inout)
:: Atm(:)
29
real
(kind=
kind_real
),
intent(in)
:: dt_atmos_in
30
logical
,
allocatable
,
intent(inout)
:: grids_on_this_pe(:)
31
integer
,
intent(inout)
:: p_split
32
integer
,
optional
,
intent(out)
:: gtile
33
34
real
(kind_fv3) :: dt_atmos
35
36
dt_atmos = dt_atmos_in
37
38
call
fv_init_fv3(
atm
, dt_atmos, grids_on_this_pe, p_split)
39
deallocate
(pelist_all)
40
41
if
(
present
(gtile)) gtile =
atm
(1)%tile
42
43
end subroutine
fv_init
44
45
! --------------------------------------------------------------------------------------------------
46
47
end module
fv_init_mod
atm
Definition:
atm.F90:1
fv_prec_mod
Definition:
fv_prec_r4_mod.f90:6
fv_prec_mod::kind_fv3
integer, parameter, public kind_fv3
Definition:
fv_prec_r4_mod.f90:11
fv_init_mod
Definition:
fv_init_control_mod.f90:6
fv3jedi_kinds_mod::kind_real
integer, parameter, public kind_real
Definition:
fv3jedi_kinds_mod.f90:14
fv3jedi_kinds_mod
Definition:
fv3jedi_kinds_mod.f90:6
fv_init_mod::fv_init
subroutine, public fv_init(Atm, dt_atmos_in, grids_on_this_pe, p_split, gtile)
Definition:
fv_init_control_mod.f90:28
fv3-bundle
fv3-jedi
src
fv3jedi
Geometry
fv_init_mod.f90
Generated on Tue Jan 5 2021 15:37:40 for FV3-JEDI by
1.8.18