Recent content by icwchan

  1. I

    What is the Normalization Constant for a 3D Electron Gas in Free Space?

    Hint: consider identity 303 on the wikipedia page on Fourier transforms. and this thread: https://www.physicsforums.com/showthread.php?t=166505
  2. I

    I want to be practical but it is so boring

    Hi Tensor, I speak as a graduate student in electrical engineering. Did you know that the great theoretical physicist Paul Dirac (one of the founders of quantum mechanics) started his career as an electrical engineer? It's always possible to switch fields later, so don't feel that you're...
  3. I

    How to deal with long argument list

    Someone correct me if I'm wrong, but the impression I'm taking away from this is that with some caveats, I do not need to avoid globals like the plague (eg. okay for "world" data, keep it all in one file etc). Which is good, since that is the answer I was hoping for. Or I can try to pass around...
  4. I

    How to deal with long argument list

    Thanks for the quick reply, but I have no troubles understanding *how* to use global variables. My issue is *when*, if ever, can I or should I use them. The website you linked only addresses the former. More specifically, how does one handle situations in which large quantities of data need to...
  5. I

    How to deal with long argument list

    Hi everyone, So I'm familiar with the popular advice that global variables should be avoided whenever possible, but I'm wondering how seriously people in scientific programming obey this rule of thumb. I am current engaged in writing some code for semiconductor transport, and I'm finding that...