CAM Component  1.2.2
 All Classes Files Functions Variables
camsrfexch Module Reference
Collaboration diagram for camsrfexch:
Collaboration graph

Data Types

type  cam_in_t
 CAM import state. More...
 
type  cam_out_t
 CAM export state. More...
 

Public Member Functions

subroutine, public hub2atm_alloc (cam_in)
 Initialize objects of type cam_in_t. More...
 
subroutine, public atm2hub_alloc (cam_out)
 Initialize objects of type cam_out_t. More...
 
subroutine, public atm2hub_deallocate (cam_out)
 Destroy objects of type cam_out_t. More...
 
subroutine, public hub2atm_deallocate (cam_in)
 Destroy objects of type cam_in_t. More...
 
subroutine, public hub2atm_setopts (aero_dust_in)
 Set options used to initialize cam_in_t objects. More...
 
subroutine, public cam_export (state, cam_out, pbuf)
 Set components of cam_out_t objects. More...
 

Public Attributes

logical dust = .false.
 .true. => aerosol dust package is being used More...
 

Detailed Description

Definition at line 7 of file camsrfexch.F90.


Data Type Documentation

type camsrfexch::cam_in_t

CAM import state.

Container for the data sent to the atmosphere from the coupler component. This is the merged state of sea-ice, land and ocean.

Definition at line 80 of file camsrfexch.F90.

Collaboration diagram for camsrfexch::cam_in_t:
Collaboration graph
Class Members
real(r8), dimension(pcols) aldif albedo: longwave, diffuse
real(r8), dimension(pcols) aldir albedo: longwave, direct
real(r8), dimension(pcols) asdif albedo: shortwave, diffuse
real(r8), dimension(pcols) asdir albedo: shortwave, direct
real(r8), dimension(pcols, pcnst) cflx constituent flux (evap)
real(r8), dimension(:,:), pointer depvel deposition velocities
real(r8), dimension(pcols) fco2_lnd co2 flux from lnd
real(r8), dimension(pcols) fco2_ocn co2 flux from ocn
real(r8), dimension(pcols) fdms dms flux
real(r8), dimension(:), pointer fv friction velocity (m/s) (pcols)
real(r8), dimension(pcols) icefrac sea-ice areal fraction
real(r8), dimension(pcols) landfrac land area fraction
integer lchnk chunk index
real(r8), dimension(pcols) lhf latent heat flux
real(r8), dimension(pcols) lwup longwave up radiative flux
integer ncol number of active columns
real(r8), dimension(pcols) ocnfrac ocean areal fraction
real(r8), dimension(pcols) qref ref height specific humidity
real(r8), dimension(:), pointer ram1 aerodynamical resistance (s/m) (pcols)
real(r8), dimension(pcols) re atm/ocn saved version of re
real(r8), dimension(pcols) shf sensible heat flux
real(r8), dimension(pcols) snowhice snow depth over ice
real(r8), dimension(pcols) snowhland snow depth (liquid water equivalent) over land
real(r8), dimension(:), pointer soilw volumetric soil water (m3/m3)
real(r8), dimension(pcols) ssq atm/ocn saved version of ssq
real(r8), dimension(pcols) sst sea surface temp
real(r8), dimension(pcols) tref ref height surface air temp
real(r8), dimension(pcols) ts merged surface temp
real(r8), dimension(pcols) u10 10m wind speed
real(r8), dimension(pcols) ustar atm/ocn saved version of ustar
real(r8), dimension(pcols) wsx surface u-stress (N)
real(r8), dimension(pcols) wsy surface v-stress (N)
type camsrfexch::cam_out_t

CAM export state.

Container for the data sent from the atmosphere to the coupler component

Definition at line 34 of file camsrfexch.F90.

