Closed danmackinlay closed 2 years ago
The upsample function changed the dimension order in a previous version. Upgrading to the latest version should fix it.
pip uninstall phiflow
pip install --upgrade --quiet git+https://github.com/tum-pbs/PhiFlow@2.2-develop
I added the fix to develop
as well, so it will be part of 2.1.4, to be released soon.
If we generate a random field and upsample we see that the resulting fields are transposed (if you can't see it, look at the two darker blue dots)
MRE