HeuristicLoadBalancer<T> loadBalancer(cuboidGeometry);
The above line is basically used to assigns cuboids to threads. Now if I want to write a sequential program then I can remove everything related to loadbalancer and MPI. I am not sure if doing this will serve my purpose of sequential code?
Actually sequential code is better to understand and that’s what I am trying right now.
it is not so easy. You may have a look in the sequential cavityXD examples. Additionally, you may consider coming to our next spring school where we provide a nice introduction into OpenLB.