PHYSICS0.01: OBJECT-ORIENTED PROGRAMMING FOR EXACT DIAGONALIZATION
Myung-Hoon Chung ()
Additional contact information
Myung-Hoon Chung: College of Science and Technology, Hong-Ik University, Chochiwon, Choongnam 339-800, Korea
International Journal of Modern Physics C (IJMPC), 2004, vol. 15, issue 01, 185-192
Abstract:
A new system of library code is proposed and initiated. It is emphasized that the same terminologies as we find in our textbooks should be used for class names in the library code. This proposal is inspired by .NET of Microsoft. Several rules of thumb are suggested in order to obtain easy-readable coherent codes. As a first step, we present the library code for exact diagonalization in physics. When we build codes, we distinguish between model independent and dependent parts. For the model independent parts, we use the familiar terminologies like$\mathsf{Hamiltonian, HilbertSpace, GroundState}$, etc as class names. As an explicit example, we calculate ground state energy of a quantum dot, showing the triplet–singlet transition.
Keywords: Object-oriented programming; .NET; C#; exact diagonalization; 07.05.Bx; 89.20.Ff; 73.21.La (search for similar items in EconPapers)
Date: 2004
References: View complete reference list from CitEc
Citations:
Downloads: (external link)
http://www.worldscientific.com/doi/abs/10.1142/S0129183104005607
Access to full text is restricted to subscribers
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:wsi:ijmpcx:v:15:y:2004:i:01:n:s0129183104005607
Ordering information: This journal article can be ordered from
DOI: 10.1142/S0129183104005607
Access Statistics for this article
International Journal of Modern Physics C (IJMPC) is currently edited by H. J. Herrmann
More articles in International Journal of Modern Physics C (IJMPC) from World Scientific Publishing Co. Pte. Ltd.
Bibliographic data for series maintained by Tai Tone Lim ().