Reply To: Modifying field values for neighboring cells inside a postprocessor
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Modifying field values for neighboring cells inside a postprocessor › Reply To: Modifying field values for neighboring cells inside a postprocessor
August 8, 2024 at 6:01 pm
#9061
Danial.Khazaeipoul
Participant
I was just wondering that the flood-fill algorithm can be implemented in both recursive or iterative method. Given your explanation, I believe if I try to replace my current iterative approach with the recursive one, it eliminates the need for a queueing container.
It would still be very appreciated if you could explain the best approach to implement the iterative approach which seems to offer better performance while also using less memory.