kernel_set
Stable type · Other
Tier: stable · Kind: type · Topic: Other
| Julia | TypeScript | Python | Rust | Go |
|---|---|---|---|---|
KernelSet | not exported | not exported | KernelSet | not exported |
Julia
struct KernelSet
KernelSet(kernels::OrderedCollections.OrderedDict{String, Kernel}, rhs::EarthSciAST.RhsProgram)
KernelSet(kernels, rhs)
KernelSet
The kernels of one compile_kernels
call: ks["name"], with one
u layout (state_layout
), one z layout (z_layout
), one
parameter vector (parameters
, parameter_vector
) and one
forcing signature (forcing_slots
, default_forcing_set
).
TypeScript
TypeScript does not export this type.
Python
Python does not export this type.
Rust
pub struct KernelSet {
/* private fields */
}
impl KernelSet { pub fn get(&self, name: &str) -> Option<&Kernel> }
impl KernelSet { pub fn names(&self) -> Vec<&str> }
impl KernelSet { pub fn state_layout(&self) -> &[StateBlock] }
impl KernelSet { pub fn z_layout(&self) -> &[StateBlock] }
impl KernelSet { pub fn n_states(&self) -> usize }
impl KernelSet { pub fn n_z(&self) -> usize }
impl KernelSet { pub fn parameters(&self) -> &[ParamSlot] }
impl KernelSet { pub fn parameter_vector(&self, overrides: &HashMap<String, f64>) -> Result<Vec<f64>, SimulateError> }
impl KernelSet { pub fn forcing_slots(&self) -> &[ForcingSlot] }
impl KernelSet { pub fn default_forcing(&self) -> ForcingSet }
The kernels of one compile_kernels
call, sharing one u / z layout,
one parameter vector and one forcing signature.
Go
Go does not export this type.