Variables
SawyerEliassenSolver.Variables — ModuleModule for different variable representations, transforms between representations and operators that act on variables.
Exports
FCVariableFSVariableFZVariableXCVariableXSVariableXZVariablecosine_transformcosine_transform!horizontal_counterparthorizontal_transformhorizontal_transform!resolvedsine_transformsine_transform!solve_poisson!transform!∂x∂x!∂z∂z!∂z²∂z²!∫dx∫dx!∫dz∫dz!∫dz²∫dz²!
Most of the operators have many methods signatures to allow for different combinations of input and output variables.
To see all the method signatures for a particular function e.g. ∂x!, run
julia> ?
help?> ∂x!SawyerEliassenSolver.Variables.FCVariable — TypeA variable expressed in Fourier space in the horizontal and cosine space in the vertical.
SawyerEliassenSolver.Variables.FSVariable — TypeA variable expressed in Fourier space in the horizontal and sine space in the vertical.
SawyerEliassenSolver.Variables.FZVariable — TypeA variable expressed in Fourier space in the horizontal and physical space in the vertical.
SawyerEliassenSolver.Variables.XCVariable — TypeA variable expressed in physical space in the horizontal and cosine space in the vertical.
SawyerEliassenSolver.Variables.XSVariable — TypeA variable expressed in physical space in the horizontal and sine space in the vertical.
SawyerEliassenSolver.Variables.XZVariable — TypeA variable expressed in physical space in the horizontal and vertical.
SawyerEliassenSolver.Variables.cosine_transform — FunctionTransform the variable from physical space to cosine space or vice verse in the vertical.
SawyerEliassenSolver.Variables.cosine_transform! — Methodcosine_transform!(out::XCVariable, in::XZVariable)
SawyerEliassenSolver.Variables.cosine_transform! — Methodcosine_transform!(out::XZVariable, in::XCVariable)
SawyerEliassenSolver.Variables.horizontal_counterpart — MethodReturn the fourier (physical) counterpart to a physical (fourier) variable.
SawyerEliassenSolver.Variables.horizontal_transform — FunctionTransform the variable from physical space to Fourier space or vice verse in the horizontal.
SawyerEliassenSolver.Variables.horizontal_transform! — Methodhorizontal_transform!(
out::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T
)
SawyerEliassenSolver.Variables.horizontal_transform! — Methodhorizontal_transform!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
)
SawyerEliassenSolver.Variables.resolved — FunctionReturn a view into the resolved wavenumbers.
SawyerEliassenSolver.Variables.sine_transform — FunctionTransform the variable from physical space to sine space or vice verse in the vertical.
SawyerEliassenSolver.Variables.sine_transform! — Methodsine_transform!(out::XSVariable, in::XZVariable)
SawyerEliassenSolver.Variables.sine_transform! — Methodsine_transform!(out::XZVariable, in::XSVariable)
SawyerEliassenSolver.Variables.solve_poisson! — FunctionSolve the Poisson equation $\nabla^2\psi = -\zeta$ in Fourier–Sine space.
SawyerEliassenSolver.Variables.solve_poisson! — Methodsolve_poisson!(
out::FSVariable,
in::FSVariable
) -> SubArray{_A, 2, P, Tuple{UnitRange{Int64}, UnitRange{Int64}}, false} where {_A, P<:FSVariable}
SawyerEliassenSolver.Variables.transform! — MethodSafe transforms with domain validation for public use.
SawyerEliassenSolver.Variables.∂x — FunctionCompute one or more (n) $x$–derivatives returning a new variable.
SawyerEliassenSolver.Variables.∂x! — FunctionCompute one or more (n) $x$–derivatives.
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
v::SawyerEliassenSolver.Variables.AbstractVariable,
n::Int64
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
out::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
in::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
)
SawyerEliassenSolver.Variables.∂x! — Method∂x!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∂x — Method∂x(
v::SawyerEliassenSolver.Variables.AbstractVariable
) -> Any
SawyerEliassenSolver.Variables.∂x — Method∂x(
v::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
) -> Any
SawyerEliassenSolver.Variables.∂x — Method∂x(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
n::Int64
) -> Union{XCVariable, XSVariable, XZVariable}
SawyerEliassenSolver.Variables.∂x — Method∂x(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
) -> Union{XCVariable, XSVariable, XZVariable}
SawyerEliassenSolver.Variables.∂x — Method∂x(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
) -> Union{XCVariable, XSVariable, XZVariable}
SawyerEliassenSolver.Variables.∂z — FunctionCompute a $z$–derivative returning a new variable.
SawyerEliassenSolver.Variables.∂z! — FunctionCompute a $z$–derivative inplace.
SawyerEliassenSolver.Variables.∂z! — Method∂z!(out::FCVariable, in::FSVariable)
SawyerEliassenSolver.Variables.∂z! — Method∂z!(out::FSVariable, in::FCVariable)
SawyerEliassenSolver.Variables.∂z! — Method∂z!(out::XCVariable, in::XSVariable)
SawyerEliassenSolver.Variables.∂z! — Method∂z!(out::XSVariable, in::XCVariable)
SawyerEliassenSolver.Variables.∂z! — Method∂z!(
out::Union{FZVariable, XZVariable},
in::Union{FZVariable, XZVariable}
)
SawyerEliassenSolver.Variables.∂z — Method∂z(v::FCVariable) -> FSVariable
SawyerEliassenSolver.Variables.∂z — Method∂z(v::FSVariable) -> FCVariable
SawyerEliassenSolver.Variables.∂z — Method∂z(v::FZVariable) -> FZVariable
SawyerEliassenSolver.Variables.∂z — Method∂z(v::XCVariable) -> XSVariable
SawyerEliassenSolver.Variables.∂z — Method∂z(v::XSVariable) -> XCVariable
SawyerEliassenSolver.Variables.∂z — Method∂z(v::XZVariable) -> XZVariable
SawyerEliassenSolver.Variables.∂z² — FunctionCompute a second $z$–derivative returning a new variable.
SawyerEliassenSolver.Variables.∂z²! — FunctionCompute a second $z$–derivative inplace.
SawyerEliassenSolver.Variables.∂z²! — Method∂z²!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∂z²! — Method∂z²!(
out::Union{FCVariable, XCVariable},
in::Union{FCVariable, XCVariable}
)
SawyerEliassenSolver.Variables.∂z²! — Method∂z²!(
out::Union{FSVariable, XSVariable},
in::Union{FSVariable, XSVariable}
)
SawyerEliassenSolver.Variables.∂z² — Method∂z²(
v::Union{FCVariable, FSVariable, XCVariable, XSVariable}
) -> Union{FCVariable, FSVariable, XCVariable, XSVariable}
SawyerEliassenSolver.Variables.∫dx — FunctionCompute one or more $x$–antiderivatives returning a new variable.
SawyerEliassenSolver.Variables.∫dx! — FunctionCompute one or more $x$–antiderivatives inplace.
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(
v::SawyerEliassenSolver.Variables.AbstractVariable,
n::Int64
)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(
out::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
in::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
)
SawyerEliassenSolver.Variables.∫dx! — Method∫dx!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∫dx — Method∫dx(
v::SawyerEliassenSolver.Variables.AbstractVariable,
n::Int64
) -> Any
SawyerEliassenSolver.Variables.∫dx — Method∫dx(
v::SawyerEliassenSolver.Variables.AbstractVariable
) -> Any
SawyerEliassenSolver.Variables.∫dx — Method∫dx(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T,
n::Int64
) -> Union{XCVariable, XSVariable, XZVariable}
SawyerEliassenSolver.Variables.∫dx — Method∫dx(
v::Union{XCVariable{T}, XSVariable{T}, XZVariable{T}} where T,
tmp::Union{FCVariable{T}, FSVariable{T}, FZVariable{T}} where T
) -> Union{XCVariable, XSVariable, XZVariable}
SawyerEliassenSolver.Variables.∫dz — FunctionCompute a $z$–antiderivative returning a new variable.
SawyerEliassenSolver.Variables.∫dz! — FunctionCompute a $z$-antiderivative inplace.
SawyerEliassenSolver.Variables.∫dz! — Method∫dz!(out::FCVariable, in::FSVariable)
SawyerEliassenSolver.Variables.∫dz! — Method∫dz!(out::FSVariable, in::FCVariable)
SawyerEliassenSolver.Variables.∫dz! — Method∫dz!(out::XCVariable, in::XSVariable)
SawyerEliassenSolver.Variables.∫dz! — Method∫dz!(out::XSVariable, in::XCVariable)
SawyerEliassenSolver.Variables.∫dz — Method∫dz(v::FCVariable) -> FSVariable
SawyerEliassenSolver.Variables.∫dz — Method∫dz(v::FSVariable) -> FCVariable
SawyerEliassenSolver.Variables.∫dz — Method∫dz(v::XCVariable) -> XSVariable
SawyerEliassenSolver.Variables.∫dz — Method∫dz(v::XSVariable) -> XCVariable
SawyerEliassenSolver.Variables.∫dz² — FunctionCompute a second $z$–antiderivative returning a new variable.
SawyerEliassenSolver.Variables.∫dz²! — FunctionCompute a second $z$–antiderivative inplace.
SawyerEliassenSolver.Variables.∫dz²! — Method∫dz²!(v::SawyerEliassenSolver.Variables.AbstractVariable)
SawyerEliassenSolver.Variables.∫dz²! — Method∫dz²!(
out::Union{FCVariable, XCVariable},
in::Union{FCVariable, XCVariable}
)
SawyerEliassenSolver.Variables.∫dz²! — Method∫dz²!(
out::Union{FSVariable, XSVariable},
in::Union{FSVariable, XSVariable}
)
SawyerEliassenSolver.Variables.∫dz² — Method∫dz²(
v::Union{FCVariable, FSVariable, XCVariable, XSVariable}
) -> Union{FCVariable, FSVariable, XCVariable, XSVariable}