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

Go to the source code of this file.

Data Types

interface  mathutilmodule::mod_offset
 
interface  mathutilmodule::f1d
 

Modules

module  mathutilmodule
 

Functions/Subroutines

pure logical function, public mathutilmodule::is_close (a, b, rtol, atol, symmetric)
 Check if a real value is approximately equal to another. More...
 
pure integer(i4b) function mathutilmodule::mod_offset_int (a, n, d)
 Modulo with offset for integer values. More...
 
pure real(dp) function mathutilmodule::mod_offset_dbl (a, n, d)
 Modulo with offset for double precision values. More...
 
real(dp) function, public mathutilmodule::zero_ch (x0, x1, f, epsa)
 Compute zeros on an interval using Chadrupatla's method. More...
 
real(dp) function, public mathutilmodule::zero_br (ax, bx, f, tol)
 Compute a zero of the function f(x) in the interval (x0, x1). More...
 
real(dp) function, public mathutilmodule::get_perturbation (x)
 Calculate a numerical perturbation given the value of x. More...
 
pure real(dp) function, dimension(:), allocatable, public mathutilmodule::arange (start, stop, step)
 Return reals separated by the given step over the given interval. More...
 
pure real(dp) function, dimension(:), allocatable, public mathutilmodule::linspace (start, stop, num)
 Return evenly spaced reals over the given interval. More...