nonperiodic_differentiator_type Derived Type

type, public, extends(differentiator_type) :: nonperiodic_differentiator_type


Contents


Components

Type Visibility Attributes Name Initial
type(stencil_type), public :: east_stencils(2)
type(stencil_type), public :: west_stencils(2)

Type-Bound Procedures

procedure, public :: diff => diff_nonperiodic

  • public pure function diff_nonperiodic(self, f, dx) result(df)

    Apply a differentiation stencil along a one dimensional pencil, then apply boundary conditions on both ends. Boundary conditions are applied as arrays of type stencil_type

    Arguments

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

    Return Value real, allocatable, (:)