Channel Flow (OLF) Module.
|
integer(i4b), parameter, public | olf_nbasepkg = 7 |
| OLF base package array descriptors. More...
|
|
character(len=lenpackagetype), dimension(olf_nbasepkg), public | olf_basepkg = ['DIS2D6 ', 'DISV2D6', 'DFW6 ', 'OC6 ', 'IC6 ', 'OBS6 ', 'STO6 '] |
| candidates for input and these will be loaded in the order specified. More...
|
|
integer(i4b), parameter, public | olf_nmultipkg = 50 |
| OLF multi package array descriptors. More...
|
|
character(len=lenpackagetype), dimension(olf_nmultipkg), public | olf_multipkg |
|
integer(i4b), parameter | niunit_olf = OLF_NBASEPKG + OLF_NMULTIPKG |
|
◆ log_namfile_options()
Definition at line 130 of file olf.f90.
132 class(OlfModelType) :: this
133 type(OlfNamParamFoundType),
intent(in) :: found
135 write (this%iout,
'(1x,a)')
'BEGIN NAMEFILE OPTIONS'
137 if (found%print_input)
then
138 write (this%iout,
'(4x,a)')
'STRESS PACKAGE INPUT WILL BE PRINTED '// &
139 'FOR ALL MODEL STRESS PACKAGES'
142 if (found%print_flows)
then
143 write (this%iout,
'(4x,a)')
'PACKAGE FLOWS WILL BE PRINTED '// &
144 'FOR ALL MODEL PACKAGES'
147 if (found%save_flows)
then
148 write (this%iout,
'(4x,a)') &
149 'FLOWS WILL BE SAVED TO BUDGET FILE SPECIFIED IN OUTPUT CONTROL'
152 write (this%iout,
'(1x,a)')
'END NAMEFILE OPTIONS'
◆ olf_cr()
subroutine, public olfmodule::olf_cr |
( |
character(len=*), intent(in) |
filename, |
|
|
integer(i4b), intent(in) |
id, |
|
|
character(len=*), intent(in) |
modelname |
|
) |
| |
- Parameters
-
[in] | filename | input file |
[in] | id | consecutive model number listed in mfsim.nam |
[in] | modelname | name of the model |
Definition at line 54 of file olf.f90.
57 character(len=*),
intent(in) :: filename
58 integer(I4B),
intent(in) :: id
59 character(len=*),
intent(in) :: modelname
61 class(OlfModelType),
pointer :: this
62 class(BaseModelType),
pointer :: model
67 call addbasemodeltolist(basemodellist, model)
70 call this%initialize(
'OLF', filename, id, modelname)
73 call this%set_namfile_options()
76 call budget_cr(this%budget, this%name)
79 call this%create_packages()
◆ set_namfile_options()
subroutine olfmodule::set_namfile_options |
( |
class(olfmodeltype) |
this | ) |
|
|
private |
Set pointers to IDM namefile options, then create the list file and log options.
Definition at line 88 of file olf.f90.
93 class(OlfModelType) :: this
94 type(OlfNamParamFoundType) :: found
95 character(len=LENMEMPATH) :: input_mempath
96 character(len=LINELENGTH) :: lst_fname
102 call mem_set_value(lst_fname,
'LIST', input_mempath, found%list)
103 call mem_set_value(this%inewton,
'NEWTON', input_mempath, found%newton)
104 call mem_set_value(this%inewtonur,
'UNDER_RELAXATION', input_mempath, &
105 found%under_relaxation)
106 call mem_set_value(this%iprpak,
'PRINT_INPUT', input_mempath, &
108 call mem_set_value(this%iprflow,
'PRINT_FLOWS', input_mempath, &
110 call mem_set_value(this%ipakcb,
'SAVE_FLOWS', input_mempath, found%save_flows)
113 call this%create_lstfile(lst_fname, this%filename, found%list, &
114 'CHANNEL FLOW MODEL (OLF)')
117 if (found%save_flows)
then
122 if (this%iout > 0)
then
123 call this%log_namfile_options(found)
character(len=lenmempath) function create_mem_path(component, subcomponent, context)
returns the path to the memory object
This module contains simulation variables.
character(len=linelength) idm_context
◆ niunit_olf
integer(i4b), parameter olfmodule::niunit_olf = OLF_NBASEPKG + OLF_NMULTIPKG |
|
private |
Definition at line 48 of file olf.f90.
48 integer(I4B),
parameter :: NIUNIT_OLF = olf_nbasepkg + olf_nmultipkg
◆ olf_basepkg
character(len=lenpackagetype), dimension(olf_nbasepkg), public olfmodule::olf_basepkg = ['DIS2D6 ', 'DISV2D6', 'DFW6 ', 'OC6 ', 'IC6 ', 'OBS6 ', 'STO6 '] |
Definition at line 33 of file olf.f90.
33 character(len=LENPACKAGETYPE),
dimension(OLF_NBASEPKG) :: &
34 OLF_BASEPKG = [
'DIS2D6 ',
'DISV2D6',
'DFW6 ', &
35 'OC6 ',
'IC6 ',
'OBS6 ', &
◆ olf_multipkg
character(len=lenpackagetype), dimension(olf_nmultipkg), public olfmodule::olf_multipkg |
Definition at line 43 of file olf.f90.
43 character(len=LENPACKAGETYPE),
dimension(OLF_NMULTIPKG) :: OLF_MULTIPKG
◆ olf_nbasepkg
integer(i4b), parameter, public olfmodule::olf_nbasepkg = 7 |
OLF model base package types. Only listed packages are candidates
Definition at line 32 of file olf.f90.
32 integer(I4B),
parameter :: OLF_NBASEPKG = 7
◆ olf_nmultipkg
integer(i4b), parameter, public olfmodule::olf_nmultipkg = 50 |
OLF model multi-instance package types. Only listed packages are
Definition at line 42 of file olf.f90.
42 integer(I4B),
parameter :: OLF_NMULTIPKG = 50