Function crpropa::fromMagneticFieldStrength

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