Function Acts::createGrid(std::array<double, 3>, std::array<double, 3>, std::array<double, 3>)

Function Documentation

Grid3D Acts::createGrid(std::array<double, 3> gridAxis1, std::array<double, 3> gridAxis2, std::array<double, 3> gridAxis3)

Helper method that creates the cache grid for the mapping.

This grid allows the collection of material at a the anchor points.

Note

The data of the axes is given in the std::array as {minimum value, maximum value, number of bins}

Return

The grid

Parameters
  • [in] gridAxis1: Axis data

  • [in] gridAxis2: Axis data

  • [in] gridAxis3: Axis data