diff --git a/beaker-notebooks/errorbars_html.bkr b/beaker-notebooks/errorbars_html.bkr index d743a376527f0d2382525bd8fcd45e804b3a9709..a311aeb53000edbd86aede5f55e791f7d62392da 100644 --- a/beaker-notebooks/errorbars_html.bkr +++ b/beaker-notebooks/errorbars_html.bkr @@ -44,7 +44,7 @@ "<b> Beaker Notebook:</b> Björn Bieniek, Mikkel Strange, and Christian Carbogno. <br> <br> ", "<b> Curated VASP data: </b>Elisabeth Wruss, and Oliver T. Hofmann, <i>Institute of Solid State Physics, Graz University of Technology, NAWI Graz, Petergasse 16, 8010 Graz, Austria</i><br>", " <b>Curated GPAW data:</b> Mikkel Strange, and Kristian Sommer Thygesen, <i>CAMD, Department of Physics, Technical University of Denmark. Fysikvej 1 2800 Kgs. Lyngby, Denmark</i><br>", - " <b>Curated exciting data: </b>Sven Lubeck and Andris Gulans, <i>Humboldt-Universität zu Berlin, Department of Physics, Zum Grossen Windkanal 6, D-12489 Berlin</i><br>", + " <b>Curated exciting data: </b>Sven Lubeck, and Andris Gulans, <i>Humboldt-Universität zu Berlin, Department of Physics, Zum Grossen Windkanal 6, D-12489 Berlin</i><br>", " <b>Curated FHI-aims data: </b>Björn Bieniek, and Christian Carbogno, <i>Fritz-Haber-Institut der Max-Planck-Gesellschaft, Faradayweg 4-6, D-14195 Berlin, Germany</i></p>", "", "", @@ -83,9 +83,9 @@ "#ply.offline.init_notebook_mode() # allows output in notebook", "", "# Path to files", - "base_path='/home/beaker/'", + "base_path='/home/beaker/test/errorbars/'", "", - "sys.path.append(base_path)", + "#sys.path.append(base_path)", "from errorbar_base import *", "", "# Set label sizes globally", @@ -254,7 +254,7 @@ "selectedType": "Hidden", "pluginName": "IPython", "shellId": "4CE22EA14B7A45608ED58BBCC25D6400", - "elapsedTime": 628, + "elapsedTime": 652, "height": 51 }, "evaluatorReader": true, @@ -305,8 +305,8 @@ "selectedType": "Results", "pluginName": "IPython", "shellId": "4CE22EA14B7A45608ED58BBCC25D6400", - "elapsedTime": 137974, - "height": 56 + "elapsedTime": 140937, + "height": 55 }, "evaluatorReader": true, "lineCount": 21, @@ -318,7 +318,7 @@ "title": "Introduction", "level": 1, "evaluatorReader": false, - "collapsed": true + "collapsed": false }, { "id": "markdownNpN3Pg", @@ -344,6 +344,347 @@ ], "evaluatorReader": false }, + { + "id": "sectionvanCsD", + "type": "section", + "title": "Elemental solids [1]", + "level": 3, + "evaluatorReader": false, + "collapsed": true + }, + { + "id": "code9lvYwR", + "type": "code", + "evaluator": "HTML", + "input": { + "body": [ + "<img id=\"gif\" src=\"/home/beaker/test/errorbars/periodic_table_elemental_solids.png\"/>" + ], + "hidden": true + }, + "output": { + "state": {}, + "result": { + "type": "BeakerDisplay", + "innertype": "Html", + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<img id=\"gif\" src=\"/home/beaker/test/errorbars/periodic_table_elemental_solids.png\">" + }, + "selectedType": "BeakerDisplay", + "elapsedTime": 0, + "height": 0 + }, + "evaluatorReader": true, + "lineCount": 1 + }, + { + "id": "sectionQs0VvY", + "type": "section", + "title": "References", + "level": 4, + "evaluatorReader": false, + "collapsed": true + }, + { + "id": "markdown54zmMO", + "type": "markdown", + "body": [ + "<b>[1]</b> K. Lejaeghere et al., Science 351 (2016).<br>" + ], + "evaluatorReader": false + }, + { + "id": "section8gjtcc", + "type": "section", + "title": "Binary systems\n", + "level": 3, + "evaluatorReader": false, + "collapsed": true + }, + { + "id": "codetRSclp", + "type": "code", + "evaluator": "HTML", + "input": { + "body": [ + "<img id=\"gif\" src=\"/home/beaker/test/errorbars/periodic_table_binaries.png\"/>" + ], + "hidden": true + }, + "output": { + "state": {}, + "result": { + "type": "BeakerDisplay", + "innertype": "Html", + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<img id=\"gif\" src=\"/home/beaker/test/errorbars/periodic_table_binaries.png\">" + }, + "selectedType": "BeakerDisplay", + "elapsedTime": 0, + "height": 0 + }, + "evaluatorReader": true, + "lineCount": 1 + }, + { + "id": "sectionN7CQIk", + "type": "section", + "title": "References", + "level": 4, + "evaluatorReader": false, + "collapsed": true + }, + { + "id": "markdowncezlM8", + "type": "markdown", + "body": [ + "[1]", + " AM ANTYUKHOV. THE VEGARD LAW IN THE CASE OF SOLID-SOLUTIONS OF THE INP-INAS SYS-", + "TEM. INORGANIC MATERIALS, 22(3):426, MAR 1986. <br>", + "[2]", + " AM Antyukhov. The vegard law in the case of solid solutions of the inp-inas system.", + " Inorg. Mater.(Engl.", + "Transl.);(United States), 22(3), 1986. <br>", + "[3]", + " V.G. Artjushenko, P.B. Baskov, V.F. Golovanov, G.M. Kuzmicheva, I.S. Lisitskii, M.D. Musina, G.V.", + "Polyakova, V.V. Sakharov, and T.V. Sakharova. Synthesis and structural properties of agcl1 x br x (x =", + "0.50.8) solid solutions. Inorganic Materials, 41(1):73, 2005. <br>", + "[4]", + " H. Baaziz, Z. Charifi, F. El Haj Hassan, S. J. Hashemifar, and H. Akbarzadeh. Fp-lapw investigations of", + "zn1xbexs, zn1xbexse and zn1xbexte ternary alloys. physica status solidi (b), 243(6):1296–1305, 2006. <br>", + "[5]", + " Z. Barnea and B. Post. Debye-Waller factors of cesium chloride. Acta Crystallographica, 21(1):181–182, Jul 1966. <br>", + "[6]", + " C. A. BARRETT and E. B. EVANS. Solid solubility and lattice parameter of nio-mno. Journal of the American", + "Ceramic Society, 47(10):533–533, 1964. <br>", + "[7]", + " W. T. Barrett and W. E. Wallace. Studies of nacl-kcl solid solutions. i. heats of formation, lattice spacings,", + "densities, schottky defects and mutual solubilities. Journal of the American Chemical Society, 76(2)366–369, 1954. <br>", + "[8]", + " J.L. Baudour, M.M. Granger, L. Toupet, R. Granger, and R. Triboulet. Composition dependence of thermal", + "vibrations in hg1xznxte solid solutions determined by x-ray diffraction. Journal of Physics and Chemistry of Solids,", + "50(3):309 – 318, 1989. <br>", + "[9]", + " A.M. Bolarn, F. Snchez, S. Palomares, J.A. Aguilar, and G. Torres-Villaseor. Synthesis of calcium doped", + "lanthanum manganite by mechanosynthesis. Journal of Alloys and Compounds, 436(12):335 – 340, 2007. <br>", + "[10]", + " A. A. Bolzan, C. Fong, B. J. Kennedy, and C. J. Howard. Structural Studies of Rutile-Type Metal Dioxides.", + "Acta Crystallographica Section B, 53(3):373–380, Jun 1997. <br>", + "[11-12]", + " R.C. Brown and N.J. Clark. Composition limits and vaporization behaviour of rare earth nitrides. Journal of", + "Inorganic and Nuclear Chemistry, 36(11):2507 – 2514, 1974. <br>", + "[13]", + " J. D. Browne, P. R. Liddell, R. Street, and T. Mills. An investigation of the antiferromagnetic transition of", + "crn. physica status solidi (a), 1(4):715–723, 1970. <br>", + "[14]", + " LD BROWNLEE. THE PSEUDO-BINARY SYSTEMS OF URANIUM CARBIDE WITH ZIRCONIUM CAR-", + "BIDE, TANTALUM CARBIDE, AND NIOBIUM CARBIDE.", + " JOURNAL OF THE INSTITUTE OF METALS,", + "87(2):58, 1958. <br>", + "[15]", + " S.R. Butler and J.L. Gillson. Crystal growth, electrical resistivity and lattice parameters of ruo2 and iro2.", + "Materials Research Bulletin, 6(2):81 – 89, 1971. <br>", + "[16]", + " N. M. Butt, K. D. Rouse, M. W. Thomas, and B. T. M. Willis. Debye–Waller factors of KBr at 4.2 and 295", + "K. Acta Crystallographica Section A, 34(6):840–842, Nov 1978. <br>", + "[17]", + " T. Chattopadhyay, J. Pannetier, and H.G. Von Schnering. Neutron diffraction study of the structural phase", + "transition in sns and snse. Journal of Physics and Chemistry of Solids, 47(9):879 – 885, 1986. <br>", + "[18]", + " Xiang-Rong Chen, Xiao-Feng Li, Ling-Cang Cai, and Jun Zhu. Pressure induced phase transition in zns. Solid", + "State Communications, 139(5):246 – 249, 2006. <br>", + "[19]", + " T. D. CHIKALLA, C. E. McNEILLY, and F. P. ROBERTS. Polymorphic modifications of pm2o3. Journal of the", + "American Ceramic Society, 55(8):428–428, 1972. <br>", + "[20]", + " H. R. Child, M. K. Wilkinson, J. W. Cable, W. C. Koehler, and E. O. Wollan. Neutron diffraction investigation", + "of the magnetic properties of compounds of rare-earth metals with group v anions. Phys. Rev., 131:922–931,", + "Aug 1963. <br>", + "[21-22]", + " A CIMINO and M MAREZIO. LATTICE PARAMETER AND DEFECT STRUCTURE OF CADMIUM OXIDE", + "CONTAINING FOREIGN ATOMS. JOURNAL OF PHYSICS AND CHEMISTRY OF SOLIDS, 17(1):57, 1960. <br>", + "[23]", + " Pietro Cortona. Direct determination of self-consistent total energies and charge densities of solids: A study", + "of the cohesive properties of the alkali halides. Phys. Rev. B, 46:2008–2014, Jul 1992. <br>", + "[24]", + " Pietro Cortona. Direct determination of self-consistent total energies and charge densities of solids: A study", + "of the cohesive properties of the alkali halides. Phys. Rev. B, 46:20082014, Jul 1992. <br>", + "[25]", + " R.Lindsay Davis and Colin H.L. Kennard. Thermal parameters for lithium halides. Journal of Solid State Chemistry,", + "64(2):217 – 219, 1986. <br>", + "[26]", + " Suraj Deore, Fen Xu, and Alexandra Navrotsky. Oxide-melt solution calorimetry of selenides: Enthalpy of", + "formation of zinc, cadmium, and lead selenide. American Mineralogist, 93(5-6):779–783, 2008. <br>", + "[27]", + " V. T. Deshpande and D. B. Sirdeshmukh. Thermal expansion of ammonium bromide, rubidium bromide and", + "rubidium chloride. Acta Crystallographica, 14(4):353–355, Apr 1961. <br>", + "[28]", + " P. Deus, U. Voland, and H. A. Schneider. Thermal expansion of gap within 20 to 300 k. physica status solidi (a),", + "80(1):K29–K32, 1983. <br>", + "[29]", + " Fritz Ebert and Hans Woitinek. Kristallstrukturen von fluoriden. ii. hgf, hgf2, cuf und cuf2.", + " Zeitschrift fr", + "anorganische und allgemeine Chemie, 210(3):269, 1933. <br>", + "[30]", + " Efrain E. Rodriguez, , Frederic Poineau, Anna Llobet, Alfred P. Sattelberger, , Joydeep Bhattacharjee,", + "Umesh V. Waghmare, Thomas Hartmann, , and Anthony K. Cheetham*. Structural studies of tco2 by neutron", + "powder diffraction and first-principles calculations. Journal of the American Chemical Society, 129(33):10244, 2007.", + "PMID: 17655304. <br>", + "[31-36]", + " Peter Ettmayer, Johann Waldhart, Alfred Vendl, and Gerhard Banik. ber die mischbarkeit von thc mit lan,", + "cen, prn, ndn, smn, gdn und ern. Monatshefte fr Chemie / Chemical Monthly, 111(5):1185, 1980. <br>", + "[37]", + " CM Fang and G de With. Crystal structure and chemical bonding of the high-pressure phase of MgAl2O4 from", + "first-principles calculations. PHILOSOPHICAL MAGAZINE A-PHYSICS OF CONDENSED MATTER STRUCTURE", + "DEFECTS AND MECHANICAL PROPERTIES, 82(15):2885, OCT 2002. <br>", + "[38]", + " Boniface P.T. Fokwa, Patrick R.N. Misse, Michael Gilleen, and Richard Dronskowski. Sn-flux syntheses, char-", + "acterizations and bonding analyses of osb and tib2. Journal of Alloys and Compounds, 489(2):339 – 342, 2010. <br>", + "[39]", + " R. J. Gambino, R. R. Ruf, T. R. McGuire, and P. Fumagalli. Magnetic, magnetooptic, and transport properties", + "of tbdoped eus films. Journal of Applied Physics, 70(10):6386–6388, 1991. <br>", + "[40]", + " J. Gatterer, G. Dufek, P. Ettmayer, and R. Kieffer. Das kubische tantalmononitrid (b 1-typ) und seine", + "mischbarkeit mit den isotypen bergangsmetallnitriden und-carbiden. Monatshefte fr Chemie / Chemical Monthly,", + "106(5):1137–1147, 1975. <br>", + "[41]", + " V. Geist and C. Ascheron. The proton-induced kossel effect and its application to crystallographic studies.", + "Crystal Research and Technology, 19(9):1231, 1984. <br>", + "[42]", + " Yun-Dong Guo, Xin-Lu Cheng, Li-Ping Zhou, Zi-Jiang Liu, and Xaing-Dong Yang. First-principles calculation", + "of elastic and thermodynamic properties of mgo and sro under high pressure. Physica B: Condensed Matter,", + "373(2):334 – 340, 2006. <br>", + "[43]", + " H HIRSCH, A DECUGNAC, MC GADET, and POURADIE.J.", + " CRISTALLOGRAPHIE DU SULFURE", + "AUREUX. COMPTES RENDUS HEBDOMADAIRES DES SEANCES DE L ACADEMIE DES SCIENCES SERIE B,", + "263(23):1328, 1966. <br>", + "[44]", + " E. F. Hockings, I. Kudman, T. E. Seidel, C. M. Schmelz, and E. F. Steigmeier. Thermal and electrical transport", + "in inasgaas alloys. Journal of Applied Physics, 37(7):2879–2887, 1966. <br>", + "[45]", + " H. Holleck and E. Smailos. Mischnitride von thorium mit seltenen erden. Journal of Nuclear Materials, 91(1):237", + "– 239, 1980. <br>", + "[46]", + " Qianku Hu, Qinghua Wu, Yanming Ma, Lijun Zhang, Zhongyuan Liu, Julong He, Hong Sun, Hui-Tian Wang,", + "and Yongjun Tian. First-principles studies of structural and electronic properties of hexagonal Bc5. Phys. Rev.", + "B, 73:214116, Jun 2006. <br>", + "[47]", + " F. Hulliger and G.W. Hull Jr.", + " Superconductivity in rocksalt-type compounds.", + " Solid State Communications,", + "8(17):1379 – 1382, 1970. <br>", + "[48]", + " F. Hund and R. Fricke. Der kristallbau von -bif3. Zeitschrift fr anorganische Chemie, 258(3-5):198, 1949. <br>", + "[49]", + " R.J Iwanowski, K Fronc, W Paszkowicz, and M Heinonen. {XPS} and {XRD} study of crystalline 3c-sic grown", + "by sublimation method. Journal of Alloys and Compounds, 286(12):143 147, 1999. <br>", + "[50]", + " Walter J. Moore Jr. and Linus Pauling. The crystal structures of the tetragonal monoxides of lead, tin,", + "palladium, and platinum. Journal of the American Chemical Society, 63(5):1392–1394, 1941. <br>", + "[51]", + " V Kanchana, G Vaitheeswaran, A Svane, and A Delin. First-principles study of elastic properties of ceo 2 ,", + "tho 2 and poo 2. Journal of Physics: Condensed Matter, 18(42):9615, 2006. <br>", + "[52]", + " Takashi Katsura, Bunji Iwasaki, Shigeyuki Kimura, and Syuniti Akimoto. Highpressure synthesis of the stoi-", + "chiometric compound feo. The Journal of Chemical Physics, 47(11):4559–4560, 1967. <br>", + "[53]", + " Helmuth Klesnar and Peter Rogl. Phase relations in the ternary systems ndbn, smbn, and gdbn. Journal of the", + "American Ceramic Society, 75(10):2825–2827, 1992. <br>", + "[54]", + " B. R. Lawn. The thermal expansion of silver iodide and the cuprous halides. Acta Crystallographica, 17(11):1341–", + "1347, Nov 1964. <br>", + "[55]", + " CHI-HUNG LEUNG and LAWRENCE H. VAN VLACK. Solubility limits in binary (ca,mn) chalcogenides.", + "Journal of the American Ceramic Society, 62(11-12):613–616, 1979. <br>", + "[56]", + " V. Leute, A. Behr, C. Hnting, and H.M. Schmidtke. Phase diagram and diffusion properties of the quasibinary", + "system (sn, pb)s. Solid State Ionics, 68(34):287 – 294, 1994. <br>", + "[57]", + " D.X. Li, A. Oyamada, K. Hashi, Y. Haga, T. Matsumura, H. Shida, T. Suzuki, T. Kasuya, A. Dnni, and", + "F. Hulliger. Study of physical properties of yb-monopnictides. Journal of Magnetism and Magnetic Materials,", + "140144, Part 2:1169 – 1170, 1995. International Conference on Magnetism. <br>", + "[58]", + " Tieyu Lv, Deyan Chen, and Meichun Huang. Quasiparticle band structures of bao and bas. Journal of Applied", + "Physics, 100(8), 2006. <br>", + "[59]", + " D. R. McCann, L. Cartz, R. E. Schmunk, and Y. D. Harker. Compressibility of hexagonal selenium by xray", + "and neutron diffraction. Journal of Applied Physics, 43(4):1432, 1972. <br>", + "[60]", + " Olaf Muller and Rustum Roy. Formation and stability of the platinum and rhodium oxides at high oxygen", + "pressures and the structures of pt3o4, -pto2 and rho2. Journal of the Less Common Metals, 16(2):129 – 146, 1968. <br>", + "[61]", + " T. M ̈", + " uu", + " ̈ rsepp and A. Haav. X-ray diffraction study of the systems tli-csi, tli-rbi, and tli-tlcl. physica status solidi", + "(a), 21(2):K81–K83, 1974. <br>", + "[62]", + " Kazumasa Nakamura and Masatomo Yashima. Crystal structure of nacl-type transition metal monocarbides", + "{MC} (m = v, ti, nb, ta, hf, zr), a neutron powder diffraction study. Materials Science and Engineering: B,", + "148(13):69, 2008. First International Conference on the Science and Technology for Advanced Ceramics (STAC)", + "in conjunction with the Second International Conference on Joining Technology for new Metallic Glasses and", + "Inorganic Materials (JTMC). <br>", + "[63]", + " G. Neumann, R. Kieffer, and P. Ettmayer. ber das system tictintio. Monatshefte fr Chemie / Chemical Monthly,", + "103(4):1130–1137, 1972. <br>", + "[64]", + " Katharine Page, Jun Li, Robert Savinelli, Holly N. Szumila, Jinping Zhang, Judith K. Stalick, Thomas Proffen,", + "Susannah L. Scott, and Ram Seshadri. Reciprocal-space and real-space neutron investigation of nanostructured", + "mo2c and {WC}. Solid State Sciences, 10(11):1499 – 1510, 2008. <br>", + "[65]", + " N PESSALL, RE GOLD, and HA JOHANSEN. A STUDY OF SUPERCONDUCTIVITY IN INTERSTITIAL", + "COMPOUNDS. JOURNAL OF PHYSICS AND CHEMISTRY OF SOLIDS, 29(1):19, 1968. <br>", + "[66]", + " N. Pessall, R.E. Gold, and H.A. Johansen. A study of superconductivity in interstitial compounds. Journal of", + "Physics and Chemistry of Solids, 29(1):19 – 38, 1968. <br>", + "[67]", + " J. Pfl ̈", + " uger, J. Fink, W. Weber, K. P. Bohnen, and G. Crecelius. Dielectric properties of ticx, tinx, vcx, and", + "vnx from 1.5 to 40 ev determined by electron-energy-loss spectroscopy. Phys. Rev. B, 30:1155–1163, Aug 1984. <br>", + "[68]", + " Efrain E. Rodriguez, Anna Llobet, Thomas Proffen, Brent C. Melot, Ram Seshadri, Peter B. Littlewood, and", + "Anthony K. Cheetham. The role of static disorder in negative thermal expansion in reo3. Journal of Applied", + "Physics, 105(11), 2009. <br>", + "[69]", + " P Schobinger-Papamantellos, P Fischer, O Vogt, and E Kaldis. Magnetic ordering of neodymium monopnictides", + "determined by neutron diffraction. Journal of Physics C: Solid State Physics, 6(4):725, 1973. <br>", + "[70]", + " N SCHONBERG. THE TUNGSTEN CARBIDE AND NICKEL ARSENIDE STRUCTURES. ACTA METALLUR-", + "GICA, 2(3):427, 1954. <br>", + "[71]", + " GER Schulze.", + " The crystal structure of radium fluoride.", + " ZEITSCHRIFT FUR PHYSIKALISCHE CHEMIE-", + "ABTEILUNG B-CHEMIE DER ELEMENTARPROZESSE AUFBAU DER MATERIE, 32(6):430, MAY 1936. <br>", + "[72]", + " J. Stoemenos, S. Kokkou, and N. A. Economou. On the superstructure of germanium telluride single crystalline", + "films. physica status solidi (a), 13(1):265–275, 1972. <br>", + "[73]", + " R.S. Street and T.N. Waters. The uc/un and thc/thn systems. Journal of the Less Common Metals, 5(3):295 – 297,1963. <br>", + "[74]", + " X.W. Sun, Z.J. Liu, Q.F. Chen, H.W. Lu, T. Song, and C.W. Wang. Heat capacity of zno with cubic structure", + "at high temperatures. Solid State Communications, 140(5):219 – 224, 2006. <br>", + "[75]", + " TOMBS N. C. and ROOKSBY H. P. Structure of Monoxides of some Transition Elements at Low Temperatures.", + "Nature, 165(4194):442–443, mar 1950. 10.1038/165442b0. <br>", + "[76]", + " V. Valvoda. X-ray debye temperatures of hfc and -w2c. physica status solidi (a), 83(2):K123–K125, 1984. <br>", + "[77]", + " J. Waser, H. A. Levy, and S. W. Peterson. The structure of PdO. Acta Crystallographica, 6(7):661–663, Jul 1953. <br>", + "[78]", + " J.C. Woolley and D.G. Lees. Equilibrium diagrams with insb as one component. Journal of the Less Common", + "Metals, 1(3):192 – 198, 1959. <br>", + "[79]", + " Ralph W. G. Wyckoff and Eugen Posnjak. The crystal structures of the cuprous halides. Journal of the American", + "Chemical Society, 44(1):30–36, 1922. <br>", + "[80]", + " W. H. Zachariasen. Crystal chemical studies of the 5f-series of elements. I. New structure types. Acta Crystal-", + "lographica, 1(5):265–268, Nov 1948. <br>", + "[81]", + " W. Bruce Zimmerman. Lattice-constant dependence on isotopic composition in the Li(h, d) system. Phys.", + "Rev. B, 5:4704–4707, Jun 1972. <br>", + "" + ], + "evaluatorReader": false + }, { "id": "sectionja0X3y", "type": "section", @@ -410,7 +751,7 @@ "result": { "type": "BeakerDisplay", "innertype": "Html", - "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n .phasediagram_instructions{\n font-size: 15px;\n } \n</style>\n<!-- Button trigger modal -->\n<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#phasediagram-motivation-modal\">\n Explanation\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"phasediagram-motivation-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"phasediagram-motivation-modal-label\" style=\"display: none;\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" id=\"phasediagram-motivation-modal-label\">Explanation</h4>\n <div style=\"max-width: 800px;\">\nThe interface below allows you to explore the error due to numerical settings for the 71 elementary solids and the 82 binary systems. Use the drop-down menus to choose a code, a property, and the (code-specific) numerical settings; the <i>Add el. solids/binaries</i> buttons then generate the plots. The upper plots show the errors (deviations) with respect to highly converged settings for the elemental solids (left) and binaries (right). For the elemental solids, an additional, color-coded periodic table is shown below. The color of the elements relates to the error.<br>\nIt is possible to inspect errors/deviations in total energy, relative energy, and cohesive energy (Drop down menu <i>Quantity</i>). Relative energies\nare computed as a total energy difference with respect to a cell volume increase of 5%. This allows to explore the effect of error cancellation. Additionally you can explore the error in the cohesive energy for the binary systems. We define the cohesive energy as the total energy of the binary systems minus the the total energy of its constituents in their elemental solid structure, devided by the number of atoms in the binary cell. \n<br><br>\n</div> \n </div>\n <div class=\"modal-body phasediagram_instructions\">\n\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n<!-- <button type=\"button\" class=\"btn btn-primary\">Save changes</button> -->\n </div>\n </div>\n </div>\n\n<div style=\"height: 3em;\"></div></div>" + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n .phasediagram_instructions{\n font-size: 15px;\n } \n</style>\n<!-- Button trigger modal -->\n<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#phasediagram-motivation-modal\">\n Explanation\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"phasediagram-motivation-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"phasediagram-motivation-modal-label\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" id=\"phasediagram-motivation-modal-label\">Explanation</h4>\n <div style=\"max-width: 800px;\">\nThe interface below allows you to explore the error due to numerical settings for the 71 elementary solids and the 82 binary systems. Use the drop-down menus to choose a code, a property, and the (code-specific) numerical settings; the <i>Add el. solids/binaries</i> buttons then generate the plots. The upper plots show the errors (deviations) with respect to highly converged settings for the elemental solids (left) and binaries (right). For the elemental solids, an additional, color-coded periodic table is shown below. The color of the elements relates to the error.<br>\nIt is possible to inspect errors/deviations in total energy, relative energy, and cohesive energy (Drop down menu <i>Quantity</i>). Relative energies\nare computed as a total energy difference with respect to a cell volume increase of 5%. This allows to explore the effect of error cancellation. Additionally you can explore the error in the cohesive energy for the binary systems. We define the cohesive energy as the total energy of the binary systems minus the the total energy of its constituents in their elemental solid structure, devided by the number of atoms in the binary cell. \n<br><br>\n</div> \n </div>\n <div class=\"modal-body phasediagram_instructions\">\n\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n<!-- <button type=\"button\" class=\"btn btn-primary\">Save changes</button> -->\n </div>\n </div>\n </div>\n\n<div style=\"height: 3em;\"></div>" }, "selectedType": "BeakerDisplay", "elapsedTime": 0, @@ -651,7 +992,7 @@ "result": { "type": "BeakerDisplay", "innertype": "Html", - "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n // Adds an option to a dropdown menu\n function addDropdownChoice(dropdown, value, content) {\n var el = document.createElement('option');\n el.value = value;\n el.innerHTML = content\n dropdown.appendChild(el);\n }\n \n \n function errorUpdateForm() {\n var code = document.getElementById(\"errorbar_code\").value;\n \n var dprec = document.getElementById(\"errorbar_precision_name\");\n var pprec = document.getElementById(\"errorbar_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n case \"exciting\": \n dprec.innerHTML = '';\n\n\n addDropdownChoice(pxc, \"pbe\", \"pbe\");\n\n break;\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n \n function add_monomers() {\n beaker.ctrl_xc = document.getElementById(\"errorbar_xcfunctional\").value;\n beaker.ctrl_kpt = document.getElementById(\"errorbar_kdensity\").value;\n beaker.ctrl_prec = document.getElementById(\"errorbar_precision\").value;\n beaker.ctrl_tiers = document.getElementById(\"errorbar_tiers\").value;\n beaker.ctrl_rel = document.getElementById(\"errorbar_relativity\").value;\n beaker.ctrl_quant = document.getElementById(\"errorbar_quantity\").value;\n beaker.ctrl_code = document.getElementById(\"errorbar_code\").value;\n beaker.ctrl_button = 1\n beaker.evaluate(\"exe_cell\");\n beaker.evaluate(\"ptablecell\");\n }\n function clear_last() {\n beaker.ctrl_button = 2\n beaker.evaluate(\"exe_cell\");\n }\n function clear_plot() {\n beaker.ctrl_button = 3\n beaker.evaluate(\"exe_cell\");\n }\n function add_binaries() {\n beaker.ctrl_xc = document.getElementById(\"errorbar_xcfunctional\").value;\n beaker.ctrl_kpt = document.getElementById(\"errorbar_kdensity\").value;\n beaker.ctrl_prec = document.getElementById(\"errorbar_precision\").value;\n beaker.ctrl_tiers = document.getElementById(\"errorbar_tiers\").value;\n beaker.ctrl_rel = document.getElementById(\"errorbar_relativity\").value;\n beaker.ctrl_quant = document.getElementById(\"errorbar_quantity\").value;\n beaker.ctrl_code = document.getElementById(\"errorbar_code\").value;\n beaker.ctrl_button = 4\n beaker.evaluate(\"exe_cell\");\n }\n function clear_last_bins() {\n beaker.ctrl_button = 5\n beaker.evaluate(\"exe_cell\");\n }\n function clear_plot_bins() {\n beaker.ctrl_button = 6\n beaker.evaluate(\"exe_cell\");\n }\n</script>\n\n<style type=\"text/css\">\n \n .error_table th { font-weight: bold; padding-right: 2ex; }\n .error_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_control\">\n <table class=\"error_table\">\n \n <tbody><tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_xcfunctional\">\n <option value=\"pbe\" selected=\"\">PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th>k-point density:</th>\n <td>\n <select id=\"errorbar_kdensity\">\n <option value=\"2\">2</option>\n <option value=\"4\">4</option> \n <option value=\"8\" selected=\"\">8</option> \n </select>\n </td>\n <td id=\"errorbar_kdensity_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_precision\">\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected=\"\">600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_tiers\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_relativity\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_relativity_description\" style=\"white-space: pre;\"></td>\n <th>Code:</th>\n <td><select id=\"errorbar_code\" onchange=\"errorUpdateForm()\">\n <option value=\"GPAW\">GPAW</option>\n <option value=\"FHI-aims\">FHI-aims</option>\n <option value=\"VASP\">VASP</option>\n <option value=\"exciting\">exciting</option> \n </select></td>\n <td id=\"errorbar_code_description\" style=\"white-space: pre;\"></td>\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n <option value=\"E_coh\">Cohesive Energy (binaries)</option>\n </select></td>\n <td id=\"errorbar_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n\n </tr>\n \n </tbody></table>\n \n <table class=\"error_table\">\n \n <tbody><tr>\n <th><button type=\"button\" class=\"btn btn-primary\" style=\"margin-top: 2ex;\" onclick=\"add_monomers();\">Add el. solids</button></th>\n <th><button type=\"button\" class=\"btn clear-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_plot();\">Clear el. solids </button></th>\n <th><button type=\"button\" class=\"btn clearlast-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_last();\">Clear last el. solids</button></th>\n <th><button type=\"button\" class=\"btn btn-secondary\" style=\"margin-top: 2ex;\" onclick=\"add_binaries();\">Add binaries</button></th>\n <th><button type=\"button\" class=\"btn clear-secondary\" style=\"margin-top: 2ex;\" onclick=\"clear_plot_bins();\">Clear binaries</button></th>\n <th><button type=\"button\" class=\"btn clearlast-secondary\" style=\"margin-top: 2ex;\" onclick=\"clear_last_bins();\">Clear last binaries</button></th>\n </tr>\n </tbody></table>\n</div>" + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n // Adds an option to a dropdown menu\n function addDropdownChoice(dropdown, value, content) {\n var el = document.createElement('option');\n el.value = value;\n el.innerHTML = content\n dropdown.appendChild(el);\n }\n \n \n function errorUpdateForm() {\n var code = document.getElementById(\"errorbar_code\").value;\n \n var dprec = document.getElementById(\"errorbar_precision_name\");\n var pprec = document.getElementById(\"errorbar_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n case \"exciting\": \n dprec.innerHTML = '';\n\n\n addDropdownChoice(pxc, \"pbe\", \"pbe\");\n\n break;\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n \n function add_monomers() {\n beaker.ctrl_xc = document.getElementById(\"errorbar_xcfunctional\").value;\n beaker.ctrl_kpt = document.getElementById(\"errorbar_kdensity\").value;\n beaker.ctrl_prec = document.getElementById(\"errorbar_precision\").value;\n beaker.ctrl_tiers = document.getElementById(\"errorbar_tiers\").value;\n beaker.ctrl_rel = document.getElementById(\"errorbar_relativity\").value;\n beaker.ctrl_quant = document.getElementById(\"errorbar_quantity\").value;\n beaker.ctrl_code = document.getElementById(\"errorbar_code\").value;\n beaker.ctrl_button = 1\n beaker.evaluate(\"exe_cell\");\n beaker.evaluate(\"ptablecell\");\n }\n function clear_last() {\n beaker.ctrl_button = 2\n beaker.evaluate(\"exe_cell\");\n }\n function clear_plot() {\n beaker.ctrl_button = 3\n beaker.evaluate(\"exe_cell\");\n }\n function add_binaries() {\n beaker.ctrl_xc = document.getElementById(\"errorbar_xcfunctional\").value;\n beaker.ctrl_kpt = document.getElementById(\"errorbar_kdensity\").value;\n beaker.ctrl_prec = document.getElementById(\"errorbar_precision\").value;\n beaker.ctrl_tiers = document.getElementById(\"errorbar_tiers\").value;\n beaker.ctrl_rel = document.getElementById(\"errorbar_relativity\").value;\n beaker.ctrl_quant = document.getElementById(\"errorbar_quantity\").value;\n beaker.ctrl_code = document.getElementById(\"errorbar_code\").value;\n beaker.ctrl_button = 4\n beaker.evaluate(\"exe_cell\");\n }\n function clear_last_bins() {\n beaker.ctrl_button = 5\n beaker.evaluate(\"exe_cell\");\n }\n function clear_plot_bins() {\n beaker.ctrl_button = 6\n beaker.evaluate(\"exe_cell\");\n }\n</script>\n\n<style type=\"text/css\">\n \n .error_table th { font-weight: bold; padding-right: 2ex; }\n .error_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_control\">\n <table class=\"error_table\">\n \n <tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_xcfunctional\">\n <option value=\"pbe\" selected>PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th>k-point density:</th>\n <td>\n <select id=\"errorbar_kdensity\" >\n <option value=\"2\">2</option>\n <option value=\"4\">4</option> \n <option value=\"8\" selected>8</option> \n </select>\n </td>\n <td id=\"errorbar_kdensity_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_precision\" >\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected>600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_tiers\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_relativity\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_relativity_description\" style=\"white-space: pre;\"></td>\n <th>Code:</th>\n <td><select id=\"errorbar_code\" onchange=\"errorUpdateForm()\">\n <option value=\"GPAW\">GPAW</option>\n <option value=\"FHI-aims\">FHI-aims</option>\n <option value=\"VASP\">VASP</option>\n <option value=\"exciting\">exciting</option> \n </select></td>\n <td id=\"errorbar_code_description\" style=\"white-space: pre;\"></td>\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n <option value=\"E_coh\">Cohesive Energy (binaries)</option>\n </select></td>\n <td id=\"errorbar_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n\n </tr>\n \n </table>\n \n <table class=\"error_table\">\n \n <tr>\n <th><button type=\"button\" class=\"btn btn-primary\" style=\"margin-top: 2ex;\" onclick=\"add_monomers();\">Add el. solids</button></th>\n <th><button type=\"button\" class=\"btn clear-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_plot();\">Clear el. solids </button></th>\n <th><button type=\"button\" class=\"btn clearlast-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_last();\">Clear last el. solids</button></th>\n <th><button type=\"button\" class=\"btn btn-secondary\" style=\"margin-top: 2ex;\" onclick=\"add_binaries();\">Add binaries</button></th>\n <th><button type=\"button\" class=\"btn clear-secondary\" style=\"margin-top: 2ex;\" onclick=\"clear_plot_bins();\">Clear binaries</button></th>\n <th><button type=\"button\" class=\"btn clearlast-secondary\" style=\"margin-top: 2ex;\" onclick=\"clear_last_bins();\">Clear last binaries</button></th>\n </tr>\n </table>\n</div>" }, "selectedType": "BeakerDisplay", "elapsedTime": 0, @@ -1259,7 +1600,7 @@ "result": { "type": "BeakerDisplay", "innertype": "Html", - "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n \n function add_estimate_plot() { \n beaker.ctrl_xc_estimate = document.getElementById(\"errorbar_estimate_xcfunctional\").value;\n beaker.ctrl_kpt_estimate = 8;\n beaker.ctrl_prec_estimate = document.getElementById(\"errorbar_estimate_precision\").value;\n beaker.ctrl_tiers_estimate = document.getElementById(\"errorbar_estimate_tiers\").value;\n beaker.ctrl_rel_estimate = document.getElementById(\"errorbar_estimate_relativity\").value;\n beaker.ctrl_pred_estimate = 1;\n beaker.ctrl_quant_estimate = document.getElementById(\"errorbar_estimate_quantity\").value;\n beaker.ctrl_code_estimate = document.getElementById(\"errorbar_estimate_code\").value;\n beaker.ctrl_button_estimate = 1\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function clear_estimate_last() {\n beaker.ctrl_button_estimate = 2\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function clear_estimate_plot() {\n beaker.ctrl_button_estimate = 3\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function error_estimateUpdateForm() {\n var code = document.getElementById(\"errorbar_estimate_code\").value;\n \n var dprec = document.getElementById(\"errorbar_estimate_precision_name\");\n var pprec = document.getElementById(\"errorbar_estimate_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_estimate_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_estimate_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_estimate_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid:';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n</script>\n\n<style type=\"text/css\">\n \n .error_estimate_table th { font-weight: bold; padding-right: 2ex; }\n .error_estimate_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_estimate_control\">\n <table class=\"error_estimate_table\">\n \n <tbody><tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_estimate_xcfunctional\">\n <option value=\"pbe\" selected=\"\">PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_estimate_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_estimate_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_estimate_precision\">\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected=\"\">600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_estimate_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_estimate_tiers\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_estimate_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_estimate_relativity\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_estimate_relativity_description\" style=\"white-space: pre;\"></td>\n\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_estimate_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n <option value=\"E_coh\">Cohesive Energy</option>\n </select></td>\n <td id=\"errorbar_estimate_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n <th>Code:</th>\n <td><select id=\"errorbar_estimate_code\" onchange=\"error_estimateUpdateForm()\">\n <option value=\"GPAW\">GPAW</option> \n <option value=\"FHI-aims\">FHI-aims</option> \n <option value=\"VASP\">VASP</option>\n </select></td>\n <td id=\"errorbar_estimate_code_description\" style=\"white-space: pre;\"></td>\n </tr>\n \n </tbody></table>\n <table class=\"error_estimate_table\">\n \n <tbody><tr>\n <th><button type=\"button\" class=\"btn btn-primary\" style=\"margin-top: 2ex;\" onclick=\"add_estimate_plot();\">Compare Reference/Estimated Error in binaries</button></th>\n <th><button type=\"button\" class=\"btn clear-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_estimate_plot();\">Clear plot</button></th>\n <th><button type=\"button\" class=\"btn clearlast-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_estimate_last();\">Clear last set</button></th>\n\n </tr>\n </tbody></table> \n</div>\n\n" + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n \n function add_estimate_plot() { \n beaker.ctrl_xc_estimate = document.getElementById(\"errorbar_estimate_xcfunctional\").value;\n beaker.ctrl_kpt_estimate = 8;\n beaker.ctrl_prec_estimate = document.getElementById(\"errorbar_estimate_precision\").value;\n beaker.ctrl_tiers_estimate = document.getElementById(\"errorbar_estimate_tiers\").value;\n beaker.ctrl_rel_estimate = document.getElementById(\"errorbar_estimate_relativity\").value;\n beaker.ctrl_pred_estimate = 1;\n beaker.ctrl_quant_estimate = document.getElementById(\"errorbar_estimate_quantity\").value;\n beaker.ctrl_code_estimate = document.getElementById(\"errorbar_estimate_code\").value;\n beaker.ctrl_button_estimate = 1\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function clear_estimate_last() {\n beaker.ctrl_button_estimate = 2\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function clear_estimate_plot() {\n beaker.ctrl_button_estimate = 3\n beaker.evaluate(\"exe_cell_estimate\");\n }\n function error_estimateUpdateForm() {\n var code = document.getElementById(\"errorbar_estimate_code\").value;\n \n var dprec = document.getElementById(\"errorbar_estimate_precision_name\");\n var pprec = document.getElementById(\"errorbar_estimate_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_estimate_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_estimate_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_estimate_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid:';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n</script>\n\n<style type=\"text/css\">\n \n .error_estimate_table th { font-weight: bold; padding-right: 2ex; }\n .error_estimate_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_estimate_control\">\n <table class=\"error_estimate_table\">\n \n <tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_estimate_xcfunctional\">\n <option value=\"pbe\" selected>PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_estimate_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_estimate_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_estimate_precision\" >\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected>600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_estimate_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_estimate_tiers\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_estimate_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_estimate_relativity\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_estimate_relativity_description\" style=\"white-space: pre;\"></td>\n\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_estimate_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n <option value=\"E_coh\">Cohesive Energy</option>\n </select></td>\n <td id=\"errorbar_estimate_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n <th>Code:</th>\n <td><select id=\"errorbar_estimate_code\" onchange=\"error_estimateUpdateForm()\">\n <option value=\"GPAW\">GPAW</option> \n <option value=\"FHI-aims\">FHI-aims</option> \n <option value=\"VASP\">VASP</option>\n </select></td>\n <td id=\"errorbar_estimate_code_description\" style=\"white-space: pre;\"></td>\n </tr>\n \n </table>\n <table class=\"error_estimate_table\">\n \n <tr>\n <th><button type=\"button\" class=\"btn btn-primary\" style=\"margin-top: 2ex;\" onclick=\"add_estimate_plot();\">Compare Reference/Estimated Error in binaries</button></th>\n <th><button type=\"button\" class=\"btn clear-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_estimate_plot();\">Clear plot</button></th>\n <th><button type=\"button\" class=\"btn clearlast-primary\" style=\"margin-top: 2ex;\" onclick=\"clear_estimate_last();\">Clear last set</button></th>\n\n </tr>\n </table> \n</div>\n\n" }, "selectedType": "BeakerDisplay", "elapsedTime": 0, @@ -1495,7 +1836,7 @@ "result": { "type": "BeakerDisplay", "innertype": "Html", - "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n .val_instructions{\n font-size: 15px;\n } \n</style>\n<!-- Button trigger modal -->\n<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#val-motivation-modal\">\n Explanation\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"val-motivation-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"phasediagram-motivation-modal-label\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" id=\"val-motivation-modal-label\">Instructions</h4>\n <div style=\"max-width: 800px;\">\n <br><br>\nEnter the formula of a specific system and calculate the error for a set of numerical settings from the results of the elementary solids with respect to a well converged reference,. The numerical settings and the electronic structure code can be selected in the input mask below.<br>\n The settings for the reference calculations are:<br>\n -VASP: 8 k-points\\cdot\\AA{}, Accurate<br>\n -exciting: 8 k-points\\cdot\\AA{}<br>\n -GPAW: 8 k-points\\cdot\\AA{}, 1600eV (PW cutoff)<br>\n -FHI-aims: 8 k-points\\cdot\\AA{}, really tight, tier2<br>\n <br><br>\n</div> \n </div>\n <div class=\"modal-body val_instructions\">\n\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n<!-- <button type=\"button\" class=\"btn btn-primary\">Save changes</button> -->\n </div>\n </div>\n </div>\n\n<div style=\"height: 3em;\"></div></div>" + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<style type=\"text/css\">\n .val_instructions{\n font-size: 15px;\n } \n</style>\n<!-- Button trigger modal -->\n<button type=\"button\" class=\"btn btn-default\" data-toggle=\"modal\" data-target=\"#val-motivation-modal\">\n Explanation\n</button>\n\n<!-- Modal -->\n<div class=\"modal fade\" id=\"val-motivation-modal\" tabindex=\"-1\" role=\"dialog\" aria-labelledby=\"phasediagram-motivation-modal-label\">\n <div class=\"modal-dialog modal-lg\" role=\"document\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <button type=\"button\" class=\"close\" data-dismiss=\"modal\" aria-label=\"Close\"><span aria-hidden=\"true\">×</span></button>\n <h4 class=\"modal-title\" id=\"val-motivation-modal-label\">Instructions</h4>\n <div style=\"max-width: 800px;\">\n <br><br>\nEnter the formula of a specific system and calculate the error for a set of numerical settings from the results of the elementary solids with respect to a well converged reference,. The numerical settings and the electronic structure code can be selected in the input mask below.<br>\n The settings for the reference calculations are:<br>\n -VASP: 8 k-points\\cdot\\AA{}, Accurate<br>\n -exciting: 8 k-points\\cdot\\AA{}<br>\n -GPAW: 8 k-points\\cdot\\AA{}, 1600eV (PW cutoff)<br>\n -FHI-aims: 8 k-points\\cdot\\AA{}, really tight, tier2<br>\n <br><br>\n</div> \n </div>\n <div class=\"modal-body val_instructions\">\n\n </div>\n <div class=\"modal-footer\">\n <button type=\"button\" class=\"btn btn-default\" data-dismiss=\"modal\">Close</button>\n<!-- <button type=\"button\" class=\"btn btn-primary\">Save changes</button> -->\n </div>\n </div>\n </div>\n\n<div style=\"height: 3em;\"></div>" }, "selectedType": "BeakerDisplay", "elapsedTime": 0, @@ -1690,7 +2031,7 @@ "result": { "type": "BeakerDisplay", "innertype": "Html", - "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n \n function process_form() {\n beaker.query = $('#query').val(); \n beaker.ctrl_val_xc = document.getElementById(\"errorbar_val_xcfunctional\").value;\n beaker.ctrl_val_kpt = 8;\n beaker.ctrl_val_prec = document.getElementById(\"errorbar_val_precision\").value;\n beaker.ctrl_val_tiers = document.getElementById(\"errorbar_val_tiers\").value;\n beaker.ctrl_val_rel = document.getElementById(\"errorbar_val_relativity\").value;\n beaker.ctrl_val_pred = 1;\n beaker.ctrl_val_quant = document.getElementById(\"errorbar_val_quantity\").value;\n beaker.ctrl_val_code = document.getElementById(\"errorbar_val_code\").value;\n beaker.evaluate(\"process_formula_cell\");\n }\n \n function error_valUpdateForm() {\n var code = document.getElementById(\"errorbar_val_code\").value;\n \n var dprec = document.getElementById(\"errorbar_val_precision_name\");\n var pprec = document.getElementById(\"errorbar_val_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_val_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_val_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_val_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid:';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n</script>\n\n<style type=\"text/css\">\n \n .error_val_table th { font-weight: bold; padding-right: 2ex; }\n .error_val_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_val_control\">\n <table class=\"error_val_table\">\n \n <tbody><tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_val_xcfunctional\">\n <option value=\"pbe\" selected=\"\">PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_val_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_val_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_val_precision\">\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected=\"\">600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_val_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_val_tiers\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_val_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_val_relativity\"><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_val_relativity_description\" style=\"white-space: pre;\"></td>\n\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_val_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n </select></td>\n <td id=\"errorbar_val_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n <th>Code:</th>\n <td><select id=\"errorbar_val_code\" onchange=\"error_valUpdateForm()\">\n <option value=\"GPAW\">GPAW</option> \n <option value=\"FHI-aims\">FHI-aims</option>\n <option value=\"VASP\">VASP</option> \n </select></td>\n <td id=\"errorbar_val_code_description\" style=\"white-space: pre;\"></td>\n </tr>\n \n </tbody></table>\n \n</div>\n\n<br><br>\n<p>Enter: Formula:</p>\n\n<p>\n <input id=\"query\" value=\"H2\" size=\"40\" onkeydown=\"if (event.keyCode == 13) process_form()\" type=\"text\">\n</p>\n<p>Examples:</p>\n<p>\n <fontsize=4>\n<code>O2</code> <br>\n<code>FePO4</code>\n\n</fontsize=4></p>\n<button onclick=\"process_form()\"> Estimate error </button>\n\n" + "object": "<script>\nvar beaker = bkHelper.getBeakerObject().beakerObj;\n</script>\n<script>\n \n function process_form() {\n beaker.query = $('#query').val(); \n beaker.ctrl_val_xc = document.getElementById(\"errorbar_val_xcfunctional\").value;\n beaker.ctrl_val_kpt = 8;\n beaker.ctrl_val_prec = document.getElementById(\"errorbar_val_precision\").value;\n beaker.ctrl_val_tiers = document.getElementById(\"errorbar_val_tiers\").value;\n beaker.ctrl_val_rel = document.getElementById(\"errorbar_val_relativity\").value;\n beaker.ctrl_val_pred = 1;\n beaker.ctrl_val_quant = document.getElementById(\"errorbar_val_quantity\").value;\n beaker.ctrl_val_code = document.getElementById(\"errorbar_val_code\").value;\n beaker.evaluate(\"process_formula_cell\");\n }\n \n function error_valUpdateForm() {\n var code = document.getElementById(\"errorbar_val_code\").value;\n \n var dprec = document.getElementById(\"errorbar_val_precision_name\");\n var pprec = document.getElementById(\"errorbar_val_precision\"); pprec.innerHTML = '';\n var prel = document.getElementById(\"errorbar_val_relativity\"); prel.innerHTML = '';\n var ptiers = document.getElementById(\"errorbar_val_tiers\"); ptiers.innerHTML = '';\n var pxc = document.getElementById(\"errorbar_val_xcfunctional\"); pxc.innerHTML = '';\n\n switch(code) {\n case \"VASP\": \n dprec.innerHTML = 'Precision:';\n\n addDropdownChoice(pprec, \"Low\", \"Low\");\n addDropdownChoice(pprec, \"Normal\", \"Normal\");\n addDropdownChoice(pprec, \"Accurate\", \"Accurate\");\n addDropdownChoice(pxc, \"PBE\", \"PBE\");\n addDropdownChoice(pxc, \"LDA\", \"LDA\");\n break;\n \n case \"FHI-aims\": \n dprec.innerHTML = 'Integration grid:';\n\n addDropdownChoice(pprec, \"light\", \"light\");\n addDropdownChoice(pprec, \"tight\", \"tight\");\n addDropdownChoice(pprec, \"really_tight\", \"really tight\");\n addDropdownChoice(prel, \"atomic_zora\", \"atomic zora\");\n addDropdownChoice(prel, \"zora\", \"zora\");\n addDropdownChoice(ptiers, \"minimal\", \"minimal\");\n addDropdownChoice(ptiers, \"standard\", \"standard\");\n addDropdownChoice(ptiers, \"tier1\", \"tier1\");\n addDropdownChoice(ptiers, \"tier2\", \"tier2\");\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n \n case \"GPAW\": \n dprec.innerHTML = 'PW cutoff:';\n\n addDropdownChoice(pprec, \"300\", \"300\");\n addDropdownChoice(pprec, \"400\", \"400\");\n addDropdownChoice(pprec, \"500\", \"500\");\n addDropdownChoice(pprec, \"600\", \"600\");\n addDropdownChoice(pprec, \"700\", \"700\");\n addDropdownChoice(pprec, \"800\", \"800\");\n addDropdownChoice(pprec, \"900\", \"900\");\n addDropdownChoice(pprec, \"1000\", \"1000\");\n addDropdownChoice(pprec, \"1100\", \"1100\");\n addDropdownChoice(pprec, \"1200\", \"1100\");\n addDropdownChoice(pprec, \"1300\", \"1100\");\n addDropdownChoice(pprec, \"1400\", \"1100\");\n addDropdownChoice(pprec, \"1500\", \"1100\");\n\n addDropdownChoice(pxc, \"pbe\", \"PBE\");\n addDropdownChoice(pxc, \"pw-lda\", \"LDA\");\n break;\n\n\n }\n }\n\n\n\n</script>\n\n<style type=\"text/css\">\n \n .error_val_table th { font-weight: bold; padding-right: 2ex; }\n .error_val_table td input { margin-right: 1ex; }\n \n</style>\n\n<!-- Controls area -->\n\n<div class=\"error_val_control\">\n <table class=\"error_val_table\">\n \n <tr>\n <th>XC-Functional:</th>\n <td>\n <select id=\"errorbar_val_xcfunctional\">\n <option value=\"pbe\" selected>PBE</option>\n <option value=\"pw-lda\">LDA</option>\n </select>\n </td>\n <td id=\"errorbar_val_xcfunctional_description\" style=\"white-space: pre;\"></td>\n <th id=\"errorbar_val_precision_name\">PW cutoff:</th>\n <td>\n <select id=\"errorbar_val_precision\" >\n <option value=\"300\">300</option>\n <option value=\"400\">400</option>\n <option value=\"500\">500</option>\n <option value=\"600\" selected>600</option>\n <option value=\"700\">700</option>\n <option value=\"800\">800</option>\n <option value=\"900\">900</option>\n <option value=\"1000\">1000</option>\n <option value=\"1100\">1100</option>\n <option value=\"1200\">1200</option>\n <option value=\"1300\">1300</option>\n <option value=\"1400\">1400</option>\n <option value=\"1500\">1500</option> \n </select>\n </td>\n <td id=\"errorbar_val_precision_description\" style=\"white-space: pre;\"></td>\n </tr>\n <tr>\n <th>Tiers:</th>\n <td><select id=\"errorbar_val_tiers\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_val_tiers_description\" style=\"white-space: pre;\"></td>\n <th>Relativity treatment:</th>\n <td><select id=\"errorbar_val_relativity\" ><!-- content inserted programmatically --></select></td>\n <td id=\"errorbar_val_relativity_description\" style=\"white-space: pre;\"></td>\n\n </tr> \n \n <tr>\n <th>Quantity:</th>\n <td><select id=\"errorbar_val_quantity\">\n <option value=\"E_tot\">Total Energy</option>\n <option value=\"relR\">relative Energy</option>\n </select></td>\n <td id=\"errorbar_val_quantity_description\" style=\"white-space: pre;\"></td> \n \n\n <th>Code:</th>\n <td><select id=\"errorbar_val_code\" onchange=\"error_valUpdateForm()\">\n <option value=\"GPAW\">GPAW</option> \n <option value=\"FHI-aims\">FHI-aims</option>\n <option value=\"VASP\">VASP</option> \n </select></td>\n <td id=\"errorbar_val_code_description\" style=\"white-space: pre;\"></td>\n </tr>\n \n </table>\n \n</div>\n\n<br><br>\n<p>Enter: Formula:</p>\n\n<p>\n <input type='text' id='query' value='H2' size='40'\n onkeydown=\"if (event.keyCode == 13) process_form()\">\n</p>\n<p>Examples:</p>\n<p>\n <fontsize=4>\n<code>O2</code> <br>\n<code>FePO4</code>\n</fontsize>\n</p>\n<button onclick='process_form()'> Estimate error </button>\n\n" }, "selectedType": "BeakerDisplay", "elapsedTime": 0, @@ -1824,5 +2165,6 @@ "ctrl_quant_estimate": "E_tot", "ctrl_code_estimate": "GPAW", "ctrl_sys_estimate": "binaries" - } + }, + "locked": true }