1#ifndef PHYTH_MAGNETIC_SOURCE_HPP
2#define PHYTH_MAGNETIC_SOURCE_HPP
Abstract base class for all magnetic field sources.
virtual Vector3< Quantity< Tesla > > GetMagneticFieldAt(const Vector3< Quantity< Meter > > &point) const =0
Compute the magnetic field at a point in space.
virtual ~MagneticSource()=default
constexpr bool is_magnetic_source_v
Type trait to check if a type is a MagneticSource.
Physical quantity with a value and a compile-time unit.
3D vector with Quantity components