mountaindust/Planktos

Analytic flow resolution

mountaindust opened this issue · 2 comments

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".

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.

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.