MODFLOW 6
version 6.6.0.dev0
USGS Modular Hydrologic Model
|
Functions/Subroutines | |
real(dp) function, public | calcdist (vertices, ivert1, ivert2) |
Calculate distance between two vertices. More... | |
subroutine, public | line_unit_vector (x0, y0, x1, y1, xcomp, ycomp, vmag) |
Calculate distance between two vertices. More... | |
real(dp) function, public disv1dgeom::calcdist | ( | real(dp), dimension(:, :), intent(in) | vertices, |
integer(i4b), intent(in) | ivert1, | ||
integer(i4b), intent(in) | ivert2 | ||
) |
subroutine, public disv1dgeom::line_unit_vector | ( | real(dp), intent(in) | x0, |
real(dp), intent(in) | y0, | ||
real(dp), intent(in) | x1, | ||
real(dp), intent(in) | y1, | ||
real(dp), intent(out) | xcomp, | ||
real(dp), intent(out) | ycomp, | ||
real(dp) | vmag | ||
) |
Calculate the vector components (xcomp, ycomp, and zcomp) for a line defined by two points, (x0, y0, z0), (x1, y1, z1). Also return the magnitude of the original vector, vmag.
Definition at line 33 of file Disv1dGeom.f90.