304 class(LayerArrayLoadType),
intent(inout) :: this
305 type(BlockParserType),
intent(in) :: parser
306 type(InputParamDefinitionType),
intent(in) :: idt
307 character(len=*),
intent(in) :: mempath
308 logical(LGP),
intent(in) :: netcdf
309 integer(I4B),
intent(in) :: iaux
310 integer(I4B),
dimension(:),
pointer,
contiguous :: int1d
311 real(DP),
dimension(:),
pointer,
contiguous :: dbl1d
312 real(DP),
dimension(:, :),
pointer,
contiguous :: dbl2d
313 integer(I4B) :: iparam, n
315 select case (idt%datatype)
317 call mem_setptr(int1d, idt%mf6varname, mempath)
320 this%mf6_input, this%nc_vars, this%input_name, &
323 call read_int1d(parser, int1d, idt%mf6varname)
325 call idm_log_var(int1d, idt%tagname, mempath, this%iout)
327 call mem_setptr(dbl1d, idt%mf6varname, mempath)
330 this%mf6_input, this%nc_vars, this%input_name, &
333 call read_dbl1d(parser, dbl1d, idt%mf6varname)
335 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
337 call mem_setptr(dbl2d, idt%mf6varname, mempath)
338 allocate (dbl1d(this%ctx%ncpl))
341 this%mf6_input, this%nc_vars, this%input_name, &
342 this%iout,
kper, iaux)
344 call read_dbl1d(parser, dbl1d, idt%mf6varname)
346 do n = 1, this%ctx%ncpl
347 dbl2d(iaux, n) = dbl1d(n)
349 call idm_log_var(dbl1d, idt%tagname, mempath, this%iout)
352 errmsg =
'IDM unimplemented. LayerArrayLoad::param_load &
353 &datatype='//trim(idt%datatype)
354 call store_error(errmsg)
355 call store_error_filename(this%input_name)
359 iparam =
ifind(this%param_names, idt%tagname)
361 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