Function crpropa::dumpGridToTxt(ref_ptr<Grid3f>, std::string, double)

Function Documentation

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

Dump a Grid3f to a plain text file.

Parameters:
  • grid – a vector grid (Grid3f)

  • filename – name of output file

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