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