90
91 class(ApiType), intent(inout) :: this
92
93 logical(LGP) :: found_iprpak, found_iprflow, found_ipakcb
94 logical(LGP) :: found_boundnames, found_mover
95
96 character(len=*), parameter :: fmtflow2 = &
97 &"(4x, 'FLOWS WILL BE SAVED TO BUDGET FILE SPECIFIED IN OUTPUT CONTROL')"
98
99
100 call mem_set_value(this%iprpak,
'IPRPAK', this%input_mempath, found_iprpak)
101 call mem_set_value(this%iprflow,
'IPRFLOW', this%input_mempath, found_iprflow)
102 call mem_set_value(this%ipakcb,
'IPAKCB', this%input_mempath, found_ipakcb)
103 call mem_set_value(this%inamedbound,
'BOUNDNAMES', this%input_mempath, &
104 found_boundnames)
105 call mem_set_value(this%imover,
'MOVER', this%input_mempath, found_mover)
106
107
108 if (found_ipakcb) this%ipakcb = -1
109
110
111 if (
filein_fname(this%obs%inputFilename,
'OBS6_FILENAME', &
112 this%input_mempath, this%input_fname)) then
113 this%obs%active = .true.
115 call openfile(this%obs%inUnitObs, this%iout, this%obs%inputFilename,
'OBS')
116 end if
117
118
119 write (this%iout, '(/1x,a)') 'PROCESSING '//trim(adjustl(this%text)) &
120 //' OPTIONS'
121 if (found_iprpak) then
122 write (this%iout, '(4x,a)') &
123 'LISTS OF '//trim(adjustl(this%text))//' CELLS WILL BE PRINTED.'
124 end if
125 if (found_iprflow) then
126 write (this%iout, '(4x,a)') trim(adjustl(this%text))// &
127 ' FLOWS WILL BE PRINTED TO LISTING FILE.'
128 end if
129 if (found_ipakcb) write (this%iout, fmtflow2)
130 if (found_boundnames) then
131 write (this%iout, '(4x,a)') trim(adjustl(this%text))// &
132 ' BOUNDARIES HAVE NAMES IN LAST COLUMN.'
133 end if
134 if (found_mover) write (this%iout, '(4x,A)') 'MOVER OPTION ENABLED'
135 write (this%iout, '(1x,a)') &
136 'END OF '//trim(adjustl(this%text))//' OPTIONS'
This module contains the SourceCommonModule.
logical(lgp) function, public filein_fname(filename, tagname, input_mempath, input_fname)
enforce and set a single input filename provided via FILEIN keyword