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

Dynamics references #528

Closed timspainNERSC closed 4 months ago

timspainNERSC commented 5 months ago

Dynamics references

Fixes #527

Avoid doing big copies in tight loops by passing references, rather than copying the data when calling the stress update functions.

The edited files have also been clang-formatted.