![]() |
MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
|


Public Member Functions | |
| procedure | dis_df (this) |
| Define the discretization. | |
| procedure | dis_ac (this, moffset, sparse) |
| Add connections to sparse cell connectivity matrix. | |
| procedure | dis_mc (this, moffset, idxglo, matrix_sln) |
| Map cell connections in the numerical solution coefficient matrix. | |
| procedure | dis_ar (this, icelltype) |
| Allocate and setup variables, and write binary grid file. | |
| procedure | dis_da (this) |
| Deallocate variables. | |
| generic | get_nodenumber (this, nodeu, icheck) |
| generic | get_nodenumber (this, k, j, icheck) |
| generic | get_nodenumber (this, k, i, j, icheck) |
| procedure | get_nodenumber_idx1 (this, nodeu, icheck) |
| procedure | get_nodenumber_idx2 (this, k, j, icheck) |
| procedure | get_nodenumber_idx3 (this, k, i, j, icheck) |
| procedure | get_nodeuser (this, noder) |
| Convert a reduced nodenumber to a user node number. | |
| procedure | nodeu_to_string (this, nodeu, str) |
| Convert a user nodenumber to a string (nodenumber), (k,j), or (k,i,j). | |
| procedure | nodeu_to_array (this, nodeu, arr) |
| Convert a user nodenumber to an array (nodenumber), (k,j), or (k,i,j). | |
| procedure | nodeu_from_string (this, lloc, istart, istop, in, iout, line, flag_string, allow_zero) |
| Convert a string to a user nodenumber. | |
| procedure | nodeu_from_cellid (this, cellid, inunit, iout, flag_string, allow_zero) |
| Convert a cellid string to a user nodenumber. | |
| procedure | noder_from_string (this, lloc, istart, istop, in, iout, line, flag_string) |
| Convert a string to a reduced nodenumber. | |
| procedure | noder_from_cellid (this, cellid, inunit, iout, flag_string, allow_zero) |
| Convert cellid string to reduced nodenumber. | |
| procedure | connection_normal (this, noden, nodem, ihc, xcomp, ycomp, zcomp, ipos) |
| Get normal vector components between the cell and a given neighbor. The normal points outward from the shared face between noden and nodem. | |
| procedure | connection_vector (this, noden, nodem, nozee, satn, satm, ihc, xcomp, ycomp, zcomp, conlen) |
| Get unit vector components between the cell and a given neighbor. Saturation must be provided to compute cell center vertical coordinates. Also return the straight-line connection length. | |
| procedure | get_dis_type (this, dis_type) |
| Get the discretization type (DIS, DISV, or DISU). | |
| procedure | get_dis_enum (this) |
| Get the discretization type enumeration. | |
| procedure | supports_layers (this) |
| Indicates whether the grid discretization supports layers. | |
| procedure | allocate_scalars (this, name_model, input_mempath) |
| Allocate and initialize scalar variables. | |
| procedure | allocate_arrays (this) |
| Allocate and initialize arrays. | |
| procedure | get_ncpl (this) |
| Return number of cells per layer. This is nodes for a DISU grid, as there are no layers. | |
| procedure | get_cell_volume (this, n, x) |
| Return volume of cell n based on x value passed. | |
| procedure | get_polyverts (this, ic, polyverts, closed) |
| Get a 2D array of cell polygon vertices, in clockwise order starting with the lower left corner. | |
| procedure | get_npolyverts (this, ic, closed) |
| Get the number of cell polygon vertices. | |
| procedure | get_max_npolyverts (this, closed) |
| Get the maximum number of cell polygon vertices. | |
| procedure | write_grb (this, icelltype) |
| Write a binary grid file. | |
| procedure | read_int_array (this, line, lloc, istart, istop, iout, in, iarray, aname) |
| Read an integer array. | |
| procedure | read_dbl_array (this, line, lloc, istart, istop, iout, in, darray, aname) |
| Read a double precision array. | |
| generic, public | read_grid_array (this, line, lloc, istart, istop, iout, in, iarray, aname) |
| Read an integer array. | |
| generic, public | read_grid_array (this, line, lloc, istart, istop, iout, in, darray, aname) |
| Read a double precision array. | |
| procedure, public | read_layer_array (this, nodelist, darray, ncolbnd, maxbnd, icolbnd, aname, inunit, iout) |
| Read a 2d double array into col icolbnd of darray. | |
| procedure | fill_int_array (this, ibuff1, ibuff2) |
| Fill an integer array. | |
| procedure | fill_dbl_array (this, buff1, buff2) |
| Fill a double precision array. | |
| generic, public | fill_grid_array (this, ibuff1, ibuff2) |
| Fill an integer array. | |
| generic, public | fill_grid_array (this, buff1, buff2) |
| Fill a double precision array. | |
| procedure, public | read_list (this, line_reader, in, iout, iprpak, nlist, inamedbound, iauxmultcol, nodelist, rlist, auxvar, auxname, boundname, label, pkgname, tsmanager, iscloc, indxconvertflux) |
| Read a list using the list reader. | |
| procedure, public | record_array (this, darray, iout, iprint, idataun, aname, cdatafmp, nvaluesp, nwidthp, editdesc, dinact) |
| Record a double precision array. | |
| procedure, public | record_connection_array (this, flowja, ibinun, iout) |
| Record a connection-based double precision array. | |
| procedure, public | noder_to_string (this, noder, str) |
| Convert reduced node number to string (nodenumber), (k,j) or (k,i,j). | |
| procedure, public | noder_to_array (this, noder, arr) |
| Convert reduced node number to array (nodenumber), (k,j) or (k,i,j). | |
| procedure, public | record_srcdst_list_header (this, text, textmodel, textpackage, dstmodel, dstpackage, naux, auxtxt, ibdchn, nlist, iout) |
| Record list header for imeth=6. | |
| generic, public | record_mf6_list_entry (this, ibdchn, noder, noder2, q, naux, aux, olconv, olconv2) |
| Record list header. | |
| procedure, public | nlarray_to_nodelist (this, darray, nodelist, maxbnd, nbound, aname) |
| Convert an integer array to nodelist. | |
| procedure, public | highest_active (this, n, ibound) |
| Find the first highest active cell beneath cell n. | |
| procedure, public | highest_saturated (this, n, sat) |
| Find the first saturated cell beneath cell n. | |
| procedure, public | get_area (this, node) |
| Return the cell area for the given node. | |
| procedure, public | get_area_factor (this, node, idx_conn) |
| Calculate the area factor for the cell connection. | |
| procedure, public | get_flow_width (this, n, m, idx_conn, width_n, width_m) |
| Calculate the flow width between two cells. | |
| procedure, public | is_3d (this) |
| return true if grid is three dimensional | |
| procedure, public | is_2d (this) |
| return true if grid is two dimensional | |
| procedure, public | is_1d (this) |
| return true if grid is one dimensional | |
Public Attributes | |
| character(len=lenmempath) | memorypath |
| path for memory allocation | |
| character(len=lenmempath) | input_mempath = '' |
| input context mempath | |
| character(len=lenmodelname), pointer | name_model => null() |
| name of the model | |
| character(len=linelength), pointer | input_fname => null() |
| input file name | |
| character(len=linelength), pointer | output_fname => null() |
| output file name | |
| integer(i4b), pointer | inunit => null() |
| unit number for input file | |
| integer(i4b), pointer | iout => null() |
| unit number for output file | |
| integer(i4b), pointer | nodes => null() |
| number of nodes in solution | |
| integer(i4b), pointer | nodesuser => null() |
| number of user nodes (same as nodes for disu grid) | |
| integer(i4b), pointer | nja => null() |
| number of connections plus number of nodes | |
| integer(i4b), pointer | njas => null() |
| (nja-nodes)/2 | |
| integer(i4b), pointer | lenuni => null() |
| length unit | |
| integer(i4b), pointer | ndim => null() |
| number of spatial model dimensions (1 for disu grid) | |
| integer(i4b), pointer | icondir => null() |
| flag indicating if grid has enough info to calculate connection vectors | |
| integer(i4b), pointer | nogrb => null() |
| don't write binary grid file | |
| real(dp), dimension(:), pointer, contiguous | xc => null() |
| x-coordinate of the cell center | |
| real(dp), dimension(:), pointer, contiguous | yc => null() |
| y-coordinate of the cell center | |
| real(dp), pointer | yorigin => null() |
| y-position of the lower-left grid corner (default is 0.) | |
| real(dp), pointer | xorigin => null() |
| x-position of the lower-left grid corner (default is 0.) | |
| real(dp), pointer | angrot => null() |
| counter-clockwise rotation angle of the lower-left corner (default is 0.0) | |
| integer(i4b), dimension(:), pointer, contiguous | mshape => null() |
| shape of the model; (nodes) for DisBaseType | |
| real(dp), dimension(:), pointer, contiguous | top => null() |
| (size:nodes) cell top elevation | |
| real(dp), dimension(:), pointer, contiguous | bot => null() |
| (size:nodes) cell bottom elevation | |
| real(dp), dimension(:), pointer, contiguous | area => null() |
| (size:nodes) cell area, in plan view | |
| type(connectionstype), pointer | con => null() |
| connections object | |
| type(blockparsertype) | parser |
| object to read blocks | |
| real(dp), dimension(:), pointer, contiguous | dbuff => null() |
| helper double array of size nodesuser | |
| integer(i4b), dimension(:), pointer, contiguous | ibuff => null() |
| helper int array of size nodesuser | |
| integer(i4b), dimension(:), pointer, contiguous | nodereduced => null() |
| (size:nodesuser)contains reduced nodenumber (size 0 if not reduced); -1 means vertical pass through, 0 is idomain = 0 | |
| integer(i4b), dimension(:), pointer, contiguous | nodeuser => null() |
| (size:nodes) given a reduced nodenumber, provide the user nodenumber (size 0 if not reduced) | |
Private Member Functions | |
| procedure, private | record_srcdst_list_entry (this, ibdchn, noder, noder2, q, naux, aux, olconv, olconv2) |
| Record list header. | |
Definition at line 30 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::allocate_arrays | ( | class(disbasetype) | this | ) |
Definition at line 93 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::allocate_scalars | ( | class(disbasetype) | this, |
| character(len=*), intent(in) | name_model, | ||
| character(len=*), intent(in) | input_mempath ) |
Definition at line 92 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::connection_normal | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | noden, | ||
| integer(i4b), intent(in) | nodem, | ||
| integer(i4b), intent(in) | ihc, | ||
| real(dp), intent(inout) | xcomp, | ||
| real(dp), intent(inout) | ycomp, | ||
| real(dp), intent(inout) | zcomp, | ||
| integer(i4b), intent(in) | ipos ) |
| [in] | noden | cell (reduced nn) |
| [in] | nodem | neighbor (reduced nn) |
| [in] | ihc | horizontal connection flag |
Definition at line 87 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::connection_vector | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | noden, | ||
| integer(i4b), intent(in) | nodem, | ||
| logical, intent(in) | nozee, | ||
| real(dp), intent(in) | satn, | ||
| real(dp), intent(in) | satm, | ||
| integer(i4b), intent(in) | ihc, | ||
| real(dp), intent(inout) | xcomp, | ||
| real(dp), intent(inout) | ycomp, | ||
| real(dp), intent(inout) | zcomp, | ||
| real(dp), intent(inout) | conlen ) |
| [in] | noden | cell (reduced nn) |
| [in] | nodem | neighbor (reduced nn) |
| [in] | ihc | horizontal connection flag |
Definition at line 88 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::dis_ac | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| type(sparsematrix), intent(inout) | sparse ) |
Definition at line 63 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::dis_ar | ( | class(disbasetype) | this, |
| integer(i4b), dimension(:), intent(in) | icelltype ) |
Definition at line 65 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::dis_da | ( | class(disbasetype) | this | ) |
Definition at line 66 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::dis_df | ( | class(disbasetype) | this | ) |
Definition at line 62 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::dis_mc | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | moffset, | ||
| integer(i4b), dimension(:), intent(inout) | idxglo, | ||
| class(matrixbasetype), pointer | matrix_sln ) |
Definition at line 64 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::fill_dbl_array | ( | class(disbasetype), intent(inout) | this, |
| real(dp), dimension(:), intent(in), pointer, contiguous | buff1, | ||
| real(dp), dimension(:), intent(inout), pointer, contiguous | buff2 ) |
Definition at line 106 of file DiscretizationBase.f90.
| generic, public basedismodule::disbasetype::fill_grid_array | ( | class(disbasetype), intent(inout) | this, |
| real(dp), dimension(:), intent(in), pointer, contiguous | buff1, | ||
| real(dp), dimension(:), intent(inout), pointer, contiguous | buff2 ) |
Definition at line 107 of file DiscretizationBase.f90.
| generic, public basedismodule::disbasetype::fill_grid_array | ( | class(disbasetype), intent(inout) | this, |
| integer(i4b), dimension(:), intent(in), pointer, contiguous | ibuff1, | ||
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | ibuff2 ) |
| procedure basedismodule::disbasetype::fill_int_array | ( | class(disbasetype), intent(inout) | this, |
| integer(i4b), dimension(:), intent(in), pointer, contiguous | ibuff1, | ||
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | ibuff2 ) |
Definition at line 105 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::get_area | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | node ) |
| [in] | node | reduced node number |
Definition at line 120 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::get_area_factor | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | node, | ||
| integer(i4b), intent(in) | idx_conn ) |
Function calculates the area factor for the cell connection. The sum of all area factors for all cell connections to overlying or underlying cells cells will be 1.
TODO: confirm that this works for cells that are only partially covered by overlying or underlying cells.
| [in] | node | cell node number |
| [in] | idx_conn | connection index |
Definition at line 121 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_cell_volume | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | n, | ||
| real(dp), intent(in) | x ) |
Definition at line 95 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_dis_enum | ( | class(disbasetype), intent(in) | this | ) |
Definition at line 90 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_dis_type | ( | class(disbasetype), intent(in) | this, |
| character(len=*), intent(out) | dis_type ) |
Definition at line 89 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::get_flow_width | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | n, | ||
| integer(i4b), intent(in) | m, | ||
| integer(i4b), intent(in) | idx_conn, | ||
| real(dp), intent(out) | width_n, | ||
| real(dp), intent(out) | width_m ) |
This should only be called for connections with IHC > 0. Routine is needed, so it can be overridden by the linear network discretization, which allows for a separate flow
| [in] | n | cell node number |
| [in] | m | cell node number |
| [in] | idx_conn | connection index |
| [out] | width_n | flow width for cell n |
| [out] | width_m | flow width for cell m |
Definition at line 122 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_max_npolyverts | ( | class(disbasetype), intent(inout) | this, |
| logical(lgp), intent(in), optional | closed ) |
| [in] | closed | whether to close the polygon, duplicating a vertex |
Definition at line 98 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_ncpl | ( | class(disbasetype) | this | ) |
Definition at line 94 of file DiscretizationBase.f90.
| generic basedismodule::disbasetype::get_nodenumber | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | k, | ||
| integer(i4b), intent(in) | i, | ||
| integer(i4b), intent(in) | j, | ||
| integer(i4b), intent(in) | icheck ) |
Definition at line 74 of file DiscretizationBase.f90.
| generic basedismodule::disbasetype::get_nodenumber | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | k, | ||
| integer(i4b), intent(in) | j, | ||
| integer(i4b), intent(in) | icheck ) |
Definition at line 74 of file DiscretizationBase.f90.
| generic basedismodule::disbasetype::get_nodenumber | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | nodeu, | ||
| integer(i4b), intent(in) | icheck ) |
| procedure basedismodule::disbasetype::get_nodenumber_idx1 | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | nodeu, | ||
| integer(i4b), intent(in) | icheck ) |
Definition at line 77 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_nodenumber_idx2 | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | k, | ||
| integer(i4b), intent(in) | j, | ||
| integer(i4b), intent(in) | icheck ) |
Definition at line 78 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_nodenumber_idx3 | ( | class(disbasetype), intent(in) | this, |
| integer(i4b), intent(in) | k, | ||
| integer(i4b), intent(in) | i, | ||
| integer(i4b), intent(in) | j, | ||
| integer(i4b), intent(in) | icheck ) |
Definition at line 79 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_nodeuser | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | noder ) |
Definition at line 80 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_npolyverts | ( | class(disbasetype), intent(inout) | this, |
| integer(i4b), intent(in) | ic, | ||
| logical(lgp), intent(in), optional | closed ) |
| [in] | ic | cell number (reduced) |
| [in] | closed | whether to close the polygon, duplicating a vertex |
Definition at line 97 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::get_polyverts | ( | class(disbasetype), intent(inout) | this, |
| integer(i4b), intent(in) | ic, | ||
| real(dp), dimension(:, :), intent(out), allocatable | polyverts, | ||
| logical(lgp), intent(in), optional | closed ) |
| [in] | ic | cell number (reduced) |
| [out] | polyverts | polygon vertices (column-major indexing) |
| [in] | closed | whether to close the polygon, duplicating a vertex |
Definition at line 96 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::highest_active | ( | class(disbasetype) | this, |
| integer(i4b), intent(inout) | n, | ||
| integer(i4b), dimension(:), intent(in) | ibound ) |
Definition at line 118 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::highest_saturated | ( | class(disbasetype) | this, |
| integer(i4b), intent(inout) | n, | ||
| real(dp), dimension(:), intent(in) | sat ) |
Definition at line 119 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::is_1d | ( | class(disbasetype) | this | ) |
Definition at line 125 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::is_2d | ( | class(disbasetype) | this | ) |
Definition at line 124 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::is_3d | ( | class(disbasetype) | this | ) |
Definition at line 123 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::nlarray_to_nodelist | ( | class(disbasetype) | this, |
| integer(i4b), dimension(:), pointer, contiguous | darray, | ||
| integer(i4b), dimension(maxbnd), intent(inout) | nodelist, | ||
| integer(i4b), intent(in) | maxbnd, | ||
| integer(i4b), intent(inout) | nbound, | ||
| character(len=*), intent(in) | aname ) |
For DIS/DISV, the array is layer number, for DISU it's node number.
Definition at line 117 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::noder_from_cellid | ( | class(disbasetype) | this, |
| character(len=*), intent(inout) | cellid, | ||
| integer(i4b), intent(in) | inunit, | ||
| integer(i4b), intent(in) | iout, | ||
| logical, intent(in), optional | flag_string, | ||
| logical, intent(in), optional | allow_zero ) |
If flag_string argument is present and true, the first token in string is allowed to be a string (e.g. boundary name). In this case, if a string is encountered, return value as -2. If allow_zero argument is present and true, if all indices equal zero, the result can be zero. If allow_zero is false, a zero in any index is an error.
Definition at line 86 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::noder_from_string | ( | class(disbasetype) | this, |
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | in, | ||
| integer(i4b), intent(in) | iout, | ||
| character(len=*), intent(inout) | line, | ||
| logical, intent(in), optional | flag_string ) |
If the model is unstructured; just read user nodenumber. If flag_string argument is present and true, the first token in string is allowed to be a string (e.g. boundary name). In this case, if a string is encountered, return value as -2.
Definition at line 85 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::noder_to_array | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | noder, | ||
| integer(i4b), dimension(:), intent(inout) | arr ) |
Definition at line 113 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::noder_to_string | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | noder, | ||
| character(len=*), intent(inout) | str ) |
Definition at line 112 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::nodeu_from_cellid | ( | class(disbasetype) | this, |
| character(len=*), intent(inout) | cellid, | ||
| integer(i4b), intent(in) | inunit, | ||
| integer(i4b), intent(in) | iout, | ||
| logical, intent(in), optional | flag_string, | ||
| logical, intent(in), optional | allow_zero ) |
If flag_string is present and true, the first token may be non-numeric (e.g. boundary name). In this case, return -2.
If allow_zero is present and true, and all indices are zero, the result can be zero. If allow_zero is false, a zero in any index is an error.
Definition at line 84 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::nodeu_from_string | ( | class(disbasetype) | this, |
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | in, | ||
| integer(i4b), intent(in) | iout, | ||
| character(len=*), intent(inout) | line, | ||
| logical, intent(in), optional | flag_string, | ||
| logical, intent(in), optional | allow_zero ) |
If DIS or DISV, read indices. If DISU, read user node number directly. If flag_string is present and true, the first token may be non-numeric (e.g. boundary name). In this case, return -2.
Definition at line 83 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::nodeu_to_array | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | nodeu, | ||
| integer(i4b), dimension(:), intent(inout) | arr ) |
Definition at line 82 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::nodeu_to_string | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | nodeu, | ||
| character(len=*), intent(inout) | str ) |
Definition at line 81 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::read_dbl_array | ( | class(disbasetype), intent(inout) | this, |
| character(len=*), intent(inout) | line, | ||
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | in, | ||
| real(dp), dimension(:), intent(inout), pointer, contiguous | darray, | ||
| character(len=*), intent(in) | aname ) |
Definition at line 102 of file DiscretizationBase.f90.
| generic, public basedismodule::disbasetype::read_grid_array | ( | class(disbasetype), intent(inout) | this, |
| character(len=*), intent(inout) | line, | ||
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | in, | ||
| real(dp), dimension(:), intent(inout), pointer, contiguous | darray, | ||
| character(len=*), intent(in) | aname ) |
Definition at line 103 of file DiscretizationBase.f90.
| generic, public basedismodule::disbasetype::read_grid_array | ( | class(disbasetype), intent(inout) | this, |
| character(len=*), intent(inout) | line, | ||
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | in, | ||
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | iarray, | ||
| character(len=*), intent(in) | aname ) |
| procedure basedismodule::disbasetype::read_int_array | ( | class(disbasetype), intent(inout) | this, |
| character(len=*), intent(inout) | line, | ||
| integer(i4b), intent(inout) | lloc, | ||
| integer(i4b), intent(inout) | istart, | ||
| integer(i4b), intent(inout) | istop, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | in, | ||
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | iarray, | ||
| character(len=*), intent(in) | aname ) |
Definition at line 101 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::read_layer_array | ( | class(disbasetype) | this, |
| integer(i4b), dimension(maxbnd) | nodelist, | ||
| real(dp), dimension(ncolbnd, maxbnd), intent(inout) | darray, | ||
| integer(i4b), intent(in) | ncolbnd, | ||
| integer(i4b), intent(in) | maxbnd, | ||
| integer(i4b), intent(in) | icolbnd, | ||
| character(len=*), intent(in) | aname, | ||
| integer(i4b), intent(in) | inunit, | ||
| integer(i4b), intent(in) | iout ) |
For cells that are outside of the active domain, do not copy the array value into darray.
Definition at line 104 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::read_list | ( | class(disbasetype) | this, |
| type(longlinereadertype), intent(inout) | line_reader, | ||
| integer(i4b), intent(in) | in, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | iprpak, | ||
| integer(i4b), intent(inout) | nlist, | ||
| integer(i4b), intent(in) | inamedbound, | ||
| integer(i4b), intent(in) | iauxmultcol, | ||
| integer(i4b), dimension(:), intent(inout), pointer, contiguous | nodelist, | ||
| real(dp), dimension(:, :), intent(inout), pointer, contiguous | rlist, | ||
| real(dp), dimension(:, :), intent(inout), pointer, contiguous | auxvar, | ||
| character(len=lenauxname), dimension(:), intent(inout) | auxname, | ||
| character(len=lenboundname), dimension(:), intent(inout), pointer, contiguous | boundname, | ||
| character(len=*), intent(in) | label, | ||
| character(len=*), intent(in) | pkgname, | ||
| type(timeseriesmanagertype) | tsmanager, | ||
| integer(i4b), intent(in) | iscloc, | ||
| integer(i4b), intent(in), optional | indxconvertflux ) |
Convert user node numbers to reduced numbers. Terminate if any nodenumbers are within an inactive domain. Set up time series and multiply by iauxmultcol if it exists. Write the list to iout if iprpak is set.
Definition at line 108 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::record_array | ( | class(disbasetype), intent(inout) | this, |
| real(dp), dimension(:), intent(inout), pointer, contiguous | darray, | ||
| integer(i4b), intent(in) | iout, | ||
| integer(i4b), intent(in) | iprint, | ||
| integer(i4b), intent(in) | idataun, | ||
| character(len=*), intent(in) | aname, | ||
| character(len=*), intent(in) | cdatafmp, | ||
| integer(i4b), intent(in) | nvaluesp, | ||
| integer(i4b), intent(in) | nwidthp, | ||
| character(len=*), intent(in) | editdesc, | ||
| real(dp), intent(in) | dinact ) |
The array is written to a formatted or unformatted external file depending on the arguments.
| [in,out] | darray | double precision array to record |
| [in] | iout | ascii output unit number |
| [in] | iprint | whether to print the array |
| [in] | idataun | binary output unit number |
| [in] | aname | text descriptor |
| [in] | cdatafmp | write format |
| [in] | nvaluesp | values per line |
| [in] | nwidthp | number width |
| [in] | editdesc | format type (I, G, F, S, E) |
| [in] | dinact | double precision value for cells excluded from model domain |
Definition at line 110 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::record_connection_array | ( | class(disbasetype) | this, |
| real(dp), dimension(:), intent(in) | flowja, | ||
| integer(i4b), intent(in) | ibinun, | ||
| integer(i4b), intent(in) | iout ) |
Definition at line 111 of file DiscretizationBase.f90.
| generic, public basedismodule::disbasetype::record_mf6_list_entry | ( | class(disbasetype) | this, |
| integer(i4b), intent(in) | ibdchn, | ||
| integer(i4b), intent(in) | noder, | ||
| integer(i4b), intent(in) | noder2, | ||
| real(dp), intent(in) | q, | ||
| integer(i4b), intent(in) | naux, | ||
| real(dp), dimension(naux), intent(in) | aux, | ||
| logical, intent(in), optional | olconv, | ||
| logical, intent(in), optional | olconv2 ) |
|
private |
Definition at line 115 of file DiscretizationBase.f90.
| procedure, public basedismodule::disbasetype::record_srcdst_list_header | ( | class(disbasetype) | this, |
| character(len=16), intent(in) | text, | ||
| character(len=16), intent(in) | textmodel, | ||
| character(len=16), intent(in) | textpackage, | ||
| character(len=16), intent(in) | dstmodel, | ||
| character(len=16), intent(in) | dstpackage, | ||
| integer(i4b), intent(in) | naux, | ||
| character(len=16), dimension(:), intent(in) | auxtxt, | ||
| integer(i4b), intent(in) | ibdchn, | ||
| integer(i4b), intent(in) | nlist, | ||
| integer(i4b), intent(in) | iout ) |
Definition at line 114 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::supports_layers | ( | class(disbasetype) | this | ) |
Definition at line 91 of file DiscretizationBase.f90.
| procedure basedismodule::disbasetype::write_grb | ( | class(disbasetype) | this, |
| integer(i4b), dimension(:), intent(in) | icelltype ) |
Definition at line 99 of file DiscretizationBase.f90.
| real(dp), pointer basedismodule::disbasetype::angrot => null() |
Definition at line 50 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::area => null() |
Definition at line 54 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::bot => null() |
Definition at line 53 of file DiscretizationBase.f90.
| type(connectionstype), pointer basedismodule::disbasetype::con => null() |
Definition at line 55 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::dbuff => null() |
Definition at line 57 of file DiscretizationBase.f90.
| integer(i4b), dimension(:), pointer, contiguous basedismodule::disbasetype::ibuff => null() |
Definition at line 58 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::icondir => null() |
Definition at line 44 of file DiscretizationBase.f90.
| character(len=linelength), pointer basedismodule::disbasetype::input_fname => null() |
Definition at line 34 of file DiscretizationBase.f90.
| character(len=lenmempath) basedismodule::disbasetype::input_mempath = '' |
Definition at line 32 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::inunit => null() |
Definition at line 36 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::iout => null() |
Definition at line 37 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::lenuni => null() |
Definition at line 42 of file DiscretizationBase.f90.
| character(len=lenmempath) basedismodule::disbasetype::memorypath |
Definition at line 31 of file DiscretizationBase.f90.
| integer(i4b), dimension(:), pointer, contiguous basedismodule::disbasetype::mshape => null() |
Definition at line 51 of file DiscretizationBase.f90.
| character(len=lenmodelname), pointer basedismodule::disbasetype::name_model => null() |
Definition at line 33 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::ndim => null() |
Definition at line 43 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::nja => null() |
Definition at line 40 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::njas => null() |
Definition at line 41 of file DiscretizationBase.f90.
| integer(i4b), dimension(:), pointer, contiguous basedismodule::disbasetype::nodereduced => null() |
Definition at line 59 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::nodes => null() |
Definition at line 38 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::nodesuser => null() |
Definition at line 39 of file DiscretizationBase.f90.
| integer(i4b), dimension(:), pointer, contiguous basedismodule::disbasetype::nodeuser => null() |
Definition at line 60 of file DiscretizationBase.f90.
| integer(i4b), pointer basedismodule::disbasetype::nogrb => null() |
Definition at line 45 of file DiscretizationBase.f90.
| character(len=linelength), pointer basedismodule::disbasetype::output_fname => null() |
Definition at line 35 of file DiscretizationBase.f90.
| type(blockparsertype) basedismodule::disbasetype::parser |
Definition at line 56 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::top => null() |
Definition at line 52 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::xc => null() |
Definition at line 46 of file DiscretizationBase.f90.
| real(dp), pointer basedismodule::disbasetype::xorigin => null() |
Definition at line 49 of file DiscretizationBase.f90.
| real(dp), dimension(:), pointer, contiguous basedismodule::disbasetype::yc => null() |
Definition at line 47 of file DiscretizationBase.f90.
| real(dp), pointer basedismodule::disbasetype::yorigin => null() |
Definition at line 48 of file DiscretizationBase.f90.