CAM
ocn_comp Module Reference

Functions/Subroutines

subroutine, public ocn_init (ocn_out)
 
subroutine, public ocn_run (ocn_out)
 
subroutine prescribed_sst
 
subroutine, public ocn_init (mpicom_ocn, ocn_out, start_ymd, start_tod, ref_ymd, ref_tod, stop_ymd, stop_tod, perpetual_run, perpetual_ymd, calendar)
 
subroutine, public ocn_final (ocn_out)
 
subroutine ocn_alloc ()
 
subroutine ocn_read_inidat ()
 
subroutine, public ocn_write_restart (fname, ocn_out)
 
subroutine, public ocn_read_restart (ocn_out, stop_ymd, stop_tod)
 
subroutine read_domain (varname, ncid, dimlonnam, dimlatnam, lonnam, latnam, dim1b, dim1e, dim2b, dim2e, field, readvar)
 
subroutine check_var (ncid, varname, varid, readvar)
 
subroutine ocn_ic_output ()
 

Variables

real(r8), dimension(:,:), allocatable sst
 
integer nrf = -1
 
integer nrpf = -1
 
integer, parameter nlen = 256
 
character(len=nlendom_branch_file = ' '
 
character(len=nlenrest_pfile = './rpointer.ocn'
 
character(len=nlenbndtvs
 
character(len=nlenfocndomain
 
type(frac_t), dimension(:), allocatable, public frac
 
type(file_desc_t) ncid_sst
 

Function/Subroutine Documentation

◆ check_var()

subroutine ocn_comp::check_var ( type(file_desc_t), intent(inout)  ncid,
character(len=*), intent(in)  varname,
integer, intent(out)  varid,
logical, intent(out)  readvar 
)

◆ ocn_alloc()

subroutine ocn_comp::ocn_alloc ( )
private
Here is the caller graph for this function:

◆ ocn_final()

subroutine, public ocn_comp::ocn_final ( type(ocn_out_t), dimension(:), pointer  ocn_out)

◆ ocn_ic_output()

subroutine ocn_comp::ocn_ic_output ( )
private
Here is the caller graph for this function:

◆ ocn_init() [1/2]

subroutine, public ocn_comp::ocn_init ( type(ocn_out_t), dimension(:), pointer  ocn_out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ocn_init() [2/2]

subroutine, public ocn_comp::ocn_init ( integer, intent(in)  mpicom_ocn,
type(ocn_out_t), dimension(:), pointer  ocn_out,
integer, intent(in)  start_ymd,
integer, intent(in)  start_tod,
integer, intent(in)  ref_ymd,
integer, intent(in)  ref_tod,
integer, intent(in)  stop_ymd,
integer, intent(in)  stop_tod,
logical, intent(in)  perpetual_run,
integer, intent(in)  perpetual_ymd,
character(len=256), intent(in)  calendar 
)
Here is the call graph for this function:

◆ ocn_read_inidat()

subroutine ocn_comp::ocn_read_inidat ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ocn_read_restart()

subroutine, public ocn_comp::ocn_read_restart ( type(ocn_out_t), dimension(begchunk:endchunk), intent(inout)  ocn_out,
integer, intent(in)  stop_ymd,
integer, intent(in)  stop_tod 
)
Here is the caller graph for this function:

◆ ocn_run()

subroutine public ocn_comp::ocn_run ( type(ocn_out_t), dimension(begchunk:endchunk), intent(inout)  ocn_out)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ocn_write_restart()

subroutine, public ocn_comp::ocn_write_restart ( character(len=nlen), intent(in)  fname,
type(ocn_out_t), dimension(begchunk:endchunk), intent(in)  ocn_out 
)

◆ prescribed_sst()

subroutine ocn_comp::prescribed_sst ( )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ read_domain()

subroutine ocn_comp::read_domain ( character(len=*), intent(in)  varname,
type(file_desc_t), intent(inout)  ncid,
character(len=*), intent(in)  dimlonnam,
character(len=*), intent(in)  dimlatnam,
character(len=*), intent(in)  lonnam,
character(len=*), intent(in)  latnam,
integer, intent(in)  dim1b,
integer, intent(in)  dim1e,
integer, intent(in)  dim2b,
integer, intent(in)  dim2e,
real(r8), dimension(dim1b:dim1e,dim2b:dim2e), intent(out)  field,
logical, intent(out)  readvar 
)
private

Variable Documentation

◆ bndtvs

character(len=nlen) ocn_comp::bndtvs
private

◆ dom_branch_file

character(len=nlen) ocn_comp::dom_branch_file = ' '
private

◆ focndomain

character(len=nlen) ocn_comp::focndomain
private

◆ frac

type(frac_t), dimension(:), allocatable, public ocn_comp::frac

◆ ncid_sst

type(file_desc_t) ocn_comp::ncid_sst
private

◆ nlen

integer, parameter ocn_comp::nlen = 256
private

◆ nrf

integer ocn_comp::nrf = -1
private

◆ nrpf

integer ocn_comp::nrpf = -1
private

◆ rest_pfile

character(len=nlen) ocn_comp::rest_pfile = './rpointer.ocn'
private

◆ sst

real(r8), dimension(:,:), allocatable ocn_comp::sst
private