mus_interpolate_linear2D_leastSq Function

private pure function mus_interpolate_linear2D_leastSq(srcMom, targetCoord, LSFmat, nSources, nVals) result(phi)

Bilinear interpolation for a vector quantity phi

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: srcMom(nVals,nSources)

source values of the momentum on the square corners

real(kind=rk), intent(in) :: targetCoord(3)

interpolation location within the square

type(tem_matrix_type), intent(in) :: LSFmat

matrix for least square fit

integer, intent(in) :: nSources

Number of source elements

integer, intent(in) :: nVals

number of quantities to interpolation

Return Value real(kind=rk)(nVals)

interpolated value


Called by

proc~~mus_interpolate_linear2d_leastsq~~CalledByGraph proc~mus_interpolate_linear2d_leastsq mus_interpolate_linear2D_leastSq proc~fillfinerghostsfromme_linear2d_feq_fneq fillFinerGhostsFromMe_linear2D_feq_fneq proc~fillfinerghostsfromme_linear2d_feq_fneq->proc~mus_interpolate_linear2d_leastsq proc~fillarbifinerghostsfromme_linear2d fillArbiFinerGhostsFromMe_linear2D proc~fillarbifinerghostsfromme_linear2d->proc~mus_interpolate_linear2d_leastsq proc~fillfinerghostsfromme_linear2dincomp_feq_fneq fillFinerGhostsFromMe_linear2DIncomp_feq_fneq proc~fillfinerghostsfromme_linear2dincomp_feq_fneq->proc~mus_interpolate_linear2d_leastsq

Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: a(3)
integer, private :: iVal