Debugging

Compile and run your routine with the main program ``getallEsdebug.c'' in Appendix B. The program calls your routines to get and print out the energies of the filled states for the carbon atom. Carbon has electrons in three states: ``1s'' (l=0 with zero nodes), ``2s'' (l=0 with one node), and ``2p'' (l=1 with zero nodes). Note that, for now, we ignore electron-electron interactions and are taking the potential for carbon to be just V[k]=-Z/r[k], where Z=6. Verify that your results approach the correct analytic results with the expected error scaling with N.


Tomas Arias 2004-02-27