My Project
Functions/Subroutines
load_grid.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine load_grid
 

Function/Subroutine Documentation

◆ load_grid()

subroutine load_grid ( )

Definition at line 41 of file load_grid.f90.

41 !===============================================================================!
42 ! GET THE GRID CONNECTIVITY AND OBC NODE LIST FOR DOMAIN
43 ! DECOMPOSITION AND GENMAP
44 !===============================================================================!
45  USE control
46  USE mod_input
47  USE mod_obcs
48  USE all_vars
49  USE mod_nesting
50  IMPLICIT NONE
51  integer i
52 
53 
54  SELECT CASE(startup_type)
55  !=================================================
56  ! HOTSTART
57  CASE("hotstart")
58  !=================================================
59  if(dbg_set(dbg_log)) then
60  WRITE(ipt,*)'! READING GRID FOR HOTSTART !'
61  WRITE(ipt,*)'! !'
62  end if
63 
64  CALL load_restart_grid(nvg) ! SET DIMENSIONS HERE
65 
67 
69 
70 
71  !=================================================
72  ! CRASHSTART
73  CASE("crashrestart")
74  !=================================================
75  if(dbg_set(dbg_log)) then
76  WRITE(ipt,*)'! READING GRID FOR CRASHSTART !'
77  WRITE(ipt,*)'! !'
78  end if
79 
80  CALL load_restart_grid(nvg) ! SET DIMENSIONS HERE
81 
83 
85 
86  !=================================================
87  ! COLDSTART
88  CASE("coldstart")
89  !=================================================
90  if(dbg_set(dbg_log)) then
91  WRITE(ipt,*)'! READING GRID FOR COLDSTART !'
92  WRITE(ipt,*)'! !'
93  end if
94 
95  ! SET DIMENSIONS HERE
97 
99 
101 
103 
104  END SELECT
105 
106 
real(sp), dimension(:), allocatable, target rbc_geo_gl
Definition: mod_main.f90:1075
subroutine load_coldstart_obc_grid(IOBCN_GL, I_OBC_GL, TYPE_OBC_GL)
Definition: mod_input.f90:2392
logical function dbg_set(vrb)
Definition: mod_utils.f90:182
character(len=80) startup_type
Definition: mod_main.f90:141
subroutine load_restart_obc_grid(IOBCN_GL, I_OBC_GL, TYPE_OBC_GL)
Definition: mod_input.f90:2130
subroutine load_coldstart_grid(NVG)
Definition: mod_input.f90:2373
integer, dimension(:), allocatable i_obc_gl
Definition: mod_main.f90:1773
subroutine load_coldstart_sigma
Definition: mod_input.f90:2558
subroutine load_restart_grid(NVG)
Definition: mod_input.f90:2052
subroutine load_restart_lsf_grid(N_GL, I_GL, GEO_GL, WDF_GL)
Definition: mod_input.f90:2183
integer, dimension(:,:), allocatable nvg
Definition: mod_main.f90:969
real(sp), dimension(:), allocatable, target rbc_wdf_gl
Definition: mod_main.f90:1076
subroutine load_coldstart_lsf(N_GL, I_GL, GEO_GL, WDF_GL)
Definition: mod_input.f90:2417
integer, dimension(:), allocatable type_obc_gl
Definition: mod_main.f90:1782
integer iobcn_gl
Definition: mod_main.f90:1775
integer ipt
Definition: mod_main.f90:922
integer, parameter dbg_log
Definition: mod_utils.f90:65
integer nobclsf_gl
Definition: mod_main.f90:52
integer, dimension(:), allocatable, target ibclsf_gl
Definition: mod_main.f90:1074
Here is the call graph for this function:
Here is the caller graph for this function: