Function crpropa::dumpGrid(ref_ptr<Grid1f>, std::string, double)

Function Documentation

void crpropa::dumpGrid(ref_ptr<Grid1f> grid, std::string filename, double conversion = 1)

Dump a Grid1f to a binary file with single precision.

Parameters:
  • grid – a scalar grid (Grid1f)

  • filename – name of input file

  • conversion – multiply every point in grid by a conversion factor