SCALE-RM
Functions/Subroutines | Variables
scale_ocean_grid_cartesc_real Module Reference

module ocean / grid / cartesianC / real More...

Functions/Subroutines

subroutine, public ocean_grid_cartesc_real_setup
 Setup area and volume. More...
 

Variables

real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
 area of grid cell More...
 
real(rp), public ocean_grid_cartesc_real_totarea
 total area More...
 
real(rp), dimension(:,:,:), allocatable, public ocean_grid_cartesc_real_vol
 volume of grid cell More...
 
real(rp), public ocean_grid_cartesc_real_totvol
 total volume More...
 

Detailed Description

module ocean / grid / cartesianC / real

Description
Grid module for cartesian coordinate for ocean
Author
Team SCALE

Function/Subroutine Documentation

◆ ocean_grid_cartesc_real_setup()

subroutine, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup ( )

Setup area and volume.

Definition at line 53 of file scale_ocean_grid_cartesC_real.F90.

References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totarea, scale_file_cartesc::file_cartesc_set_coordinates_ocean(), scale_ocean_grid_cartesc::ocean_grid_cartesc_cdz, ocean_grid_cartesc_real_area, ocean_grid_cartesc_real_totarea, ocean_grid_cartesc_real_totvol, ocean_grid_cartesc_real_vol, scale_ocean_grid_cartesc_index::oia, scale_ocean_grid_cartesc_index::oie, scale_ocean_grid_cartesc_index::ois, scale_ocean_grid_cartesc_index::oja, scale_ocean_grid_cartesc_index::oje, scale_ocean_grid_cartesc_index::ojs, scale_ocean_grid_cartesc_index::oka, scale_ocean_grid_cartesc_index::oke, and scale_ocean_grid_cartesc_index::oks.

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

56  use scale_ocean_grid_cartesc, only: &
58  use scale_file_cartesc, only: &
60  integer :: k, i, j
61 
62  ! at this moment, horizontal grid is identical to that of the atmosphere
63  allocate( ocean_grid_cartesc_real_area( oia,oja) )
64  allocate( ocean_grid_cartesc_real_vol(oka,oia,oja) )
67 
68  do j = 1, oja
69  do i = 1, oia
70  do k = oks, oke
72  enddo
73  enddo
74  enddo
75 
77  do j = ojs, oje
78  do i = ois, oie
79  do k = oks, oke
81  end do
82  end do
83  end do
84 
86 
87  return
real(rp), dimension(:), allocatable, public ocean_grid_cartesc_cdz
z-length of control volume [m]
real(rp), dimension(:,:,:), allocatable, public ocean_grid_cartesc_real_vol
volume of grid cell
real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
area of grid cell
real(rp), public ocean_grid_cartesc_real_totarea
total area
real(rp), public ocean_grid_cartesc_real_totvol
total volume
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
module file / cartesianC
subroutine, public file_cartesc_set_coordinates_ocean(VOL)
set volume for ocean
module ocean / grid / cartesianC
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ocean_grid_cartesc_real_area

real(rp), dimension(:,:), allocatable, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_area

area of grid cell

Definition at line 35 of file scale_ocean_grid_cartesC_real.F90.

Referenced by scale_monitor_cartesc::monitor_cartesc_setup(), mod_ocean_driver::ocean_driver_calc_tendency(), ocean_grid_cartesc_real_setup(), and mod_ocean_vars::ocean_vars_total().

35  real(RP), public, allocatable :: ocean_grid_cartesc_real_area(:,:)
real(rp), dimension(:,:), allocatable, public ocean_grid_cartesc_real_area
area of grid cell

◆ ocean_grid_cartesc_real_totarea

real(rp), public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totarea

◆ ocean_grid_cartesc_real_vol

real(rp), dimension (:,:,:), allocatable, public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_vol

◆ ocean_grid_cartesc_real_totvol

real(rp), public scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_totvol