helmholtz_single_ghost Function

public pure function helmholtz_single_ghost(mesh, u, ind) result(res)

Computes helmholtz operator for single boundary 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 a ghost point (not checked for performance reasons)

Return Value real(kind=FP)

result