Increment density value of certain cells by a constant amount

How to increase the density value of certain cells( may include boundary) by a constant amount in a lattice after each collision and streaming process? If some data processors can be implemented for the same, then how?