Boundary wall function prototype.