Text this: Calculation of energy release function of focused ion beam in solids