Corentin Cadiou
Corentin Cadiou
Gotcha! Here's more info: ```bash $ python -c "import yt" # fails with `ImportError: [...]/yt/utilities/lib/image_samplers.cpython-312-x86_64-linux-gnu.so # undefined symbol: __cxa_call_terminate` $ ldd yt/utilities/lib/image_samplers.cpython-312-x86_64-linux-gnu.so [...] libstdc++.so.6 => ~/miniforge3/envs/py312/lib/libstdc++.so.6 (0x00007fd779101000) [...] # If...
The gcc/g++ version that is being used by default is the system one. Or are you saying one should install gcc/g++ with conda? I'm not sure there's any actionable solution...
I'm not sure this code is correct, won't `xdata[1:]` raise an exception if its length is 0?
As a side note, the off-axis AMR renderer #4741 could be reused for an SPH renderer by replacing https://github.com/yt-project/yt/blob/cadddb637edbca19b1c0c0e4e0ece37fcfa134ca/yt/utilities/lib/image_utilities.pyx#L212-L221 for SPH kernel. The way it works is by pre-computing the...
Today I learned you can add LaTeX into GitHub comments! You are right that, for AMR datasets, cell size ratios are powers of two (or inverse of them). However, the...
Thanks for the report. This is indeed a bug. Did you manage to fix it manually? I never work with timestamps myself.
This has to be historical - most of the lines in `physical_constants` are 10+ years old.
I'm not sure I understand what you mean. To clarify, before this PR, `max_level` would be the *actual* level reached anywhere in the simulation. This PR replaces it with the...
I see. I guess the issue is that, although `max_level` is defined for all datasets afaik, `MaximumRefinementLevel` is Enzo-specific. There is a similar parameter for RAMSES, but it has a...
Yes. At present, what the code does is: 1. Compute how many pixels $N$ the largest cell covers, 2. Compute once what a cell of this size seen from the...