FE-Project
Loading...
Searching...
No Matches
mod_ocean_dyn_vars Module Reference

module Ocean / Dynamics More...

Data Types

type  oceandynvars
 Derived type to manage variables with oceanic dynamics component. More...

Functions/Subroutines

subroutine, public oceandynauxvars_getlocalmeshfields (domid, mesh, auxvars_list, coriolis, lcmesh3d)

Variables

integer, parameter, public ocean_dyn_auxvars2d_num = 1
integer, parameter, public ocean_dyn_auxvars2d_coriolis_id = 1
type(variableinfo), dimension(ocean_dyn_auxvars2d_num), public ocean_dyn_auxvars2d_vinfo

Detailed Description

module Ocean / Dynamics

Description
Container for variables with dynamics component
Author
Yuta Kawai, Team SCALE
NAMELIST
  • No namelist group
History Output
namedescriptionunitvariable
CORIOLIScoriolis parameters-1CORIOLIS

Function/Subroutine Documentation

◆ oceandynauxvars_getlocalmeshfields()

subroutine, public mod_ocean_dyn_vars::oceandynauxvars_getlocalmeshfields ( integer, intent(in) domid,
class(meshbase), intent(in) mesh,
class(modelvarmanager), intent(inout) auxvars_list,
class(localmeshfieldbase), intent(out), pointer coriolis,
class(localmesh3d), intent(out), optional, pointer lcmesh3d )

Definition at line 160 of file mod_ocean_dyn_vars.F90.

164
165 use scale_mesh_base, only: meshbase
167 implicit none
168
169 integer, intent(in) :: domID
170 class(MeshBase), intent(in) :: mesh
171 class(ModelVarManager), intent(inout) :: auxvars_list
172 class(LocalMeshFieldBase), pointer, intent(out) :: Coriolis
173 class(LocalMesh3D), pointer, intent(out), optional :: lcmesh3D
174
175 class(MeshFieldBase), pointer :: field
176 class(LocalMeshBase), pointer :: lcmesh
177 !-------------------------------------------------------
178
179 !--
180 call auxvars_list%Get(ocean_dyn_auxvars2d_coriolis_id, field)
181 call field%GetLocalMeshField(domid, coriolis)
182 !---
183
184 if (present(lcmesh3d)) then
185 call mesh%GetLocalMesh( domid, lcmesh )
186 nullify( lcmesh3d )
187
188 select type(lcmesh)
189 type is (localmesh3d)
190 if (present(lcmesh3d)) lcmesh3d => lcmesh
191 end select
192 end if
193
194 return
module FElib / Mesh / Base
module FElib / Data / base
Base type to manage a computational mesh.
Derived type representing a field (base type)

References ocean_dyn_auxvars2d_coriolis_id.

Referenced by mod_ocean_dyn_vars::oceandynvars::history().

Variable Documentation

◆ ocean_dyn_auxvars2d_num

integer, parameter, public mod_ocean_dyn_vars::ocean_dyn_auxvars2d_num = 1

Definition at line 68 of file mod_ocean_dyn_vars.F90.

68 integer, public, parameter :: OCEAN_DYN_AUXVARS2D_NUM = 1

◆ ocean_dyn_auxvars2d_coriolis_id

integer, parameter, public mod_ocean_dyn_vars::ocean_dyn_auxvars2d_coriolis_id = 1

Definition at line 69 of file mod_ocean_dyn_vars.F90.

69 integer, public, parameter :: OCEAN_DYN_AUXVARS2D_CORIOLIS_ID = 1

Referenced by oceandynauxvars_getlocalmeshfields().

◆ ocean_dyn_auxvars2d_vinfo

type(variableinfo), dimension(ocean_dyn_auxvars2d_num), public mod_ocean_dyn_vars::ocean_dyn_auxvars2d_vinfo

Definition at line 71 of file mod_ocean_dyn_vars.F90.

71 type(VariableInfo), public :: OCEAN_DYN_AUXVARS2D_VINFO(OCEAN_DYN_AUXVARS2D_NUM)