Template Function num_cells_to_write

Function Documentation

template<typename grid_t>
t8_locidx_t num_cells_to_write(const grid_t grid, const bool write_ghosts)

Compute the number of cells to write on this process.

Template Parameters:

grid_t

Parameters:
  • grid[in] The forest/cmesh to use.

  • write_ghosts[in] Flag if we write ghosts on this proc.

Returns:

The number of cells to write on this process.