Crates.io | cfsem |
lib.rs | cfsem |
version | 1.1.0 |
source | src |
created_at | 2024-07-09 21:01:01.062435 |
updated_at | 2024-08-27 14:15:58.891909 |
description | Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov. |
homepage | https://github.com/cfs-energy/cfsem-rs |
repository | https://github.com/cfs-energy/cfsem-rs |
max_upload_size | |
id | 1297477 |
size | 94,735 |
Quasi-steady electromagnetics including filamentized approximations, Biot-Savart, and Grad-Shafranov.
To avoid duplication, most tests and example applications are found with the Python bindings.
This library makes use of FMA (fused multiply-add) instructions; as a result, its performance benefits significantly from enabling the +fma
flag for x86 targets. See this project's rustc config for an example configuration enabling FMA for x86 targets. aarch64 targets (such as Apple and Raspberry Pi processors) have FMA enabled by default.
To include this library in a Rust project, add an entry to your Cargo.toml's [dependencies]
section:
cfsem = "*"
For Python installation, see the docs for the Python library.
Benchmarks are configured in Cargo.toml, and can be run via cargo:
cargo bench
Contributions consistent with the goals and anti-goals of the package are welcome.
Please make an issue ticket to discuss changes before investing significant time into a branch.
Goals
Anti-Goals
Licensed under either of
at your option.