Skip to content

Reply To: An issue when running parallel simulations

#8395
Adrian
Keymaster

You can use the SuperF-accepting overload of SuperLattice::definePopulations instead. If the discretization is identical (as it needs to be for coupling two lattices) you can directly pass your populationA functor.

Communicate-to-all communicates the results of all evaluations to all processes. e.g. this can be used if all processes need to iterate over the whole simulation domain (but not all processes hold all data, i.e. parallelization is used).