2.8.3. Choosing levelmax
For sink-centered local models, a lower levelmax is often good enough for
visual work and can be much cheaper.
For run='20z-18s180-395NIMHD', iout=440, sink=178, using the same
physical box and the same rendered image:
levelmax=18,npix=32: export about0.7 s, image about0.3 slevelmax=19,npix=64: export about2.5 s, image about1.4 slevelmax=20,npix=128: export about23 s, image about8.3 s
These images were compared at:
128 x 128pixels300 micronsizeau=100
In the validated case, levelmax=19 was visually close to 20 while
reducing end-to-end time from about 31 s to about 4 s.
start with
levelmax=19for sink-centered disk imagesuse
levelmax=20if peak brightness or inner structure mattersuse
levelmax=18mainly for quick previews
The figure below compares the validated levelmax=18, 19, and 20
images for the same sink-centered box and the same rendered image plane:
At about 128^3 voxels, the difference is noticeable but still modest for a
single run. It becomes more relevant around 256^3 and very relevant around
512^3 or larger, especially if you run many snapshots or multiple images
per thermal model.