! ** Do Not Modify! MODFLOW 6 system generated file. **
module GwtNamInputModule
  use ConstantsModule, only: LENVARNAME
  use InputDefinitionModule, only: InputParamDefinitionType, &
                                   InputBlockDefinitionType
  private
  public gwt_nam_param_definitions
  public gwt_nam_aggregate_definitions
  public gwt_nam_block_definitions
  public GwtNamParamFoundType
  public gwt_nam_multi_package
  public gwt_nam_subpackages

  type GwtNamParamFoundType
    logical :: list = .false.
    logical :: print_input = .false.
    logical :: print_flows = .false.
    logical :: save_flows = .false.
    logical :: idv_scale = .false.
    logical :: ncmesh2drec = .false.
    logical :: netcdf_mesh2d = .false.
    logical :: ncstructrec = .false.
    logical :: netcdf_struct = .false.
    logical :: fileout = .false.
    logical :: ncmesh2dfile = .false.
    logical :: ncstructfile = .false.
    logical :: nc_filerecord = .false.
    logical :: netcdf = .false.
    logical :: filein = .false.
    logical :: netcdf_fname = .false.
    logical :: ftype = .false.
    logical :: fname = .false.
    logical :: pname = .false.
  end type GwtNamParamFoundType

  logical :: gwt_nam_multi_package = .false.

  character(len=16), parameter :: &
    gwt_nam_subpackages(*) = &
    [ &
    '                ' &
    ]

  type(InputParamDefinitionType), parameter :: &
    gwtnam_list = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'LIST', & ! tag name
    'LIST', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'name of listing file', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .true., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_print_input = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'PRINT_INPUT', & ! tag name
    'PRINT_INPUT', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'print input to listing file', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_print_flows = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'PRINT_FLOWS', & ! tag name
    'PRINT_FLOWS', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'print calculated flows to listing file', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_save_flows = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'SAVE_FLOWS', & ! tag name
    'SAVE_FLOWS', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'save flows for all packages to budget file', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_idv_scale = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'DEPENDENT_VARIABLE_SCALING', & ! tag name
    'IDV_SCALE', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'flag to scale X and RHS', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_ncmesh2drec = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NC_MESH2D_FILERECORD', & ! tag name
    'NCMESH2DREC', & ! fortran variable
    'RECORD NETCDF_MESH2D FILEOUT NCMESH2DFILE', & ! type
    '', & ! shape
    '', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_netcdf_mesh2d = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NETCDF_MESH2D', & ! tag name
    'NETCDF_MESH2D', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'budget keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_ncstructrec = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NC_STRUCTURED_FILERECORD', & ! tag name
    'NCSTRUCTREC', & ! fortran variable
    'RECORD NETCDF_STRUCTURED FILEOUT NCSTRUCTFILE', & ! type
    '', & ! shape
    '', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_netcdf_struct = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NETCDF_STRUCTURED', & ! tag name
    'NETCDF_STRUCT', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'budget keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_fileout = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'FILEOUT', & ! tag name
    'FILEOUT', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'file keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_ncmesh2dfile = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NCMESH2DFILE', & ! tag name
    'NCMESH2DFILE', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'file keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .true., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_ncstructfile = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NCSTRUCTFILE', & ! tag name
    'NCSTRUCTFILE', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'file keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .true., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_nc_filerecord = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NC_FILERECORD', & ! tag name
    'NC_FILERECORD', & ! fortran variable
    'RECORD NETCDF FILEIN NETCDF_FILENAME', & ! type
    '', & ! shape
    '', & ! longname
    .false., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_netcdf = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NETCDF', & ! tag name
    'NETCDF', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'netcdf keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_filein = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'FILEIN', & ! tag name
    'FILEIN', & ! fortran variable
    'KEYWORD', & ! type
    '', & ! shape
    'file keyword', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_netcdf_fname = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'OPTIONS', & ! block
    'NETCDF_FILENAME', & ! tag name
    'NETCDF_FNAME', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'netcdf input filename', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .true., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_ftype = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'PACKAGES', & ! block
    'FTYPE', & ! tag name
    'FTYPE', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'package type', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_fname = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'PACKAGES', & ! block
    'FNAME', & ! tag name
    'FNAME', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'file name', & ! longname
    .true., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .true., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwtnam_pname = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'PACKAGES', & ! block
    'PNAME', & ! tag name
    'PNAME', & ! fortran variable
    'STRING', & ! type
    '', & ! shape
    'user name for package', & ! longname
    .false., & ! required
    .false., & ! developmode
    .true., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwt_nam_param_definitions(*) = &
    [ &
    gwtnam_list, &
    gwtnam_print_input, &
    gwtnam_print_flows, &
    gwtnam_save_flows, &
    gwtnam_idv_scale, &
    gwtnam_ncmesh2drec, &
    gwtnam_netcdf_mesh2d, &
    gwtnam_ncstructrec, &
    gwtnam_netcdf_struct, &
    gwtnam_fileout, &
    gwtnam_ncmesh2dfile, &
    gwtnam_ncstructfile, &
    gwtnam_nc_filerecord, &
    gwtnam_netcdf, &
    gwtnam_filein, &
    gwtnam_netcdf_fname, &
    gwtnam_ftype, &
    gwtnam_fname, &
    gwtnam_pname &
    ]

  type(InputParamDefinitionType), parameter :: &
    gwtnam_packages = InputParamDefinitionType &
    ( &
    'GWT', & ! component
    'NAM', & ! subcomponent
    'PACKAGES', & ! block
    'PACKAGES', & ! tag name
    'PACKAGES', & ! fortran variable
    'RECARRAY FTYPE FNAME PNAME', & ! type
    '', & ! shape
    'package list', & ! longname
    .true., & ! required
    .false., & ! developmode
    .false., & ! multi-record
    .false., & ! preserve case
    .false., & ! layered
    .false. & ! timeseries
    )

  type(InputParamDefinitionType), parameter :: &
    gwt_nam_aggregate_definitions(*) = &
    [ &
    gwtnam_packages &
    ]

  type(InputBlockDefinitionType), parameter :: &
    gwt_nam_block_definitions(*) = &
    [ &
    InputBlockDefinitionType( &
    'OPTIONS', & ! blockname
    .false., & ! required
    .false., & ! aggregate
    .false. & ! block_variable
    ), &
    InputBlockDefinitionType( &
    'PACKAGES', & ! blockname
    .true., & ! required
    .true., & ! aggregate
    .false. & ! block_variable
    ) &
    ]

end module GwtNamInputModule
