MODFLOW 6  version 6.7.0.dev0
USGS Modular Hydrologic Model
DisvGeom.f90 File Reference

Go to the source code of this file.

Data Types

type  disvgeom::disvgeomtype
 

Modules

module  disvgeom
 

Functions/Subroutines

subroutine disvgeom::init (this, nlay, ncpl, nodes, top_grid, bot_grid, iavert, javert, vertex_grid, cellxy_grid, nodereduced, nodeuser)
 Initialize. More...
 
subroutine disvgeom::set_kj (this, k, j)
 Set node IDs. More...
 
subroutine disvgeom::set_nodered (this, nodered)
 Set reduced node number. More...
 
subroutine disvgeom::cell_setup (this)
 Set top and bottom elevations of grid cell. More...
 
subroutine disvgeom::cprops (this, cell2, hwva, cl1, cl2, ax, ihc)
 
subroutine disvgeom::edge_normal (this, cell2, xcomp, ycomp)
 Return the x and y components of an outward normal facing vector. More...
 
subroutine disvgeom::connection_vector (this, cell2, nozee, satn, satm, xcomp, ycomp, zcomp, conlen)
 Return the x y and z components of a unit vector that points from from the center of this to the center of cell2, and the straight-line connection length. More...
 
logical function disvgeom::shares_edge (this, cell2)
 Return true if this shares a horizontal edge with cell2. More...
 
subroutine, public disvgeom::shared_edge (ivlist1, ivlist2, ivert1, ivert2)
 Find two common vertices shared by cell1 and cell2. More...
 
real(dp) function disvgeom::get_area (this)
 Calculate and return the area of the cell. More...
 
real(dp) function disvgeom::anglex (x1, y1, x2, y2)
 Calculate the angle that the x-axis makes with a line that is normal to the two points. More...
 
real(dp) function disvgeom::distance (x1, y1, x2, y2)
 Calculate distance between two points. More...
 
real(dp) function disvgeom::distance_normal (x0, y0, x1, y1, x2, y2)
 Calculate normal distance from point (x0, y0) to line defined by two points, (x1, y1), (x2, y2). More...
 
subroutine disvgeom::line_unit_normal (x0, y0, x1, y1, xcomp, ycomp)
 Calculate the normal vector components (xcomp and ycomp) for a line defined by two points, (x0, y0), (x1, y1). More...
 
subroutine, public disvgeom::line_unit_vector (x0, y0, z0, x1, y1, z1, xcomp, ycomp, zcomp, vmag)
 Calculate the vector components (xcomp, ycomp, and zcomp) for a line defined by two points, (x0, y0, z0), (x1, y1, z1). More...