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