
{"id":12,"date":"2016-06-13T00:32:00","date_gmt":"2016-06-13T00:32:00","guid":{"rendered":"https:\/\/aamiddle.expressions.syr.edu\/?page_id=12"},"modified":"2016-06-15T12:35:23","modified_gmt":"2016-06-15T16:35:23","slug":"code","status":"publish","type":"page","link":"https:\/\/aamiddle.expressions.syr.edu\/?page_id=12","title":{"rendered":"Code"},"content":{"rendered":"<h5>Ising model partition function and free energies<\/h5>\n<p>This code calculates\u00a0the partition function and free energies of the Ising model on a (periodic) square lattice, for arbitrary nearest neighbor couplings. The code can be used for ferromagnets as an example: plot the free energy, heat capacity, etc., as a function of temperature and system size. The code includes several simple application sets: timing of the code, domain wall energies for a few small samples, and reading off the density of states from the partition function. The code uses nested dissection to evaluate the Pfaffians. For moderate sized samples, it requires multi-precision arithmetic.<\/p>\n<ul>\n<li>Repository\u00a0<a href=\"https:\/\/github.com\/a-alan-middleton\/IsingPartitionFn\">https:\/\/github.com\/a-alan-middleton\/IsingPartitionFn<\/a><\/li>\n<li><a href=\"http:\/\/arxiv.org\/abs\/1301.1252\">cond-mat\/1301.1252<\/a> (arxiv version of the paper describing code).<\/li>\n<li><a href=\"https:\/\/aamiddle.expressions.syr.edu\/wp-content\/uploads\/2016\/06\/ThomasMiddletonPRE2013.pdf\" rel=\"\">ThomasMiddletonPRE2013<\/a>\u00a0(local copy of the published paper).<\/li>\n<\/ul>\n<p><em>This work was supported in part by the National Science Foundation, under grant DMR-1006731 (CMMT).<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ising model partition function and free energies This code calculates\u00a0the partition function and free energies of the Ising model on a (periodic) square lattice, for arbitrary nearest neighbor couplings. The code can be used for ferromagnets as an example: plot the free energy, heat capacity, etc., as a function of temperature and system size. The &hellip; <a href=\"https:\/\/aamiddle.expressions.syr.edu\/?page_id=12\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Code&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/pages\/12"}],"collection":[{"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=12"}],"version-history":[{"count":7,"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/pages\/12\/revisions"}],"predecessor-version":[{"id":115,"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=\/wp\/v2\/pages\/12\/revisions\/115"}],"wp:attachment":[{"href":"https:\/\/aamiddle.expressions.syr.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=12"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}