Version: dev

decomposition

Stable type · Other

Tier: stable · Kind: type · Topic: Other

JuliaTypeScriptPythonRustGo
Decompositionnot exportednot exportedDecompositionnot exported

Julia

struct Decomposition
Decomposition(axes::Vector{Pair{String, Union{Nothing, Int64}}}, faces::Vector{Pair{String, String}})
Decomposition(axes, faces)
Decomposition(; axes, faces)
Decomposition(; axes, faces = [])

A horizontal decomposition (API_SPEC §5.8): the index sets a tiling cuts, each with its period (nothing when the axis is not periodic; otherwise the axis’s global extent), and the face sets that stagger off a cut axis ("lon_nodes" => "lon"). Every other index set is whole on every tile.

dec = Decomposition(axes = ["lon" => (period = 144,), "lat" => (period = nothing,)],
                    faces = ["lon_nodes" => "lon"])

Source

TypeScript

TypeScript does not export this type.

Python

Python does not export this type.

Rust

pub struct Decomposition {
    pub axes: Vec<AxisCut>,
    pub faces: Vec<(String, String)>,
}

The horizontal decomposition a tile cuts (RFC U3 §1): the decomposed index sets and the face sets that stagger off them, (face set, cell set). Every other index set is whole on every tile.

Source · Rust docs

Go

Go does not export this type.