getMask Interface

interface
private pure module function getMask(this, coord, dimSize, periodic) result(res)

Arguments

Type IntentOptional Attributes Name
class(Stencil1D), intent(in) :: this
integer(kind=ik), intent(in) :: coord
integer(kind=ik), intent(in) :: dimSize
logical, intent(in), optional :: periodic

Return Value logical,allocatable,dimension(:)

Description

Get logical mask for included stencil points for given coordinate and dimension size. If periodic, the stencil dimension is treated as being periodic with periodicity equal to dimSize.