Regridding GBPtrees grids

Functions

void regrid_gbptrees(const std::string fname_in, const std::string fname_out, const int new_dim)

Regrid a gbptrees file.

Parameters
  • fname_in – The path to the input file to be regridded

  • fname_out – The path to the new output file to be created

  • new_dim – The new size of the grid (assuming cubic dimensions)