MODFLOW 6 version 6.9.0.dev0
USGS Modular Hydrologic Model
Loading...
Searching...
No Matches
Disv.f90 File Reference

Go to the source code of this file.

Data Types

type  disvmodule::disvtype
 Vertex grid discretization. More...
type  disvmodule::disvfoundtype

Modules

module  disvmodule

Functions/Subroutines

subroutine, public disvmodule::disv_cr (dis, name_model, input_mempath, inunit, iout)
 Create a new discretization by vertices object.
subroutine disvmodule::disv_load (this)
 Transfer IDM data into this discretization object.
subroutine disvmodule::disv_df (this)
 Define the discretization.
subroutine disvmodule::disv_da (this)
 Deallocate variables.
subroutine disvmodule::source_options (this)
 Copy options from IDM into package.
subroutine disvmodule::log_options (this, found)
 Write user options to list file.
subroutine disvmodule::source_dimensions (this)
 Copy dimensions from IDM into package.
subroutine disvmodule::log_dimensions (this, found)
 Write dimensions to list file.
subroutine disvmodule::source_griddata (this)
 Copy grid data from IDM into package.
subroutine disvmodule::log_griddata (this, found)
 Write griddata found to list file.
subroutine disvmodule::grid_finalize (this)
 Finalize grid (check properties, allocate arrays, compute connections).
subroutine disvmodule::source_vertices (this)
 Load grid vertices from IDM into package.
subroutine disvmodule::define_cellverts (this, icell2d, ncvert, icvert)
 Build data structures to hold cell vertex info.
subroutine disvmodule::source_cell2d (this)
 Copy cell2d data from IDM into package.
subroutine disvmodule::connect (this)
 Build grid connections.
subroutine disvmodule::write_grb (this, icelltype)
 Write a binary grid file.
subroutine disvmodule::nodeu_to_string (this, nodeu, str)
 Convert a user nodenumber to a string (nodenumber) or (k,j).
subroutine disvmodule::nodeu_to_array (this, nodeu, arr)
 Convert a user nodenumber to an array (nodenumber) or (k,j).
integer(i4b) function disvmodule::get_nodenumber_idx1 (this, nodeu, icheck)
 Get reduced node number from user node number.
integer(i4b) function disvmodule::get_nodenumber_idx2 (this, k, j, icheck)
 Get reduced node number from layer and within-layer node indices.
subroutine disvmodule::connection_normal (this, noden, nodem, ihc, xcomp, ycomp, zcomp, ipos)
 Get normal vector components between the cell and a given neighbor.
subroutine disvmodule::connection_vector (this, noden, nodem, nozee, satn, satm, ihc, xcomp, ycomp, zcomp, conlen)
 Get unit vector components between the cell and a given neighbor.
subroutine disvmodule::get_dis_type (this, dis_type)
 Get the discretization type.
integer(i4b) function disvmodule::get_dis_enum (this)
 Get the discretization type enumeration.
subroutine disvmodule::allocate_scalars (this, name_model, input_mempath)
 Allocate and initialize scalars.
subroutine disvmodule::allocate_arrays (this)
 Allocate and initialize arrays.
real(dp) function disvmodule::get_cell2d_area (this, icell2d)
 Get the signed area of the cell.
integer(i4b) function disvmodule::nodeu_from_string (this, lloc, istart, istop, in, iout, line, flag_string, allow_zero)
 Convert a string to a user nodenumber.
integer(i4b) function disvmodule::nodeu_from_cellid (this, cellid, inunit, iout, flag_string, allow_zero)
 Convert a cellid string to a user nodenumber.
logical function disvmodule::supports_layers (this)
 Indicates whether the grid discretization supports layers.
integer(i4b) function disvmodule::get_ncpl (this)
 Get number of cells per layer (ncpl).
subroutine disvmodule::get_polyverts (this, ic, polyverts, closed)
 Get a 2D array of polygon vertices, listed in clockwise order beginning with the lower left corner.
integer(i4b) function disvmodule::get_npolyverts (this, ic, closed)
 Get the number of cell polygon vertices.
integer(i4b) function disvmodule::get_max_npolyverts (this, closed)
 Get the maximum number of cell polygon vertices.
subroutine disvmodule::read_int_array (this, line, lloc, istart, istop, iout, in, iarray, aname)
 Read an integer array.
subroutine disvmodule::read_dbl_array (this, line, lloc, istart, istop, iout, in, darray, aname)
 Read a double precision array.
subroutine disvmodule::read_layer_array (this, nodelist, darray, ncolbnd, maxbnd, icolbnd, aname, inunit, iout)
 Read a 2d double array into col icolbnd of darray.
subroutine disvmodule::record_array (this, darray, iout, iprint, idataun, aname, cdatafmp, nvaluesp, nwidthp, editdesc, dinact)
 Record a double precision array.
subroutine disvmodule::record_srcdst_list_header (this, text, textmodel, textpackage, dstmodel, dstpackage, naux, auxtxt, ibdchn, nlist, iout)
 Record list header for imeth=6.
subroutine disvmodule::nlarray_to_nodelist (this, darray, nodelist, maxbnd, nbound, aname)
 Convert an integer array (layer numbers) to nodelist.