magba 0.6.0

Magnetic computation library for Rust
Documentation
/*
 * Magba is licensed under The 3-Clause BSD, see LICENSE.
 * Copyright 2025 Sira Pornsiriprasert <code@psira.me>
 */

//! Current source geometries that generate magnetic fields.

mod circular;
mod current;
#[cfg(feature = "alloc")]
mod path;
#[cfg(feature = "mesh")]
mod sheet;
mod triangle;

pub use circular::CircularCurrent;
pub use current::Current;
#[cfg(feature = "alloc")]
pub use path::PathCurrent;
#[cfg(feature = "mesh")]
pub use sheet::SheetCurrent;
pub use triangle::TriangleCurrent;