Change the domain decomposition

Hi All,

I want to change the default palabos domain decomposition, is there a way to do that?

is it by using threadAttribution?

Best Regards


yes, there is a way to do that - you need to create a sparseBlockStructure and a threadAttribution and use those to create a new lattice. Unfortunately, I don’t have an example code at hand, but you could also take a look at the example codesByTopic/reparallelize.


Hi Philippe,

That’s helped me a lot thank you Philippe. One more question, if I am not bothering, can I do a non-uniform domain decomposition with palabos?