Collaboration diagram for camsrfexch::cam_out_t:
Collaboration graph
Class Members
real(r8), dimension(pcols) bcphidry dry deposition of hydrophilic black carbon
real(r8), dimension(pcols) bcphiwet wet deposition of hydrophilic black carbon
real(r8), dimension(pcols) bcphodry dry deposition of hydrophobic black carbon
real(r8), dimension(pcols) co2diag diagnostic co2
real(r8), dimension(pcols) co2prog prognostic co2
real(r8), dimension(pcols) dstdry1 dry deposition of dust (bin1)
real(r8), dimension(pcols) dstdry2 dry deposition of dust (bin2)
real(r8), dimension(pcols) dstdry3 dry deposition of dust (bin3)
real(r8), dimension(pcols) dstdry4 dry deposition of dust (bin4)
real(r8), dimension(pcols) dstwet1 wet deposition of dust (bin1)
real(r8), dimension(pcols) dstwet2 wet deposition of dust (bin2)
real(r8), dimension(pcols) dstwet3 wet deposition of dust (bin3)
real(r8), dimension(pcols) dstwet4 wet deposition of dust (bin4)
real(r8), dimension(pcols) flwds
integer lchnk chunk index
integer ncol number of columns in chunk
real(r8), dimension(pcols) netsw
real(r8), dimension(pcols) ocphidry dry deposition of hydrophilic organic carbon
real(r8), dimension(pcols) ocphiwet wet deposition of hydrophilic organic carbon
real(r8), dimension(pcols) ocphodry dry deposition of hydrophobic organic carbon
real(r8), dimension(pcols) pbot bot level pressure
real(r8), dimension(pcols) precc
real(r8), dimension(pcols) precl
real(r8), dimension(pcols) precsc
real(r8), dimension(pcols) precsl
real(r8), dimension(pcols) psl
real(r8), dimension(pcols, pcnst) qbot bot level specific humidity
real(r8), dimension(pcols) rho bot level density
real(r8), dimension(pcols) soll
real(r8), dimension(pcols) solld
real(r8), dimension(pcols) sols
real(r8), dimension(pcols) solsd
real(r8), dimension(pcols) tbot bot level temperature
real(r8), dimension(pcols) thbot
real(r8), dimension(pcols) ubot bot level u wind
real(r8), dimension(pcols) vbot bot level v wind
real(r8), dimension(pcols) zbot bot level height above surface

Member Function/Subroutine Documentation

subroutine, public camsrfexch::atm2hub_alloc ( type(cam_out_t), dimension(:), pointer  cam_out)

Initialize objects of type cam_out_t.

Parameters
cam_outobject of type cam_out_t

Definition at line 216 of file camsrfexch.F90.

Referenced by cam_comp::cam_init().

Here is the caller graph for this function:

subroutine, public camsrfexch::atm2hub_deallocate ( type(cam_out_t), dimension(:), pointer  cam_out)

Destroy objects of type cam_out_t.

Parameters
cam_outobject of type cam_out_t

Definition at line 278 of file camsrfexch.F90.

Referenced by cam_comp::cam_final().

Here is the caller graph for this function:

subroutine, public camsrfexch::cam_export ( type(physics_state), intent(in)  state,
type (cam_out_t), intent(inout)  cam_out,
type(physics_buffer_desc), dimension(:), pointer  pbuf 
)

Set components of cam_out_t objects.

Set components of cam_out_t objects from fields in the state and physics buffer. Also sets fields in the comsrf module.

Parameters
[in]statephysics state object
[in]pbufphysics buffer
[in,out]cam_outexport object

Definition at line 351 of file camsrfexch.F90.

subroutine, public camsrfexch::hub2atm_alloc ( type(cam_in_t), dimension(:), pointer  cam_in)

Initialize objects of type cam_in_t.

Parameters
cam_inobject of type cam_in_t

Definition at line 124 of file camsrfexch.F90.

Referenced by cam_comp::cam_init().

Here is the caller graph for this function:

subroutine, public camsrfexch::hub2atm_deallocate ( type(cam_in_t), dimension(:), pointer  cam_in)

Destroy objects of type cam_in_t.

Parameters
cam_inobject of type cam_in_t

Definition at line 289 of file camsrfexch.F90.

Referenced by cam_comp::cam_final().

Here is the caller graph for this function:

subroutine, public camsrfexch::hub2atm_setopts ( logical, intent(in), optional  aero_dust_in)

Set options used to initialize cam_in_t objects.

Method for outside packages to influence what is allocated (For now, just aerosol dust controls if fv, ram1, and soilw arrays are allocated.)

Parameters
[in]aero_dust_inset value of the camsrfexch::dust attribute

Definition at line 330 of file camsrfexch.F90.

Member Data Documentation

logical camsrfexch::dust = .false.

.true. => aerosol dust package is being used

Definition at line 115 of file camsrfexch.F90.


The documentation for this module was generated from the following file: