MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
ncmodelexportmodule::exportpackagetype Type Reference
Collaboration diagram for ncmodelexportmodule::exportpackagetype:
Collaboration graph

Public Member Functions

procedure init (this, mf6_input, mshape, naux, param_names, nparam)
 initialize dynamic package export object
procedure destroy (this)
 destroy dynamic package export object
procedure update_state (this)
 Update input in effect from the period block read states.
procedure param_state (this, iparam)
 .true. if a param has input in effect to export
procedure aux_state (this, iaux)
 .true. if an auxiliary variable has input in effect to export
procedure user_nodes (this, vals, nodes)
 Set user node values from a loaded period array.

Public Attributes

type(modflowinputtype) mf6_input
 description of modflow6 input
character(len=linelength), dimension(:), allocatable param_names
 dynamic param tagnames
type(readstatevartype), dimension(:), allocatable param_reads
 param read states
integer(i4b), dimension(:, :), allocatable varids_param
integer(i4b), dimension(:, :), allocatable varids_aux
integer(i4b), dimension(:), pointer, contiguous mshape => null()
 model shape
integer(i4b), pointer iper
 most recent package rp load
integer(i4b) eper
 most recent period of netcdf package export
integer(i4b) nparam
 number of in scope params
integer(i4b) naux
 number of auxiliary variables
integer(i4b), dimension(:), pointer, contiguous aux_reads => null()
 read state of each auxiliary variable
logical(lgp), dimension(:), allocatable param_value
 param has input in effect
logical(lgp), dimension(:), allocatable aux_value
 aux has input in effect

Detailed Description

Definition at line 42 of file NCModel.f90.

Member Function/Subroutine Documentation

◆ aux_state()

procedure ncmodelexportmodule::exportpackagetype::aux_state ( class(exportpackagetype), intent(in) this,
integer(i4b), intent(in) iaux )

Definition at line 62 of file NCModel.f90.

◆ destroy()

procedure ncmodelexportmodule::exportpackagetype::destroy ( class(exportpackagetype), intent(inout) this)

Definition at line 59 of file NCModel.f90.

◆ init()

procedure ncmodelexportmodule::exportpackagetype::init ( class(exportpackagetype), intent(inout) this,
type(modflowinputtype), intent(in) mf6_input,
integer(i4b), dimension(:), intent(in), pointer, contiguous mshape,
integer(i4b), intent(in) naux,
character(len=linelength), dimension(:), intent(in), allocatable param_names,
integer(i4b), intent(in) nparam )
Parameters
[in]mshapemodel shape

Definition at line 58 of file NCModel.f90.

◆ param_state()

procedure ncmodelexportmodule::exportpackagetype::param_state ( class(exportpackagetype), intent(in) this,
integer(i4b), intent(in) iparam )

The auxiliary variable param has input if any auxiliary variable has.

Definition at line 61 of file NCModel.f90.

◆ update_state()

procedure ncmodelexportmodule::exportpackagetype::update_state ( class(exportpackagetype), intent(inout) this)

A block gives an array as values or as a time-array series. Arrays not given keep their input. An array linked to a series has no input to export, and none after the link until it is given values.

Definition at line 60 of file NCModel.f90.

◆ user_nodes()

procedure ncmodelexportmodule::exportpackagetype::user_nodes ( class(exportpackagetype), intent(in) this,
real(dp), dimension(:), intent(in) vals,
real(dp), dimension(:), intent(inout) nodes )

Grid array input is indexed by boundary (NODEULIST, NBOUND), or by user node when NODEULIST is empty. Other user nodes keep their value in nodes.

Parameters
[in]valsloaded period array
[in,out]nodesuser node values

Definition at line 63 of file NCModel.f90.

Member Data Documentation

◆ aux_reads

integer(i4b), dimension(:), pointer, contiguous ncmodelexportmodule::exportpackagetype::aux_reads => null()

Definition at line 53 of file NCModel.f90.

◆ aux_value

logical(lgp), dimension(:), allocatable ncmodelexportmodule::exportpackagetype::aux_value

Definition at line 56 of file NCModel.f90.

56 logical(LGP), dimension(:), allocatable :: aux_value !< aux has input in effect

◆ eper

integer(i4b) ncmodelexportmodule::exportpackagetype::eper

Definition at line 50 of file NCModel.f90.

50 integer(I4B) :: eper !< most recent period of netcdf package export

◆ iper

integer(i4b), pointer ncmodelexportmodule::exportpackagetype::iper

Definition at line 49 of file NCModel.f90.

49 integer(I4B), pointer :: iper !< most recent package rp load

◆ mf6_input

type(modflowinputtype) ncmodelexportmodule::exportpackagetype::mf6_input

Definition at line 43 of file NCModel.f90.

43 type(ModflowInputType) :: mf6_input !< description of modflow6 input

◆ mshape

integer(i4b), dimension(:), pointer, contiguous ncmodelexportmodule::exportpackagetype::mshape => null()

Definition at line 48 of file NCModel.f90.

◆ naux

integer(i4b) ncmodelexportmodule::exportpackagetype::naux

Definition at line 52 of file NCModel.f90.

52 integer(I4B) :: naux !< number of auxiliary variables

◆ nparam

integer(i4b) ncmodelexportmodule::exportpackagetype::nparam

Definition at line 51 of file NCModel.f90.

51 integer(I4B) :: nparam !< number of in scope params

◆ param_names

character(len=linelength), dimension(:), allocatable ncmodelexportmodule::exportpackagetype::param_names

Definition at line 44 of file NCModel.f90.

44 character(len=LINELENGTH), dimension(:), allocatable :: param_names !< dynamic param tagnames

◆ param_reads

type(readstatevartype), dimension(:), allocatable ncmodelexportmodule::exportpackagetype::param_reads

Definition at line 45 of file NCModel.f90.

45 type(ReadStateVarType), dimension(:), allocatable :: param_reads !< param read states

◆ param_value

logical(lgp), dimension(:), allocatable ncmodelexportmodule::exportpackagetype::param_value

Definition at line 55 of file NCModel.f90.

55 logical(LGP), dimension(:), allocatable :: param_value !< param has input in effect

◆ varids_aux

integer(i4b), dimension(:, :), allocatable ncmodelexportmodule::exportpackagetype::varids_aux

Definition at line 47 of file NCModel.f90.

47 integer(I4B), dimension(:, :), allocatable :: varids_aux

◆ varids_param

integer(i4b), dimension(:, :), allocatable ncmodelexportmodule::exportpackagetype::varids_param

Definition at line 46 of file NCModel.f90.

46 integer(I4B), dimension(:, :), allocatable :: varids_param

The documentation for this type was generated from the following file:
  • /home/runner/work/modflow6/modflow6/src/Utilities/Export/NCModel.f90