PALEOtoolkit / PALEOboxes.jl

Model coupler for the PALEO model framework
https://PALEOtoolkit.github.io/PALEOboxes.jl
MIT License
2 stars 1 forks source link

Define cartesian_size for all grids #127

Closed sjdaines closed 3 months ago

sjdaines commented 3 months ago

Define 'cartesian_size' for all grids, including 'UnstructuredVectorGrid' and 'UnstructuredColumnGrid', returning a single dimension with length = number of cells.

This allows generic code eg in ReactionForceGrid to work for these grids, assuming the supplied forcing file has a single spatial dimension corresponding to the total number of cells in the model grid.