303 class(BoundGridInputType),
intent(inout) :: this
304 type(BlockParserType),
intent(in) :: parser
305 type(InputParamDefinitionType),
intent(in) :: idt
306 character(len=*),
intent(in) :: mempath
307 logical(LGP),
intent(in) :: netcdf
308 integer(I4B),
intent(in) :: iaux
309 integer(I4B),
dimension(:),
pointer,
contiguous :: int1d
310 real(DP),
dimension(:),
pointer,
contiguous :: dbl1d
311 real(DP),
dimension(:, :),
pointer,
contiguous :: dbl2d
312 integer(I4B) :: iparam, n
314 select case (idt%datatype)
316 call mem_setptr(int1d, idt%mf6varname, mempath)
319 this%mf6_input, this%nc_vars, this%input_name, &
322 call read_int1d(parser, int1d, idt%mf6varname)
324 call idm_log_var(int1d, idt%tagname, mempath, this%iout)
326 call mem_setptr(dbl1d, idt%mf6varname, mempath)
329 this%mf6_input, this%nc_vars, this%input_name, &
332 call read_dbl1d(parser, dbl1d, idt%mf6varname)
334 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
336 call mem_setptr(dbl2d, idt%mf6varname, mempath)
337 allocate (dbl1d(this%bound_context%ncpl))
340 this%mf6_input, this%nc_vars, this%input_name, &
341 this%iout,
kper, iaux)
343 call read_dbl1d(parser, dbl1d, idt%mf6varname)
345 do n = 1, this%bound_context%ncpl
346 dbl2d(iaux, n) = dbl1d(n)
348 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
351 errmsg =
'IDM unimplemented. Mf6FileGridInput::param_load &
352 &datatype='//trim(idt%datatype)
353 call store_error(errmsg)
354 call store_error_filename(this%input_name)
358 iparam =
ifind(this%param_names, idt%tagname)
360 this%param_reads(iparam)%invar = 1
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.
subroutine, public read_dbl1d(parser, dbl1d, aname)
subroutine, public read_dbl2d(parser, dbl2d, aname)
This module contains the Input Data Model Logger Module.
subroutine, public read_int1d(parser, int1d, aname)
integer(i4b), pointer, public kper
current stress period number