Harshad (niven) generator