![]() |
MODFLOW 6
version 6.8.0.dev0
USGS Modular Hydrologic Model
|
This module contains the InputLoadTypeModule. More...
Data Types | |
| type | subpackagelisttype |
| type representing package subpackage list More... | |
| type | staticpkgloadtype |
| Static loader type. More... | |
| type | staticpkgloadbasetype |
| Base abstract type for static input loader. More... | |
| type | dynamicpkgloadtype |
| Dynamic loader type. More... | |
| type | dynamicpkgloadbasetype |
| Base abstract type for dynamic input loader. More... | |
| interface | load_if |
| load interfaces for source static and dynamic types More... | |
| interface | period_load_if |
| type | modeldynamicpkgstype |
| type for storing a dynamic package load list More... | |
Functions/Subroutines | |
| subroutine | subpkg_create (this, component_type, component_name) |
| initialize a SubPackageListType object More... | |
| subroutine | subpkg_add (this, pkgtype, component_type, subcomponent_type, filename) |
| append one subpackage file instance to the list More... | |
| subroutine | subpkg_names (this, parent_sctype, parent_scname, parent_mempath, modelfname) |
| Assign subpackage names and mempaths for IDM-integrated subpackages. More... | |
| character(len=lenvarname) function | build_subpkg_prefix (component_type, component_name, parent_sctype, parent_scname, modelfname) |
| Build the subpackage name prefix for the given parent package. More... | |
| subroutine | deduplicate_pkgtypes (pkgtypes, subptypes, nsubptypes) |
| Deduplicate pkgtypes into unique entries with counts (run-length encoding). More... | |
| subroutine | subpkg_destroy (this) |
| destroy a SubPackageListType object More... | |
| subroutine | static_init (this, mf6_input, component_name, component_input_name, input_name) |
| initialize static package loader More... | |
| subroutine | create_subpkg_list (this) |
| create the subpackage list More... | |
| subroutine | static_destroy (this) |
| subroutine | dynamic_init (this, mf6_input, component_name, component_input_name, input_name, iperblock, iout) |
| initialize dynamic package loader More... | |
| subroutine | dynamic_df (this) |
| dynamic package loader define More... | |
| subroutine | dynamic_ad (this) |
| dynamic package loader advance More... | |
| subroutine | dynamic_destroy (this) |
| dynamic package loader destroy More... | |
| subroutine | dynamicpkgs_init (this, modeltype, modelname, modelfname, nc_fname, ncid, iout) |
| model dynamic packages init More... | |
| subroutine | dynamicpkgs_add (this, dynamic_pkg) |
| add package to model dynamic packages list More... | |
| class(dynamicpkgloadbasetype) function, pointer | dynamicpkgs_get (this, idx) |
| retrieve package from model dynamic packages list More... | |
| subroutine | dynamicpkgs_rp (this) |
| read and prepare model dynamic packages More... | |
| subroutine | dynamicpkgs_df (this) |
| define model dynamic packages More... | |
| subroutine | dynamicpkgs_ad (this) |
| advance model dynamic packages More... | |
| integer(i4b) function | dynamicpkgs_size (this) |
| get size of model dynamic packages list More... | |
| subroutine | dynamicpkgs_destroy (this) |
| destroy model dynamic packages object More... | |
| subroutine, public | adddynamicmodeltolist (list, model_dynamic) |
| add model dynamic packages object to list More... | |
| class(modeldynamicpkgstype) function, pointer, public | getdynamicmodelfromlist (list, idx) |
| get model dynamic packages object from list More... | |
Variables | |
| type(listtype), public | model_inputs |
This module defines types that support generic IDM static and dynamic input loading.
| subroutine, public inputloadtypemodule::adddynamicmodeltolist | ( | type(listtype), intent(inout) | list, |
| class(modeldynamicpkgstype), intent(inout), pointer | model_dynamic | ||
| ) |
| [in,out] | list | package list |
Definition at line 725 of file InputLoadType.f90.

