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

Move logic related to partition file to ModelMetadata #515

Closed draenog closed 3 months ago

draenog commented 3 months ago

Currently reading and setting metadata related to MPI domain decomposition is done inside RectGrid classes. However the same functionality will be also needed in order to parallelise ParaGrid . So maybe the relevant code should be moved to ModelMetadata classes so it can be reused.