357 class(BoundGridInputType),
intent(inout) :: this
358 type(BlockParserType),
intent(in) :: parser
359 type(InputParamDefinitionType),
intent(in) :: idt
360 character(len=*),
intent(in) :: mempath
361 logical(LGP),
intent(in) :: netcdf
362 integer(I4B),
intent(in) :: iaux
364 integer(I4B),
dimension(:),
pointer,
contiguous :: int1d
365 real(DP),
dimension(:),
pointer,
contiguous :: dbl1d
366 real(DP),
dimension(:, :),
pointer,
contiguous :: dbl2d
367 integer(I4B) :: iparam, n
369 select case (idt%datatype)
372 call mem_setptr(int1d, idt%mf6varname, mempath)
375 this%mf6_input, this%nc_vars, this%input_name, &
378 call read_int1d(parser, int1d, idt%mf6varname)
380 call idm_log_var(int1d, idt%tagname, mempath, this%iout)
384 call mem_setptr(dbl1d, idt%mf6varname, mempath)
387 this%mf6_input, this%nc_vars, this%input_name, &
390 call read_dbl1d(parser, dbl1d, idt%mf6varname)
392 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
396 call mem_setptr(dbl2d, idt%mf6varname, mempath)
397 allocate (dbl1d(this%bound_context%ncpl))
400 this%mf6_input, this%nc_vars, this%input_name, &
401 this%iout,
kper, iaux)
403 call read_dbl1d(parser, dbl1d, idt%mf6varname)
405 do n = 1, this%bound_context%ncpl
406 dbl2d(iaux, n) = dbl1d(n)
408 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
413 errmsg =
'IDM unimplemented. Mf6FileGridInput::param_load &
414 &datatype='//trim(idt%datatype)
415 call store_error(errmsg)
416 call store_error_filename(this%input_name)
421 iparam =
ifind(this%param_names, idt%tagname)
423 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