MODFLOW 6  version 6.6.0.dev0
USGS Modular Hydrologic Model
Dis.f90 File Reference

Go to the source code of this file.

Data Types

type  dismodule::distype
 Structured grid discretization. More...
 
type  dismodule::disfoundtype
 Simplifies tracking parameters sourced from the input context. More...
 

Modules

module  dismodule
 

Functions/Subroutines

subroutine, public dismodule::dis_cr (dis, name_model, input_mempath, inunit, iout)
 Create a new structured discretization object. More...
 
subroutine dismodule::dis3d_df (this)
 Define the discretization. More...
 
subroutine dismodule::dis3d_da (this)
 Deallocate variables. More...
 
subroutine dismodule::source_options (this)
 Copy options from IDM into package. More...
 
subroutine dismodule::log_options (this, found)
 Write user options to list file. More...
 
subroutine dismodule::source_dimensions (this)
 Copy dimensions from IDM into package. More...
 
subroutine dismodule::log_dimensions (this, found)
 Write dimensions to list file. More...
 
subroutine dismodule::source_griddata (this)
 Copy grid data from IDM into package. More...
 
subroutine dismodule::log_griddata (this, found)
 Write dimensions to list file. More...
 
subroutine dismodule::grid_finalize (this)
 Finalize grid (check properties, allocate arrays, compute connections) More...
 
subroutine dismodule::write_grb (this, icelltype)
 Write a binary grid file. More...
 
subroutine dismodule::nodeu_to_string (this, nodeu, str)
 Convert a user nodenumber to a string (nodenumber) or (k,i,j) More...
 
subroutine dismodule::nodeu_to_array (this, nodeu, arr)
 Convert a user nodenumber to an array (nodenumber) or (k,i,j) More...
 
integer(i4b) function dismodule::get_nodenumber_idx1 (this, nodeu, icheck)
 Get reduced node number from user node number. More...
 
integer(i4b) function dismodule::get_nodenumber_idx3 (this, k, i, j, icheck)
 Get reduced node number from layer, row and column indices. More...
 
subroutine dismodule::allocate_scalars (this, name_model, input_mempath)
 Allocate and initialize scalar variables. More...
 
subroutine dismodule::allocate_arrays (this)
 Allocate and initialize arrays. More...
 
integer(i4b) function dismodule::nodeu_from_string (this, lloc, istart, istop, in, iout, line, flag_string, allow_zero)
 Convert a string to a user nodenumber. More...
 
integer(i4b) function dismodule::nodeu_from_cellid (this, cellid, inunit, iout, flag_string, allow_zero)
 Convert a cellid string to a user nodenumber. More...
 
logical function dismodule::supports_layers (this)
 Indicates whether the grid discretization supports layers. More...
 
integer(i4b) function dismodule::get_ncpl (this)
 Return number of cells per layer (nrow * ncol) More...
 
subroutine dismodule::connection_normal (this, noden, nodem, ihc, xcomp, ycomp, zcomp, ipos)
 Get normal vector components between the cell and a given neighbor. More...
 
subroutine dismodule::connection_vector (this, noden, nodem, nozee, satn, satm, ihc, xcomp, ycomp, zcomp, conlen)
 Get unit vector components between the cell and a given neighbor. More...
 
subroutine dismodule::get_dis_type (this, dis_type)
 Get the discretization type. More...
 
integer(i4b) function dismodule::get_dis_enum (this)
 Get the discretization type enumeration. More...
 
subroutine dismodule::get_polyverts (this, ic, polyverts, closed)
 Get a 2D array of polygon vertices, listed in. More...
 
subroutine dismodule::read_int_array (this, line, lloc, istart, istop, iout, in, iarray, aname)
 Read an integer array. More...
 
subroutine dismodule::read_dbl_array (this, line, lloc, istart, istop, iout, in, darray, aname)
 Read a double precision array. More...
 
subroutine dismodule::read_layer_array (this, nodelist, darray, ncolbnd, maxbnd, icolbnd, aname, inunit, iout)
 Read a 2d double array into col icolbnd of darray. More...
 
subroutine dismodule::record_array (this, darray, iout, iprint, idataun, aname, cdatafmp, nvaluesp, nwidthp, editdesc, dinact)
 Record a double precision array. More...
 
subroutine dismodule::record_srcdst_list_header (this, text, textmodel, textpackage, dstmodel, dstpackage, naux, auxtxt, ibdchn, nlist, iout)
 Record list header for imeth=6. More...
 
subroutine dismodule::nlarray_to_nodelist (this, darray, nodelist, maxbnd, nbound, aname)
 Convert an integer array (layer numbers) to nodelist. More...