11#include "scaleFElib.h"
54 procedure :: init => oceandynvars_init
55 procedure :: final => oceandynvars_final
56 procedure :: history => oceandynvars_history
74 's-1', 2,
'XY',
'' ) /
88 subroutine oceandynvars_init( this, model_mesh )
96 logical :: reg_file_hist
104 log_info(
'OceanDynVars_Init',*)
106 nullify( ocean_mesh )
107 select type(model_mesh)
109 ocean_mesh => model_mesh
111 mesh3d => ocean_mesh%ptr_mesh
113 call mesh3d%GetMesh2D( mesh2d )
117 call this%AUXVARS2D_manager%Init()
120 reg_file_hist = .false.
122 call this%AUXVARS2D_manager%Regist( &
124 this%AUX_VARS2D(v), reg_file_hist )
126 do n = 1, mesh3d%LOCAL_MESH_NUM
127 this%AUX_VARS2D(v)%local(n)%val(:,:) = 0.0_rp
132 end subroutine oceandynvars_init
135 subroutine oceandynvars_final( this )
141 log_info(
'OceanDynVars_Final',*)
143 call this%AUXVARS2D_manager%Final()
144 deallocate( this%AUX_VARS2D )
149 end subroutine oceandynvars_final
152 subroutine oceandynvars_history( this )
158 end subroutine oceandynvars_history
169 integer,
intent(in) :: domid
172 class(localmeshfieldbase),
pointer,
intent(out) :: coriolis
173 class(
localmesh3d),
pointer,
intent(out),
optional :: lcmesh3d
181 call field%GetLocalMeshField(domid, coriolis)
184 if (
present(lcmesh3d))
then
185 call mesh%GetLocalMesh( domid, lcmesh )
190 if (
present(lcmesh3d)) lcmesh3d => lcmesh
integer, parameter, public ocean_dyn_auxvars2d_coriolis_id
subroutine, public oceandynauxvars_getlocalmeshfields(domid, mesh, auxvars_list, coriolis, lcmesh3d)
integer, parameter, public ocean_dyn_auxvars2d_num
type(variableinfo), dimension(ocean_dyn_auxvars2d_num), public ocean_dyn_auxvars2d_vinfo
module FElib / Element / Base
module FElib / File / History
module FElib / Mesh / Local 2D
module FElib / Mesh / Local 3D
module FElib / Mesh / Local, Base
module FElib / Data / base
integer, parameter, public local_meshfield_type_nodes_faceval
ID of data type with a field on face nodes in local mesh.
module FElib / Mesh / Base 2D
module FElib / Mesh / Base 3D
module FElib / Mesh / Base
module FElib / Data / base
module FElib / Data / Communication base
FElib / model framework / mesh manager (base)
FElib / model framework / variable manager.
Derived type to manage variables with oceanic dynamics component.
Derived type to manage a computational mesh (base class)
Derived type representing a 3D reference element.
Derived type representing a local mesh for 2D domain.
Derived type to manage a local 3D computational domain.
Derived type to manage a local computational domain (base type)
Derived type representing a field with local mesh (base type)
Derived type to manage a computational mesh (base type for 2D domain)
Derived type to manage a computational mesh (base type for 3D domain)
Base type to manage a computational mesh.
Derived type representing a field with 2D mesh.
Derived type representing a field with 3D mesh.
Derived type representing a field (base type)
Container to save a pointer of MeshField(1D, 2D, 3D) object.
Derived type to manage model mesh and spatial operators (base type)