Differential operators

Operators

BSplineKit.DifferentialOps.DerivativeUnitRangeType
DerivativeUnitRange{m, n} <: AbstractDifferentialOp

Specifies a range of derivatives.

Examples

Two ways of constructing derivative ranges:

julia> Derivative(2):Derivative(4)
Derivative(2:4)

julia> Derivative(2:4)
Derivative(2:4)

julia> Tuple(Derivative(2:4))
(D{2}, D{3}, D{4})
source

Projections

BSplineKit.DifferentialOps.LeftNormalType
LeftNormal <: AbstractNormalDirection

Specifies the normal direction on the left boundary of a 1D domain.

The left normal direction goes opposite to the coordinate axis.

source
BSplineKit.DifferentialOps.RightNormalType
RightNormal <: AbstractNormalDirection

Specifies the normal direction on the right boundary of a 1D domain.

The right normal direction is equal to that of the coordinate axis.

source
LinearAlgebra.dotMethod
dot(op::AbstractDifferentialOp, dir::AbstractNormalDirection) -> AbstractDifferentialOp

Project derivative along a normal direction.

This should be used to convert from a normal derivative at the boundaries, to a derivative along the coordinate axes of the domain.

In practice, this returns op for RightNormal. For LeftNormal, it multiplies the odd-order derivatives by -1.

source