11#include "scaleFElib.h"
38 generic :: mkinit => mkinit_
39 procedure :: mkinit_ocn => user_mkinit_ocn
40 procedure :: setup_ => user_setup
41 generic :: setup => setup_
61 class(
user),
intent(inout) :: this
67 subroutine user_mkinit_ocn( this, ocn )
69 class(
user),
intent(inout) :: this
73 end subroutine user_mkinit_ocn
76 subroutine user_setup( this, atm )
77 use scale_prc,
only: &
81 class(
user),
intent(inout) :: this
84 logical :: USER_do = .false.
85 namelist / param_user / &
92 log_info(
"USER_setup",*)
'Setup'
96 read(io_fid_conf,nml=param_user,iostat=ierr)
98 log_info(
"USER_setup",*)
'Not found namelist. Default used.'
99 elseif( ierr > 0 )
then
100 log_error(
"USER_setup",*)
'Not appropriate names in namelist PARAM_USER. Check!'
106 log_info(
"USER_setup",*)
'This module is dummy.'
108 call this%UserBase%Setup( atm, user_do )
111 end subroutine user_setup
module Atmosphere component
subroutine user_mkinit(this, atm)
Derived type to manage atmospheric component.
Derived type to manage oceanic component.