Template Function grid_get_dim

Function Documentation

template<typename grid_t>
int grid_get_dim(const grid_t grid)

Get the dimension of the grid.

Template Parameters:

grid_t

Parameters:

grid[in] A forest/cmesh.

Returns:

The dimension of the grid.