11#include "scaleFElib.h"
54 procedure :: init => atmosdynvars_init
55 procedure :: final => atmosdynvars_final
56 procedure :: history => atmosdynvars_history
74 's-1', 2,
'XY',
'' ) /
114 subroutine atmosdynvars_init( this, model_mesh )
122 logical :: reg_file_hist
130 log_info(
'AtmosDynVars_Init',*)
133 select type(model_mesh)
135 atm_mesh => model_mesh
137 mesh3d => atm_mesh%ptr_mesh
139 call mesh3d%GetMesh2D( mesh2d )
143 call this%AUXVARS2D_manager%Init()
146 reg_file_hist = .false.
148 call this%AUXVARS2D_manager%Regist( &
150 this%AUX_VARS2D(v), reg_file_hist )
152 do n = 1, mesh3d%LOCAL_MESH_NUM
153 this%AUX_VARS2D(v)%local(n)%val(:,:) = 0.0_rp
169 end subroutine atmosdynvars_init
172 subroutine atmosdynvars_final( this )
178 log_info(
'AtmosDynVars_Final',*)
180 call this%AUXVARS2D_manager%Final()
181 deallocate( this%AUX_VARS2D )
186 end subroutine atmosdynvars_final
188 subroutine atmosdynvars_history( this )
203 end subroutine atmosdynvars_history
214 integer,
intent(in) :: domid
217 class(localmeshfieldbase),
pointer,
intent(out) :: coriolis
218 class(
localmesh3d),
pointer,
intent(out),
optional :: lcmesh3d
226 call field%GetLocalMeshField(domid, coriolis)
229 if (
present(lcmesh3d))
then
230 call mesh%GetLocalMesh( domid, lcmesh )
235 if (
present(lcmesh3d)) lcmesh3d => lcmesh
module Atmosphere / Dynamics
type(variableinfo), dimension(atmos_dyn_auxvars2d_num), public atmos_dyn_auxvars2d_vinfo
integer, parameter, public atmos_dyn_auxvars2d_coriolis_id
integer, parameter, public atmos_dyn_auxvars2d_num
subroutine, public atmosdynauxvars_getlocalmeshfields(domid, mesh, auxvars_list, coriolis, lcmesh3d)
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 atmospheric dynamics component.
Derived type to manage a computational mesh (base class)
Derived type representing a 3D reference element.
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 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)