52 SELECT CASE(startup_type)
57 if(dbg_set(dbg_log))
then 58 WRITE(ipt,*)
'! READING FILES FOR HOTSTART !' 63 ALLOCATE(
y_lcl(0:mt),stat=status)
64 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE Y_LCL")
66 ALLOCATE(
x_lcl(0:mt),stat=status)
67 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE X_LCL")
69 ALLOCATE(
h_lcl(0:mt),stat=status)
70 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE H_LCL")
112 if(dbg_set(dbg_log))
then 113 WRITE(ipt,*)
'! READING FILES FOR CRASHRESTART !' 117 ALLOCATE(
y_lcl(0:mt),stat=status)
118 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE Y_LCL")
120 ALLOCATE(
x_lcl(0:mt),stat=status)
121 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE X_LCL")
123 ALLOCATE(
h_lcl(0:mt),stat=status)
124 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE H_LCL")
148 stype = stype_restart
162 if(dbg_set(dbg_log))
then 163 WRITE(ipt,*)
'! READING FILES FOR COLDSTART !' 169 ALLOCATE(
y_gbl(0:mgl),stat=status)
170 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE Y_GBL")
172 ALLOCATE(
x_gbl(0:mgl),stat=status)
173 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE X_GBL")
178 ALLOCATE(
y_lcl(0:mt),stat=status)
179 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE Y_LCL")
181 ALLOCATE(
x_lcl(0:mt),stat=status)
182 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE X_LCL")
185 ALLOCATE(
h_lcl(0:mt),stat=status)
186 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE H_LCL")
189 ALLOCATE(
c_lcl(0:mt),stat=status)
190 IF (status /=0 )
CALL fatal_error(
"COULD NOT ALLOCATE C_LCL")
subroutine coordinate_units(XL, YL)
real(sp), dimension(:), allocatable, target x_gbl
subroutine setup_center_coords
real(sp), dimension(:), allocatable, target h_lcl
real(sp), dimension(:), allocatable, target x_lcl
real(sp), dimension(:), allocatable, target c_spg
real(sp), dimension(:), allocatable, target r_spg
real(sp), dimension(:), allocatable, target y_spg
subroutine coords_n_const
subroutine setup_bottom_roughness
subroutine setup_coriolis
real(sp), dimension(:), allocatable, target x_spg
real(sp), dimension(:), allocatable, target c_lcl
integer, dimension(:), allocatable, target n_spg
real(sp), dimension(:), allocatable, target y_lcl
real(sp), dimension(:), allocatable, target y_gbl
subroutine setup_horizontal_mixing_coefficient
subroutine setup_sigma_derivatives