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

Make the advected field type array non-const #644

Closed timspainNERSC closed 3 months ago

timspainNERSC commented 3 months ago

Make the advected field type array non-const

Fixes #643

The DynamicsKernel::fieldType map is decalred const. That's not very useful for a member variable that should be read and written.

Should also fix the deleted constructor problem for the Intel compiler.