![]() |
MODFLOW 6
version 6.9.0.dev0
USGS Modular Hydrologic Model
|
Period block keystring-based input loader. More...
Data Types | |
| type | keystringloadtype |
| Keystring period block loader. More... | |
Functions/Subroutines | |
| subroutine | ainit (this, mf6_input, component_name, component_input_name, input_name, iperblock, parser, iout) |
| subroutine | df (this) |
| subroutine | ts_advance (this) |
| subroutine | rp (this, parser) |
| subroutine | reset (this) |
| subroutine | destroy (this) |
| integer(i4b) function | resolve_nfeatures (this) |
| Resolve the permanent array's feature count: ctxmaxbound divided by the keystring member count, reversing the nodes*nmembers/DIMENSIONS-based scaling LoadContext applies. More... | |
| type(inputparamdefinitiontype) function, pointer | resolve_in_scope_setting (this, icol) |
| Return idt for param_names(icol) if it's an in-scope PERIOD setting (STRING type with TIME_SERIES TRUE), else a disassociated pointer. More... | |
| subroutine | allocate_permanent_array (this, idt, nfeatures, init_value) |
| Allocate idt's permanent array with init_value, unless already allocated. More... | |
| subroutine | apply_setting_value (this, idt, period_val, i, address, featarr) |
| Resolve token (row i of period_val) as a literal or TS name directly against featarr(address). More... | |
| subroutine | allocate_period_settings (this) |
| Allocate permanent, feature-indexed storage for every in-scope PERIOD setting, keyed by the field's public tag (e.g. CONCENTRATION). More... | |
| subroutine | apply_period_settings (this) |
| Apply PERIOD settings (SPC) to their permanent, feature-indexed arrays. More... | |
| subroutine | allocate_period_node_settings (this) |
| Allocate permanent, node-indexed storage for every PERIOD setting in scope, for CELLID-addressed packages (TVK/TVS) More... | |
| subroutine | apply_period_node_settings (this) |
| Apply PERIOD settings to their permanent, node-indexed arrays, for CELLID-addressed packages (TVK/TVS) More... | |
| subroutine | create_structarray (this) |
Each keystring member maps to a typed column in a StructArrayType. A dispatch keyword on each input row selects the target column.
Simple dispatch: keyword matches a DOUBLE/STRING/INTEGER column; one value token is read into that column.
Compound dispatch: keyword matches a KEYWORD-type column (e.g. FLOWING_WELL). The keyword token is stored directly; subsequent non-KEYWORD sub-member columns are read in order.
|
private |
Definition at line 68 of file Mf6FileKeystring.f90.

| subroutine mf6filekeystringmodule::allocate_period_node_settings | ( | class(keystringloadtype), intent(inout) | this | ) |
Sized by ctxnodes (product(MSHAPE), the unreduced node count). DNODATA marks "never set" so the package knows which nodes to copy into its own target array (e.g. NPF's K11) at the reduced node number.
Definition at line 420 of file Mf6FileKeystring.f90.
|
private |
Definition at line 333 of file Mf6FileKeystring.f90.
| subroutine mf6filekeystringmodule::allocate_permanent_array | ( | class(keystringloadtype), intent(inout) | this, |
| type(inputparamdefinitiontype), intent(in) | idt, | ||
| integer(i4b), intent(in) | nfeatures, | ||
| real(dp), intent(in) | init_value | ||
| ) |
Definition at line 291 of file Mf6FileKeystring.f90.
|
private |
Mirrors apply_period_settings, but addresses by the unreduced node number (nodeu) computed from CELLID via MSHAPE. The reduced-node lookup stays package-side, where the real dis object is available.
Definition at line 443 of file Mf6FileKeystring.f90.

|
private |
Resolves each token (literal or TS name) directly against the permanent, BNDNO-addressed array, so a later period that doesn't repeat the setting leaves the prior value untouched.
Definition at line 355 of file Mf6FileKeystring.f90.

| subroutine mf6filekeystringmodule::apply_setting_value | ( | class(keystringloadtype), intent(inout) | this, |
| type(inputparamdefinitiontype), intent(in) | idt, | ||
| type(characterstringtype), dimension(:), intent(in), pointer, contiguous | period_val, | ||
| integer(i4b), intent(in) | i, | ||
| integer(i4b), intent(in) | address, | ||
| real(dp), dimension(:), intent(inout), pointer, contiguous | featarr | ||
| ) |
| subroutine mf6filekeystringmodule::create_structarray | ( | class(keystringloadtype), intent(inout) | this | ) |
Definition at line 496 of file Mf6FileKeystring.f90.

| subroutine mf6filekeystringmodule::destroy | ( | class(keystringloadtype), intent(inout) | this | ) |
| subroutine mf6filekeystringmodule::df | ( | class(keystringloadtype), intent(inout) | this | ) |
Definition at line 149 of file Mf6FileKeystring.f90.
| subroutine mf6filekeystringmodule::reset | ( | class(keystringloadtype), intent(inout) | this | ) |
Definition at line 208 of file Mf6FileKeystring.f90.
|
private |
|
private |
Definition at line 257 of file Mf6FileKeystring.f90.
|
private |
Definition at line 180 of file Mf6FileKeystring.f90.

| subroutine mf6filekeystringmodule::ts_advance | ( | class(keystringloadtype), intent(inout) | this | ) |
Definition at line 175 of file Mf6FileKeystring.f90.