Function crpropa::fromMagneticFieldStrength
Defined in File GridTools.cpp
Function Documentation
-
void crpropa::fromMagneticFieldStrength(ref_ptr<Grid1f> grid, ref_ptr<MagneticField> field)
Fill scalar grid from provided magnetic field.
- Parameters:
grid – a scalar grid (Grid1f)
field – the magnetic field