My Project
Functions/Subroutines
namelist.f90 File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine namelist
 

Function/Subroutine Documentation

◆ namelist()

subroutine namelist ( )

Definition at line 41 of file namelist.f90.

41  USE mod_utils
42  USE control
43  USE mod_input
44  USE mod_nesting
47 
48  IMPLICIT NONE
49 
50 
51  !==============================================================================!
52  ! SET DEFAULT VALUES IN NAME LIST
53  !==============================================================================!
55 
57 
58 
60 
61  ! IF FVCOM IS ONLY PRINTING A BLANK NAME LIST FOR A NEW CASE:
62  if (blank_namelist) then
63  CALL name_list_print
64 
65 
66 
68 
69  CALL pshutdown
70  end if
71 
72  !==============================================================================!
73  ! SETUP MODEL RUN PARAMETERS !
74  !==============================================================================!
75 
76  !READ DATA IN THE NAME LIST FILE
77  CALL name_list_read ! ALL PROCS READ THIS
78 
80  IF(nesting_on .AND. serial)THEN
81  IF(msr) WRITE(*,*) 'PLEASE USE MORE THAN ONE PROCESSOR TO RUN NESTING. STOP RUNNING...'
82  CALL pstop
83  END IF
84  IF(ncnest_on .AND. serial)THEN
85  IF(msr) WRITE(*,*) 'PLEASE USE MORE THAN ONE PROCESSOR TO RUN NCNEST. STOP RUNNING...'
86  CALL pstop
87  END IF
88 
89 
90 
92 
93  !PRINT THE NAME LIST DATA TO THE SCREEN FOR THE LOG
95 
96 
logical serial
Definition: mod_main.f90:100
logical msr
Definition: mod_main.f90:101
logical function dbg_set(vrb)
Definition: mod_utils.f90:182
subroutine name_list_read
Definition: mod_input.f90:544
logical ncnest_on
subroutine name_list_print
Definition: mod_input.f90:512
subroutine name_list_initialize_nest
logical nesting_on
subroutine pstop
Definition: mod_utils.f90:273
subroutine name_list_read_nest
logical blank_namelist
Definition: mod_main.f90:120
subroutine pshutdown
Definition: mod_utils.f90:280
subroutine name_list_initialize
Definition: mod_input.f90:216
integer, parameter dbg_log
Definition: mod_utils.f90:65
Here is the call graph for this function:
Here is the caller graph for this function: