Skip to content

Reply To: NSlattice.getLoadBalancer().size() is always 1 independent of blocks number

Due to recent bot attacks we have changed the sign-up process. If you want to participate in our forum please send a message via our contact form.

Forums OpenLB General Topics NSlattice.getLoadBalancer().size() is always 1 independent of blocks number Reply To: NSlattice.getLoadBalancer().size() is always 1 independent of blocks number

#7826
Adrian
Keymaster

The LoadBalancer::size method returns the rank-local number of cuboids, i.e. the number of blocks that each MPI process individually needs to process. The sum of the individual sizes is the total number of cuboids in the block decomposition.

For most situations it is sufficient to divide the problem into one block per process which is what you observe here.