helmholtz_single_inner Function

public pure function helmholtz_single_inner(mesh, u, ind, co, xiv, lambdav) result(res)

Computes helmholtz operator for single inner grid point

Arguments

Type IntentOptional Attributes Name
type(mesh_cart_t), intent(in) :: mesh

Mesh

real(kind=FP), intent(in), dimension(mesh%n_points) :: u

Variable

integer, intent(in) :: ind

Index where helmholtz operator should be computed MUST be index of an inner grid pointt (not checked for performance reasons)

real(kind=FP), intent(in), optional, dimension(mesh%n_points) :: co

Coefficient

real(kind=FP), intent(in), optional :: xiv

Coefficient at mesh point

real(kind=FP), intent(in), optional :: lambdav

Coefficient at mesh point

Return Value real(kind=FP)

result