I have just started using Palabos and would like to know if it stores distributions in a single array or two arrays (like f_new and f_old).
Dear siddharth,
Palabos stores distributions in a single array. For collision and streaming it uses an in-place algorithm known as “the swap-trick”. Both collision and streaming work on the same set of particle populations. Memory is never overwritten in the streaming step, variables are only swapped. Collision and streaming are executed synchronously, so memory is traversed only once.
Best,
D.