The Geotherm package

Geotherm.generate_traceFunction
generate_trace(geothermal_gradient::AbstractDimMatrix, p0::Point2D, h=0.01, n=1000)

Generate a trace of Points specifiying pressure and temperature.

source

The Geotherm.Geometry module

Base.inFunction
Base.in(p::Point2D, rec::Rectangle)

Test if point p is in rectangle rec.

source

The Geotherm.Interpolate module

Geotherm.Interpolate.bilinear_interpolateFunction
bilinear_interpolate(q₁₁, q₁₂, q₂₁, q₂₂)

If 4 points consisting of a rectangle and their z-coordinates are known, return a bilinear interpolation of the 4 points.

source

The Geotherm.Integrate module

Geotherm.Integrate.runge_kuttaFunction
runge_kutta(p0::Point2D, f, h=0.01, n=1000)

Do a Runge–Kutta fourth-order integration of function f with starting point p0, step n, and step-size h.

source