/* This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
Copyright 2021 Peter Dunne */
//! # Magnet3D - Field calculations in 3D
/// This consists of modules for calculating magnetic fields due to
///
use ;
use MagnetTrait;
pub use *;
pub use *;
/// Enum to store the different 3D magnet types.
///
/// This allows us to create a Vec<MagnetType2D>, and access the fields of the magnet
/// struct with a match routine.
///
/// Magnet2D Traits