Reply To: An issue when running parallel simulations
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › An issue when running parallel simulations › Reply To: An issue when running parallel simulations
March 19, 2024 at 7:00 pm
#8419
Adrian
Keymaster
Ok, this is indeed a bug in the code. You should be able to fix it by changing line 142 of src/core/blockLattice.hh
to:
popF(pop, loc.data());
or using SuperLattice::defineField<POPULATION>
Sorry about this and thanks for discovering this issue!
I also pushed a fix to the public branch.