Skip to content

Reply To: simulateWithTwoWayCoupling


Dear Rookie,

removing the const keyword shouldn’t have any impact as long as you don’t try to manipulate the values that are stored in it.

Could you please clarify what you replaced with int overlap = 2; and why?

The overlap defines the size of the area in which the communication of data happens. For communication, the blocks must so that storage for the necessary neighborhood data is provided and accessible. Usually an overlap of 2 is sufficient.

Best regards,