Physics – Condensed Matter – Mesoscale and Nanoscale Physics
Scientific paper
2003-02-26
Physics
Condensed Matter
Mesoscale and Nanoscale Physics
4 pages
Scientific paper
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. The language C# invented by Microsoft is adopted in this project. 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 clearly distinguish between model independent and dependent parts, and we use familiar terminologies like {\sf Hamiltonian}, {\sf HilbertSpace}, {\sf GroundState}, {\it etc} as class names. As an explicit example, we calculate ground state energy of a quantum dot, showing the triplet-singlet transition.
No associations
LandOfFree
Physics0.01 : Object-Oriented Programming for Exact Diagonalization does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.
If you have personal experience with Physics0.01 : Object-Oriented Programming for Exact Diagonalization, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Physics0.01 : Object-Oriented Programming for Exact Diagonalization will most certainly appreciate the feedback.
Profile ID: LFWR-SCP-O-529243