Template Function grid_do_ghosts

Function Documentation

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

Templated getter functions to check if this proc has to write any ghosts or not.

Template Parameters:

grid_t

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

  • write_ghosts[in] Does the user want to write ghosts in general?

Returns:

true, if this process has to write ghosts.

Returns:

false, otherwise.