mountaindust / Planktos

ABM framework for dispersal modeling
https://planktos.readthedocs.io
GNU General Public License v3.0
5 stars 3 forks source link

Analytic flow resolution #16

Closed mountaindust closed 3 years ago

mountaindust commented 6 years ago

Currently, it appears that 1D analytic flow is always specified on a perfect square or cube, (res,res) or (res,res,res), regardless of the length of the y or z direction. The broadcasting should be length dependent.

Also, it would be nice to be able to specify a resolution of "100" rather than needing to include both endpoints, "101".

mountaindust commented 6 years ago

So far, I think all analytic flow only depends on the z direction. If this is the case, resolution in any of the other directions is actually a waste.

mountaindust commented 3 years ago

Since the resolution only counts in one dimension, the original purpose of this is moot. The user can put in whatever resolution they want. And while this will be broadcast to other directions, they don't matter at all. Yes, it is a waste of memory, but this is insignificant all things considered. More important is the efficiency waste, since you're doing a 2D or 3D interpolation when you only need to do 1D. But this is very low on the priority list at the moment, since it's only valid for specific applications.