23 character(len=LINELENGTH),
pointer :: storage => null()
32 subroutine sto_init(this, mf6_input, component_name, component_input_name, &
33 input_name, iperblock, parser, iout)
39 character(len=*),
intent(in) :: component_name
40 character(len=*),
intent(in) :: component_input_name
41 character(len=*),
intent(in) :: input_name
42 integer(I4B),
intent(in) :: iperblock
44 integer(I4B),
intent(in) :: iout
48 call this%DynamicPkgLoadType%init(mf6_input, component_name, &
49 component_input_name, input_name, &
52 call loader%load(parser, mf6_input, this%nc_vars, this%input_name, iout)
58 this%storage =
'TRANSIENT'
67 character(len=LINELENGTH) :: tagname
69 logical(LGP) :: endOfBlock
72 call parser%GetNextLine(endofblock)
75 if (endofblock)
return
78 call parser%GetStringCaps(tagname)
82 this%mf6_input%component_type, &
83 this%mf6_input%subcomponent_type, &
84 'PERIOD', tagname, this%input_name)
86 this%storage = idt%tagname
89 call parser%terminateblock()
93 this%mf6_input%subcomponent_name, this%iout)
95 call idm_log_var(this%storage, tagname, this%mf6_input%mempath, this%iout)
99 this%mf6_input%subcomponent_name, this%iout)
105 call mem_deallocate(this%storage,
'STORAGE', this%mf6_input%mempath)
106 call this%DynamicPkgLoadType%destroy()
This module contains block parser methods.
This module contains simulation constants.
integer(i4b), parameter linelength
maximum length of a standard line
This module contains the DefinitionSelectModule.
type(inputparamdefinitiontype) function, pointer, public get_param_definition_type(input_definition_types, component_type, subcomponent_type, blockname, tagname, filename)
Return parameter definition.
This module contains the Input Data Model Logger Module.
subroutine, public idm_log_close(component, subcomponent, iout)
@ brief log the closing message
subroutine, public idm_log_header(component, subcomponent, iout)
@ brief log a header message
This module defines variable data types.
This module contains the LoadMf6FileModule.
Static parser based input loader.