Optimize getting data shape
- Cache shape in structured grids
- Calculate without generating cell centers in unstructured grids
For structured grids in the 1y example, this brings chack_shape
from 3.5% to 1.25%.
Baseline simulation time for 365 steps goes down to 28ms.
Fixes #92 (closed)
Edited by Martin Lange