BoldingBruggeman / getm-rewrite

Rewrite of the General Estuarine Transport Model (GETM) in Python (mostly) and Fortran (performance-critical sections)
https://pygetm.readthedocs.io/
Other
7 stars 3 forks source link

More granular allocation of grid related variables #16

Open bolding opened 2 years ago

bolding commented 2 years ago

Only allocated required grid related variables - e.g. alpha only for U and V grids

jornbr commented 2 years ago

One option would be to make variables that are only relevant for a subset of grids simply not part of the grid object. Those variables could stay at the python/Simulation side, and be passed to Fortran algorithms as appropriate.

bolding commented 2 years ago

Added only for collective memory - will be part of general clean-up/polishing later