pre_intr Abstract Interface

abstract interface
public function pre_intr(v, u, L, f, fcur, rhs)

Arguments

Type IntentOptional AttributesName
real(kind=r8), intent(in), dimension(:):: v

The vector to be preconditioned.

real(kind=r8), intent(in), dimension(:,:):: u

The current state vector for the system of differential equations, and its derivatives. Column represents the derivative.

procedure(L_intr) :: L

The linear, left-hand-side of the ODE being solved.

procedure(f_intr) :: f

The nonlinear, right-hand-side of the ODE being solved.

real(kind=r8), intent(in), dimension(:):: fcur

The result of f(u)

real(kind=r8), intent(in), dimension(:):: rhs

The right hand side of the linear system being preconditioned.

Return Value real(kind=r8), dimension(size(v))

The result of applying the preconditioner.

Description

An interface for a preconditioner to be used with the quasilinearisation ODE solver.