Fronts

Welcome to the API documentation for Fronts!

Don’t forget to read the README and check out the examples on the project’s GitHub page.

Main module fronts

Solvers

solve(D, Si, Sb[, dS_dob_bracket, radial, …])

Solve an instance of the general problem.

solve_from_guess(D, Si, Sb, o_guess, S_guess)

Solve an instance of the general problem starting from a guess of the solution.

inverse(o, S)

Solve the inverse problem.

Solutions

SemiInfiniteSolution

Continuous solution to a semi-infinite problem.

Solution

Base class for solutions using the Boltzmann transformation.

Boltzmann transformation

ode(D[, radial])

Transform the PDE into an ODE.

o(r, t)

Transform to the Boltzmann variable.

do_dr(r, t)

Spatial derivative of the Boltzmann transformation.

do_dt(r, t)

Time derivative of the Boltzmann transformation.

r(o, t)

Transform back from the Boltzmann variable into r.

t(o, r)

Transform back from the Boltzmann variable into t.

as_o([r, t, o])

Transform to the Boltzmann variable if called with r and t.

Submodule fronts.D: included D functions

D.constant([D])

Return a constant D function.

D.power_law(k[, a, epsilon])

Return a power-law D function.

D.van_genuchten([n, m, l, alpha, Ks, S_range])

Return a Van Genuchten moisture diffusivity function.

D.richards(K, C)

Return a moisture diffusivity function for a Richards equation problem.