Octopus
sturm_liouville.F90 File Reference

Go to the source code of this file.

Modules

module  sturm_liouville_oct_m
 General Sturm-Liouville solver for equations of the form \( \nabla \cdot (\rho \nabla v) = \text{rhs} \).
 

Data Types

type  sturm_liouville_oct_m::sturm_liouville_t
 

Functions/Subroutines

subroutine, public sturm_liouville_oct_m::sturm_liouville_init (this, namespace, gr, space, max_iter, thr, inverse_tol)
 Initialize the Sturm-Liouville solver. More...
 
subroutine, public sturm_liouville_oct_m::sturm_liouville_end (this)
 Finalize the Sturm-Liouville solver. More...
 
subroutine, public sturm_liouville_oct_m::sturm_liouville_solve_poisson (this, psolver, namespace, f, v, with_inverse_density, rho)
 Solves \( \nabla^2 v = \nabla \cdot \frac{\vec{F}}{\rho} \) Initial guess for the Sturm-Liouville solver: Poisson solution. More...
 
subroutine, public sturm_liouville_oct_m::sturm_liouville_solve (this, namespace, rho, rhs, v)
 Solve the Sturm-Liouville equation with a scalar right-hand side. More...
 
subroutine, public sturm_liouville_oct_m::sturm_liouville_solve_from_div (this, namespace, rho, f, v, psolver)
 Solve the Sturm-Liouville equation from a divergence. More...
 
subroutine sturm_liouville_oct_m::sl_operator (x, hx, userdata)
 Computes \( Ax = \nabla \cdot (\rho \nabla x) \). More...
 
subroutine sturm_liouville_oct_m::jacobi_preconditioner (x, hx, userdata)
 Jacobi preconditioner: approximates \( (\nabla \cdot [\rho \nabla])^{-1} \). More...