Numerical modelling of tissue heating by means of the electromagnetic field