| character(len=lenvarname) function inputloadtypemodule::build_subpkg_prefix | ( | character(len=*), intent(in) | component_type, |
| character(len=*), intent(in) | component_name, | ||
| character(len=*), intent(in) | parent_sctype, | ||
| character(len=*), intent(in) | parent_scname, | ||
| character(len=*), intent(in) | modelfname | ||
| ) |
For single-instance parents (e.g. NPF), prefix is '<TYPE>-'. For multi-instance parents (e.g. WEL), prefix includes the instance number: '<TYPE><N>-' (e.g. 'WEL1-'). EXG packages return ''.
Definition at line 275 of file InputLoadType.f90.


|
private |
Definition at line 431 of file InputLoadType.f90.

| subroutine inputloadtypemodule::deduplicate_pkgtypes | ( | character(len=lencomponentname), dimension(:), intent(in) | pkgtypes, |
| character(len=linelength), dimension(:), intent(out), allocatable | subptypes, | ||
| integer(i4b), dimension(:), intent(out), allocatable | nsubptypes | ||
| ) |
INVARIANT: pkgtypes entries for the same type must be contiguous.
Definition at line 359 of file InputLoadType.f90.

|
private |
Definition at line 578 of file InputLoadType.f90.
|
private |
Definition at line 586 of file InputLoadType.f90.

| subroutine inputloadtypemodule::dynamic_df | ( | class(dynamicpkgloadtype), intent(inout) | this | ) |
Definition at line 570 of file InputLoadType.f90.
|
private |
Any managed memory pointed to from model/package context must be allocated when dynamic loader is initialized.
Definition at line 505 of file InputLoadType.f90.

|
private |
Definition at line 686 of file InputLoadType.f90.
|
private |
Definition at line 628 of file InputLoadType.f90.
|
private |
Definition at line 708 of file InputLoadType.f90.
| subroutine inputloadtypemodule::dynamicpkgs_df | ( | class(modeldynamicpkgstype), intent(inout) | this | ) |
Definition at line 673 of file InputLoadType.f90.
|
private |
Definition at line 639 of file InputLoadType.f90.
| subroutine inputloadtypemodule::dynamicpkgs_init | ( | class(modeldynamicpkgstype), intent(inout) | this, |
| character(len=*), intent(in) | modeltype, | ||
| character(len=*), intent(in) | modelname, | ||
| character(len=*), intent(in) | modelfname, | ||
| character(len=*), intent(in) | nc_fname, | ||
| integer(i4b), intent(in) | ncid, | ||
| integer(i4b), intent(in) | iout | ||
| ) |
Definition at line 608 of file InputLoadType.f90.
|
private |
Definition at line 657 of file InputLoadType.f90.

|
private |
Definition at line 699 of file InputLoadType.f90.
| class(modeldynamicpkgstype) function, pointer, public inputloadtypemodule::getdynamicmodelfromlist | ( | type(listtype), intent(inout) | list, |
| integer(i4b), intent(in) | idx | ||
| ) |
| [in,out] | list | spd list |
| [in] | idx | package number |
Definition at line 736 of file InputLoadType.f90.

| subroutine inputloadtypemodule::static_destroy | ( | class(staticpkgloadtype), intent(inout) | this | ) |
Definition at line 489 of file InputLoadType.f90.
|
private |
Definition at line 400 of file InputLoadType.f90.
|
private |
Definition at line 178 of file InputLoadType.f90.
|
private |
Definition at line 158 of file InputLoadType.f90.
| subroutine inputloadtypemodule::subpkg_destroy | ( | class(subpackagelisttype) | this | ) |
Definition at line 387 of file InputLoadType.f90.
| subroutine inputloadtypemodule::subpkg_names | ( | class(subpackagelisttype) | this, |
| character(len=*), intent(in) | parent_sctype, | ||
| character(len=*), intent(in) | parent_scname, | ||
| character(len=*), intent(in) | parent_mempath, | ||
| character(len=*), intent(in) | modelfname | ||
| ) |
Definition at line 205 of file InputLoadType.f90.

| type(listtype), public inputloadtypemodule::model_inputs |
Definition at line 152 of file InputLoadType.f90.