nextsimhub / nextsimdg

neXtSIM_DG : next generation sea-ice model with DG
https://nextsim-dg.readthedocs.io/en/latest/?badge=latest
Apache License 2.0
10 stars 13 forks source link

Optimisation of the BBM rheology #539

Closed einola closed 1 month ago

einola commented 7 months ago

The BBM rheology code still performs matrix inversions at every time step, which only needs to be done once. This slows the code down considerably. The solution is to perform these inversions at the start of the model, similar to what is done with the mEVP code.