polyLinear_1D Function

private pure function polyLinear_1D(cxDir) result(phi)

This function returns matrix entries for Linear polynomial for 1D stencil

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: cxDir(3)

Return Value real(kind=rk), (2)


Called by

proc~~polylinear_1d~~CalledByGraph proc~polylinear_1d polyLinear_1D proc~build_matrixlsf_linearintp build_matrixLSF_linearIntp proc~build_matrixlsf_linearintp->proc~polylinear_1d proc~append_intpmatrixlsf append_intpMatrixLSF proc~append_intpmatrixlsf->proc~build_matrixlsf_linearintp interface~append~9 append interface~append~9->proc~append_intpmatrixlsf

Source Code

  pure function polyLinear_1D(cxDir) result (phi)
    ! --------------------------------------------------------------------------
    real(kind=rk), intent(in) :: cxDir(3)
    real(kind=rk) :: phi(2)
    ! --------------------------------------------------------------------------
    phi(1) = 1.0_rk
    phi(2) = cxDir(c_x)
  end function polyLinear_1D