Skip to content

Optimize getting data shape

Martin Lange requested to merge optimize-data-shape into main
  • 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

Merge request reports

Loading