FE-Project
Loading...
Searching...
No Matches
Data Types | Functions/Subroutines
scale_atm_dyn_dgm_driver_base Module Reference

module FElib / Fluid dyn solver / Atmosphere / driver (base) More...

Data Types

type  atmdyndgmdriver_base
 
type  atmdyndgmdriver_base3d
 

Functions/Subroutines

subroutine, public atmdyndgmdriver_base3d_init (this, prgvar_num, tint_type, dtsec, mesh)
 
subroutine, public atmdyndgmdriver_base3d_final (this)
 

Detailed Description

module FElib / Fluid dyn solver / Atmosphere / driver (base)

Description
Driver module for dynamical core based on DGM
Author
Yuta Kawai, Team SCALE

Function/Subroutine Documentation

◆ atmdyndgmdriver_base3d_init()

subroutine, public scale_atm_dyn_dgm_driver_base::atmdyndgmdriver_base3d_init ( class(atmdyndgmdriver_base3d), intent(inout) this,
integer, intent(in) prgvar_num,
character(len=*), intent(in) tint_type,
real(dp), intent(in) dtsec,
class(meshbase3d), intent(in), target mesh )

Definition at line 92 of file scale_atm_dyn_dgm_driver_base.F90.

96 implicit none
97
98 class(AtmDynDGMDriver_base3D), intent(inout) :: this
99 integer, intent(in) :: prgvar_num
100 character(len=*), intent(in) :: tint_type
101 real(DP), intent(in) :: dtsec
102 class(MeshBase3D), intent(in), target :: mesh
103
104 class(LocalMesh3D), pointer :: lcmesh
105 integer :: n
106 !-----------------------------------------------------------------------------
107
108 call atmdyndgmdriver_base_init( this, prgvar_num, mesh%LOCAL_MESH_NUM )
109
110 do n = 1, mesh%LOCAL_MESH_NUM
111 lcmesh => mesh%lcmesh_list(n)
112
113 call this%tint(n)%Init( tint_type, dtsec, prgvar_num, 2, &
114 (/ lcmesh%refElem%Np, lcmesh%NeA /) )
115 end do
116
117 return

◆ atmdyndgmdriver_base3d_final()

subroutine, public scale_atm_dyn_dgm_driver_base::atmdyndgmdriver_base3d_final ( class(atmdyndgmdriver_base3d), intent(inout) this)

Definition at line 120 of file scale_atm_dyn_dgm_driver_base.F90.

121 implicit none
122
123 class(AtmDynDGMDriver_base3D), intent(inout) :: this
124
125 integer :: n
126 !-----------------------------------------------------------------------------
127
128 do n = 1, size(this%tint)
129 call this%tint(n)%Final()
130 end do
131 call atmdyndgmdriver_base_final( this )
132
133 return