Skip to main content

Crate bmi_rust

Crate bmi_rust 

Source
Expand description

§bmi-rust

AI Declaration Format

The Rust specification for the CSDMS Basic Model Interface.

§Installation

Add bmi-rust to your dependencies:

[dependencies]
bmi-rust = "0.1"

See the API documentation for the complete interface.

See bmi-example-rust for an example implementation of a BMI model in Rust.

§Contributing

See CONTRIBUTING.md for development and release instructions.

§References

§License

Apache-2.0. See the LICENSE file.

Enums§

GridType
Grid types defined by BMI 2.0.
Location
The location of a variable’s values on its grid.
RefValues
Borrowed numeric values used for direct reads and setter inputs.
Values
An owned copy of a variable’s numeric values, flattened in model order.

Traits§

Bmi
The CSDMS Basic Model Interface 2.0.

Type Aliases§

BmiResult
A BMI operation’s result, preserving the model’s error information.