The attached notebook shows the discontinuity of the complex function as it should. However, one introduces A Log function using IF- statement to 2 Pi I when arg [z] < 0 to circumvent the discontinuity. While this works well in some cases (as shown in the attached notebook), it does not work when using a different set of parameters (as shown in the attached notebook).
I was wondering if there is a broader and more robust way that encompasses the second plot shown at the end of the attached notebook.
You cannot redefine Log in the complex plane without discontinuities. You may have studied that the vector field (x,-y)/(x^2+y^2) has locally a potential but not globally. It is basically the same thing.
Thank you for your note. MyLog still works physically for all intents and purposes; in fact it renders accurate data. If any discontinuities left, they are negligibly insignificant.