stencil_type Derived Type

type, public :: stencil_type


Contents


Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: nodes(:)
real, public, allocatable :: coeffs(:)
real, public :: lower
real, public :: upper

Type-Bound Procedures

procedure, public :: apply => apply_stencil

  • public pure function apply_stencil(self, f, ref)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self
    real, intent(in) :: f(:)
    integer, intent(in) :: ref

    Return Value real

procedure, public :: apply_along => apply_stencil_along

  • public pure function apply_stencil_along(self, f)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self
    real, intent(in) :: f(:)

    Return Value real, allocatable, (:)

procedure, public :: get_lower

  • public pure elemental function get_lower(self)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self

    Return Value real

procedure, public :: get_upper

  • public pure elemental function get_upper(self)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self

    Return Value real

procedure, public :: is_equal

  • public pure function is_equal(self, st, tol)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self
    type(stencil_type), intent(in) :: st
    real, intent(in) :: tol

    Return Value logical

procedure, public :: flip

  • public pure elemental function flip(self)

    Arguments

    Type IntentOptional Attributes Name
    class(stencil_type), intent(in) :: self

    Return Value type(stencil_type)

generic, public :: operator(*) => stencil_mul_real