Zakah on grains and fruits

There is an inheritance that has not been divided yet, how should the Zakah due on the yield of the palm trees be calculated?