It is just multiple linear regression with sine and cosine terms. Everybody seems to reinvent this algorithm so I am not sure it has a name. Here is someone asking about it a couple of months ago:

In R, it is the application of the "lm" function.

Is that enough for you to go on?