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

Go to the source code of this file.

Data Types

type  disumodule::disutype
 Unstructured grid discretization. More...
type  disumodule::disufoundtype

Modules

module  disumodule

Functions/Subroutines

subroutine, public disumodule::disu_cr (dis, name_model, input_mempath, inunit, iout)
 Create a new unstructured discretization object.
subroutine disumodule::disu_load (this)
 Transfer IDM data into this discretization object.
subroutine disumodule::disu_df (this)
 Define the discretization.
subroutine disumodule::grid_finalize (this)
 Finalize the grid.
subroutine disumodule::disu_ck (this)
 Check discretization info.
subroutine disumodule::disu_write_warning (this, msg)
 Write a warning message to the model listing file.
subroutine disumodule::disu_face_normal (this, n, m, found, xnorm, ynorm)
 Outward normal of the face shared by two cells from the vertices.
subroutine disumodule::disu_da (this)
 Deallocate variables.
subroutine disumodule::nodeu_to_string (this, nodeu, str)
 Convert a user nodenumber to a string (nodenumber).
subroutine disumodule::nodeu_to_array (this, nodeu, arr)
 Convert a user nodenumber to an array (nodenumber).
subroutine disumodule::source_options (this)
 Copy options from IDM into package.
subroutine disumodule::log_options (this, found)
 Write user options to list file.
subroutine disumodule::source_dimensions (this)
 Copy dimensions from IDM into package.
subroutine disumodule::log_dimensions (this, found)
 Write dimensions to list file.
subroutine disumodule::source_griddata (this)
 Copy grid data from IDM into package.
subroutine disumodule::log_griddata (this, found)
 Write griddata found to list file.
subroutine disumodule::source_connectivity (this)
 Copy grid connectivity info from IDM into package.
subroutine disumodule::log_connectivity (this, found, iac)
 Write griddata found to list file.
subroutine disumodule::source_vertices (this)
 Copy grid vertex data from IDM into package.
subroutine disumodule::define_cellverts (this, icell2d, ncvert, icvert)
 Build data structures to hold cell vertex info.
subroutine disumodule::source_cell2d (this)
 Copy cell2d data from IDM into package.
subroutine disumodule::write_grb (this, icelltype)
 Write a binary grid file.
integer(i4b) function disumodule::get_nodenumber_idx1 (this, nodeu, icheck)
 Get reduced node number from user node number.
subroutine disumodule::connection_normal (this, noden, nodem, ihc, xcomp, ycomp, zcomp, ipos)
 Get normal vector components between the cell and a given neighbor.
subroutine disumodule::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 disumodule::get_dis_type (this, dis_type)
 Get the discretization type.
integer(i4b) function disumodule::get_dis_enum (this)
 Get the discretization type enumeration.
subroutine disumodule::allocate_scalars (this, name_model, input_mempath)
 Allocate and initialize scalar variables.
subroutine disumodule::allocate_arrays (this)
 Allocate and initialize arrays.
subroutine disumodule::allocate_arrays_mem (this)
 Allocate arrays in memory manager.
integer(i4b) function disumodule::nodeu_from_string (this, lloc, istart, istop, in, iout, line, flag_string, allow_zero)
 Convert a string to a user nodenumber.
integer(i4b) function disumodule::nodeu_from_cellid (this, cellid, inunit, iout, flag_string, allow_zero)
 Convert a cellid string to a user nodenumber.
logical function disumodule::supports_layers (this)
 Indicates whether the grid discretization supports layers.
integer(i4b) function disumodule::get_ncpl (this)
 Get number of cells per layer (total nodes since DISU isn't layered).
subroutine disumodule::read_int_array (this, line, lloc, istart, istop, iout, in, iarray, aname)
 Read an integer array.
subroutine disumodule::read_dbl_array (this, line, lloc, istart, istop, iout, in, darray, aname)
 Read a double precision array.
subroutine disumodule::record_array (this, darray, iout, iprint, idataun, aname, cdatafmp, nvaluesp, nwidthp, editdesc, dinact)
 Record a double precision array.
subroutine disumodule::record_srcdst_list_header (this, text, textmodel, textpackage, dstmodel, dstpackage, naux, auxtxt, ibdchn, nlist, iout)
 Record list header for imeth=6.
subroutine disumodule::get_polyverts (this, ic, polyverts, closed)
 Cast base to DISU.
integer(i4b) function disumodule::get_npolyverts (this, ic, closed)
 Get the number of cell polygon vertices, 0 if none are defined.
integer(i4b) function disumodule::get_max_npolyverts (this, closed)
 Get the maximum number of cell polygon vertices.
class(disutype) function, pointer, public disumodule::castasdisutype (dis)