FV3DYCORE  Version 2.0.0
fv_restart_mod Module Reference

Functions/Subroutines

subroutine, public fv_restart_init ()
 
subroutine, public fv_restart (fv_domain, Atm, dt_atmos, seconds, days, cold_start, grid_type, this_grid)
 The subroutine 'fv_restart' initializes the model state, including prognaostic variables and several auxiliary pressure variables. More...
 
subroutine fill_nested_grid_topo_halo (Atm, proc_in)
 
subroutine fill_nested_grid_topo (Atm, proc_in)
 The subroutine 'fill_nested_grid_topo' fills the nested grid with topo to enable boundary smoothing. More...
 
subroutine fill_nested_grid_data (Atm, proc_in)
 
subroutine twoway_topo_update (Atm, proc_in)
 The subroutine ' twoway_topo_update' actually sets up the coarse-grid TOPOGRAPHY. More...
 
subroutine, public fv_write_restart (Atm, timestamp)
 The subroutine 'fv_write_restart' writes restart files to disk. More...
 
subroutine, public fv_restart_end (Atm, restart_endfcst)
 The subroutine 'fv_restart_end' writes ending restart files, terminates I/O, and prints out diagnostics including global totals and checksums. More...
 
subroutine pmaxmn_g (qname, q, is, ie, js, je, km, fac, area, domain)
 

Variables

real(kind=r_grid), parameter cnst_0p20 =0.20d0
 
logical module_is_initialized = .FALSE.
 

Function/Subroutine Documentation

◆ fill_nested_grid_data()

subroutine fv_restart_mod::fill_nested_grid_data ( type(fv_atmos_type), dimension(:), intent(inout)  Atm,
logical, intent(in), optional  proc_in 
)
private

Definition at line 877 of file fv_restart.F90.

◆ fill_nested_grid_topo()

subroutine fv_restart_mod::fill_nested_grid_topo ( type(fv_atmos_type), intent(inout)  Atm,
logical, intent(in), optional  proc_in 
)
private

The subroutine 'fill_nested_grid_topo' fills the nested grid with topo to enable boundary smoothing.

Interior topography is then over-written in get_external_ic.

Definition at line 812 of file fv_restart.F90.

◆ fill_nested_grid_topo_halo()

subroutine fv_restart_mod::fill_nested_grid_topo_halo ( type(fv_atmos_type), intent(inout)  Atm,
logical, intent(in), optional  proc_in 
)
private

Definition at line 790 of file fv_restart.F90.

◆ fv_restart()

subroutine, public fv_restart_mod::fv_restart ( type(domain2d), intent(inout)  fv_domain,
type(fv_atmos_type), dimension(:), intent(inout)  Atm,
real, intent(in)  dt_atmos,
integer, intent(out)  seconds,
integer, intent(out)  days,
logical, intent(inout)  cold_start,
integer, intent(in)  grid_type,
integer, intent(in)  this_grid 
)

The subroutine 'fv_restart' initializes the model state, including prognaostic variables and several auxiliary pressure variables.

The modules also writes out restart files at the end of the model run, and prints out diagnostics of the initial state. There are several options to control the initialization process.

Definition at line 196 of file fv_restart.F90.

◆ fv_restart_end()

subroutine, public fv_restart_mod::fv_restart_end ( type(fv_atmos_type), intent(inout)  Atm,
logical, intent(in)  restart_endfcst 
)

The subroutine 'fv_restart_end' writes ending restart files, terminates I/O, and prints out diagnostics including global totals and checksums.

Definition at line 1365 of file fv_restart.F90.

◆ fv_restart_init()

subroutine, public fv_restart_mod::fv_restart_init ( )

Definition at line 186 of file fv_restart.F90.

◆ fv_write_restart()

subroutine, public fv_restart_mod::fv_write_restart ( type(fv_atmos_type), intent(inout)  Atm,
character(len=*), intent(in)  timestamp 
)

The subroutine 'fv_write_restart' writes restart files to disk.

This subroutine may be called during an integration to write out intermediate restart files.

Definition at line 1351 of file fv_restart.F90.

◆ pmaxmn_g()

subroutine fv_restart_mod::pmaxmn_g ( character(len=*), intent(in)  qname,
real, dimension(is-3:ie+3, js-3:je+3, km), intent(in)  q,
integer, intent(in)  is,
integer, intent(in)  ie,
integer, intent(in)  js,
integer, intent(in)  je,
integer, intent(in)  km,
real, intent(in)  fac,
real(kind=r_grid), dimension(is-3:ie+3, js-3:je+3), intent(in)  area,
type(domain2d), intent(inout)  domain 
)
private

Definition at line 1465 of file fv_restart.F90.

◆ twoway_topo_update()

subroutine fv_restart_mod::twoway_topo_update ( type(fv_atmos_type), intent(inout)  Atm,
logical, intent(in), optional  proc_in 
)
private

The subroutine ' twoway_topo_update' actually sets up the coarse-grid TOPOGRAPHY.

Definition at line 1257 of file fv_restart.F90.

Variable Documentation

◆ cnst_0p20

real(kind=r_grid), parameter fv_restart_mod::cnst_0p20 =0.20d0
private

Definition at line 178 of file fv_restart.F90.

◆ module_is_initialized

logical fv_restart_mod::module_is_initialized = .FALSE.
private

Definition at line 180 of file fv_restart.F90.