| 1 |
<!DOCTYPE html> |
| 2 |
<html> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-type" content="text/html;charset=UTF-8"> |
| 5 |
<? require_once "auth.php" ?> |
| 6 |
<link rel="stylesheet" type="text/css" href="ch5m3dq.css" /> |
| 7 |
<script type="text/javascript" src="ch5m3dq.js"></script> |
| 8 |
<title>CH5M3D</title> |
| 9 |
</head> |
| 10 |
|
| 11 |
<body onload="initialize()"> |
| 12 |
|
| 13 |
|
| 14 |
<p class="QCHeader"> |
| 15 |
CH<sub>5</sub>M<sub>3D</sub> |
| 16 |
</p> |
| 17 |
<ul id="Toolbar"> |
| 18 |
|
| 19 |
<li><a href="../index.html">CH5M3D Home</a><ul> |
| 20 |
</ul></li> |
| 21 |
|
| 22 |
<li>Documentation<ul> |
| 23 |
<li><a href="../doc/introduction.html">Introduction</a></li> |
| 24 |
<li><a href="../doc/installation.html">Installation</a></li> |
| 25 |
<li><a href="../doc/browser.html">Web Browsers</a></li> |
| 26 |
<li><a href="../doc/view.html">User Interface</a></li> |
| 27 |
<li><a href="../doc/keyboard.html">Keyboard/Mouse</a></li> |
| 28 |
<li><a href="../doc/drawing.html">Drawing</a></li> |
| 29 |
<li><a href="../doc/fileformat.html">File Format</a></li> |
| 30 |
<li><a href="../documentation.pdf">PDF Manual</a></li> |
| 31 |
</ul></li> |
| 32 |
<li>Variations<ul> |
| 33 |
<li><a href="../doc/description.html">Description</a></li> |
| 34 |
<li><a href="../variations/serverView.html">Pre-Load</a></li> |
| 35 |
<li><a href="../variations/chooser.html">Chooser</a></li> |
| 36 |
<li><a href="../variations/gallery.html">Gallery</a></li> |
| 37 |
<li><a href="../variations/viewer300.html">Viewer (only)</a></li> |
| 38 |
<li><a href="../variations/viewer2x.html">View 2 Windows</a></li> |
| 39 |
<li><a href="../variations/two.html">Two Windows</a></li> |
| 40 |
<li><a href="../variations/api.html">Javascript</a></li> |
| 41 |
<li><a href="qchem.php">Quantum Interface</a></li> |
| 42 |
</ul></li> |
| 43 |
<li>Information<ul> |
| 44 |
<li><a href="../doc/about.html">About</a></li> |
| 45 |
<li><a href="http://sourceforge.net/projects/ch5m3d/">Project Homepage</a></li> |
| 46 |
<li><a href="../doc/apidoc.html">Library API Info</a></li> |
| 47 |
<li><a href="https://www.gnu.org/licenses/gpl.html">GNU License</a></li> |
| 48 |
</ul></li> |
| 49 |
<li class="UserName">Welcome <? echo $_SERVER['PHP_AUTH_USER'] ?></li> |
| 50 |
</ul> |
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
<p class="fleft"><strong>Local files:</strong> |
| 55 |
<input type="file" id="molfile" |
| 56 |
title="Click Browse to load a file from your computer." /> |
| 57 |
</p> |
| 58 |
<p class="fleft"><strong>Server files:</strong> |
| 59 |
<input type="button" id="ServerBtn" onclick="toggleDirWin()" value="List Server files" /> |
| 60 |
</p> |
| 61 |
|
| 62 |
<div id="delDiv" class="HiddenDiv"> |
| 63 |
<br />Permanently delete files:</div> |
| 64 |
|
| 65 |
<div id="dirDiv" class="HiddenDiv"> |
| 66 |
<br /><strong>Server Files</strong><div class="dirWindow" id="dirWindow"></div> |
| 67 |
</div> |
| 68 |
|
| 69 |
<p class="clear"> </p> |
| 70 |
|
| 71 |
<p class="clear"> </p> |
| 72 |
<p class="drawWin"> |
| 73 |
<canvas id="molcanvas" width="500" height="500"></canvas> |
| 74 |
</p> |
| 75 |
|
| 76 |
<p> |
| 77 |
<input type='button' onclick="viewmode()" value="View Mode" class="modeTab" id="modeView" /> |
| 78 |
<input type='button' onclick="drawmode()" value="Draw Mode" class="modeTab" id="modeDraw" /> |
| 79 |
</p> |
| 80 |
|
| 81 |
<div id="viewDiv" class="viewDiv"> |
| 82 |
<p><strong>View Mode</strong></p> |
| 83 |
<div id="formula"><p>Formula = </p></div> |
| 84 |
<p><input type='button' onclick="showCoord(1)" value="Show coordinates" class="Button" id="coord" /></p> |
| 85 |
<p> |
| 86 |
<input type='button' class="Button" id="LabelButton" onclick="showLabels()" value="Labels" /> |
| 87 |
<input type='button' class="Button" id="ChargeButton" onclick="simpleQ()" value="Charges" /> |
| 88 |
</p> |
| 89 |
<p><input class="Button" type='button' onclick="resetView()" value="Reset View" /></p> |
| 90 |
<p><input type='button' class="Button" onclick="showQCEdit()" value="Create Calculation Input" /></p> |
| 91 |
<!-- |
| 92 |
<p><input type='button' class="Button" onclick="peptideInfo()" value="Peptide Information" /></p> |
| 93 |
--> |
| 94 |
<p><input type='button' class="Button" onclick="showQueue()" value="Show Batch Queue" /></p> |
| 95 |
</div> |
| 96 |
|
| 97 |
<div id="drawDiv" class="drawDiv"> |
| 98 |
<p><strong>Current Element:</strong></p> |
| 99 |
<table> |
| 100 |
<tr> |
| 101 |
<td class="main" id="mH" onclick="pickElem('H');">H</td> |
| 102 |
<td class="Row" id="Row1" colspan="12"> </td> |
| 103 |
<td class="MOff" id="MOff" colspan="2" onclick="pickElem('MOff');">Organic</td> |
| 104 |
<td class="MOn" id="MOn" colspan="2" onclick="pickElem('MOn');">Metals</td> |
| 105 |
<td class="metl" id="pHe" onclick="pickElem('He');">He</td> |
| 106 |
</tr> |
| 107 |
<tr> |
| 108 |
<td class="metl" id="pLi" onclick="pickElem('Li');">Li</td> |
| 109 |
<td class="metl" id="pBe" onclick="pickElem('Be');">Be</td> |
| 110 |
<td class="Row" id="Row2" colspan="10"> </td> |
| 111 |
<td class="main" id="mB" onclick="pickElem('B');">B</td> |
| 112 |
<td class="main" id="mC" onclick="pickElem('C');">C</td> |
| 113 |
<td class="main" id="mN" onclick="pickElem('N');">N</td> |
| 114 |
<td class="main" id="mO" onclick="pickElem('O');">O</td> |
| 115 |
<td class="main" id="mF" onclick="pickElem('F');">F</td> |
| 116 |
<td class="metl" id="pNe" onclick="pickElem('Ne');">Ne</td> |
| 117 |
</tr> |
| 118 |
<tr> |
| 119 |
<td class="metl" id="pNa" onclick="pickElem('Na');">Na</td> |
| 120 |
<td class="metl" id="pMg" onclick="pickElem('Mg');">Mg</td> |
| 121 |
<td class="Row" id="Row3" colspan="10"> </td> |
| 122 |
<td class="main" id="mAl" onclick="pickElem('Al')">Al</td> |
| 123 |
<td class="main" id="mSi" onclick="pickElem('Si')">Si</td> |
| 124 |
<td class="main" id="mP" onclick="pickElem('P')">P</td> |
| 125 |
<td class="main" id="mS" onclick="pickElem('S')">S</td> |
| 126 |
<td class="main" id="mCl" onclick="pickElem('Cl')">Cl</td> |
| 127 |
<td class="metl" id="pAr" onclick="pickElem('Ar')">Ar</td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td class="metl" id="pK" onclick="pickElem('K')">K</td> |
| 131 |
<td class="metl" id="pCa" onclick="pickElem('Ca')">Ca</td> |
| 132 |
<td class="metl" id="pSc" onclick="pickElem('Sc')">Sc</td> |
| 133 |
<td class="metl" id="pTi" onclick="pickElem('Ti')">Ti</td> |
| 134 |
<td class="metl" id="pV" onclick="pickElem('V')">V</td> |
| 135 |
<td class="metl" id="pCr" onclick="pickElem('Cr')">Cr</td> |
| 136 |
<td class="metl" id="pMn" onclick="pickElem('Mn')">Mn</td> |
| 137 |
<td class="metl" id="pFe" onclick="pickElem('Fe')">Fe</td> |
| 138 |
<td class="metl" id="pCo" onclick="pickElem('Co')">Co</td> |
| 139 |
<td class="metl" id="pNi" onclick="pickElem('Ni')">Ni</td> |
| 140 |
<td class="metl" id="pCu" onclick="pickElem('Cu')">Cu</td> |
| 141 |
<td class="metl" id="pZn" onclick="pickElem('Zn')">Zn</td> |
| 142 |
<td class="main" id="mGa" onclick="pickElem('Ga')">Ga</td> |
| 143 |
<td class="main" id="mGe" onclick="pickElem('Ge')">Ge</td> |
| 144 |
<td class="main" id="mAs" onclick="pickElem('As')">As</td> |
| 145 |
<td class="main" id="mSe" onclick="pickElem('Se')">Se</td> |
| 146 |
<td class="main" id="mBr" onclick="pickElem('Br')">Br</td> |
| 147 |
<td class="metl" id="pKr" onclick="pickElem('Kr')">Kr</td> |
| 148 |
</tr> |
| 149 |
<tr> |
| 150 |
<td class="metl" id="pRb" onclick="pickElem('Rb')">Rb</td> |
| 151 |
<td class="metl" id="pSr" onclick="pickElem('Sr')">Sr</td> |
| 152 |
<td class="metl" id="pY" onclick="pickElem('Y')">Y</td> |
| 153 |
<td class="metl" id="pZr" onclick="pickElem('Zr')">Zr</td> |
| 154 |
<td class="metl" id="pNb" onclick="pickElem('Nb')">Nb</td> |
| 155 |
<td class="metl" id="pMo" onclick="pickElem('Mo')">Mo</td> |
| 156 |
<td class="metl" id="pTc" onclick="pickElem('Tc')">Tc</td> |
| 157 |
<td class="metl" id="pRu" onclick="pickElem('Ru')">Ru</td> |
| 158 |
<td class="metl" id="pRh" onclick="pickElem('Rh')">Rh</td> |
| 159 |
<td class="metl" id="pPd" onclick="pickElem('Pd')">Pd</td> |
| 160 |
<td class="metl" id="pAg" onclick="pickElem('Ag')">Ag</td> |
| 161 |
<td class="metl" id="pCd" onclick="pickElem('Cd')">Cd</td> |
| 162 |
<td class="main" id="mIn" onclick="pickElem('In')">In</td> |
| 163 |
<td class="main" id="mSn" onclick="pickElem('Sn')">Sn</td> |
| 164 |
<td class="main" id="mSb" onclick="pickElem('Sb')">Sb</td> |
| 165 |
<td class="main" id="mTe" onclick="pickElem('Te')">Te</td> |
| 166 |
<td class="main" id="mI" onclick="pickElem('I')">I</td> |
| 167 |
<td class="metl" id="pXe" onclick="pickElem('Xe')">Xe</td> |
| 168 |
</tr> |
| 169 |
<tr> |
| 170 |
<td class="metl" id="pCs" onclick="pickElem('Cs')">Cs</td> |
| 171 |
<td class="metl" id="pBa" onclick="pickElem('Ba')">Ba</td> |
| 172 |
<td class="metl" id="pLa" onclick="pickElem('La')">La</td> |
| 173 |
<td class="metl" id="pHf" onclick="pickElem('Hf')">Hf</td> |
| 174 |
<td class="metl" id="pTa" onclick="pickElem('Ta')">Ta</td> |
| 175 |
<td class="metl" id="pW" onclick="pickElem('W')">W</td> |
| 176 |
<td class="metl" id="pRe" onclick="pickElem('Re')">Re</td> |
| 177 |
<td class="metl" id="pOs" onclick="pickElem('Os')">Os</td> |
| 178 |
<td class="metl" id="pIr" onclick="pickElem('Ir')">Ir</td> |
| 179 |
<td class="metl" id="pPt" onclick="pickElem('Pt')">Pt</td> |
| 180 |
<td class="metl" id="pAu" onclick="pickElem('Au')">Au</td> |
| 181 |
<td class="metl" id="pHg" onclick="pickElem('Hg')">Hg</td> |
| 182 |
<td class="main" id="mTl" onclick="pickElem('Tl')">Tl</td> |
| 183 |
<td class="main" id="mPb" onclick="pickElem('Pb')">Pb</td> |
| 184 |
<td class="main" id="mBi" onclick="pickElem('Bi')">Bi</td> |
| 185 |
<td class="main" id="mPo" onclick="pickElem('Po')">Po</td> |
| 186 |
<td class="main" id="mAt" onclick="pickElem('At')">At</td> |
| 187 |
<td class="metl" id="pRn" onclick="pickElem('Rn')">Rn</td> |
| 188 |
</tr> |
| 189 |
<tr> |
| 190 |
<td class="metl" id="pFr" onclick="pickElem('Fr')">Fr</td> |
| 191 |
<td class="metl" id="pRa" onclick="pickElem('Ra')">Ra</td> |
| 192 |
<td class="metl" id="pAc" onclick="pickElem('Ac')">Ac</td> |
| 193 |
<td class="metl" id="pRf" onclick="pickElem('Rf')">Rf</td> |
| 194 |
<td class="metl" id="pDb" onclick="pickElem('Db')">Db</td> |
| 195 |
<td class="metl" id="pSg" onclick="pickElem('Sg')">Sg</td> |
| 196 |
<td class="metl" id="pBh" onclick="pickElem('Bh')">Bh</td> |
| 197 |
<td class="metl" id="pHs" onclick="pickElem('Hs')">Hs</td> |
| 198 |
<td class="metl" id="pMt" onclick="pickElem('Mt')">Mt</td> |
| 199 |
<td class="metl" id="pDs" onclick="pickElem('Ds')">Ds</td> |
| 200 |
<td class="metl" id="pRg" onclick="pickElem('Rg')">Rg</td> |
| 201 |
<td class="metl" id="pCn" onclick="pickElem('Cn')">Cn</td> |
| 202 |
<td class="metl" id="pUut" onclick="pickElem('Uut')">Uut</td> |
| 203 |
<td class="metl" id="pFl" onclick="pickElem('Fl')">Fl</td> |
| 204 |
<td class="metl" id="pUup" onclick="pickElem('Uup')">Uup</td> |
| 205 |
<td class="metl" id="pLv" onclick="pickElem('Lv')">Lv</td> |
| 206 |
<td class="metl" id="pUus" onclick="pickElem('Uus')">Uus</td> |
| 207 |
<td class="metl" id="pUuo" onclick="pickElem('Uuo')">Uuo</td> |
| 208 |
</tr> |
| 209 |
<tr> |
| 210 |
<td class="Row" id="RowLa" colspan="2"> </td> |
| 211 |
<td class="metl" id="pCe" onclick="pickElem('Ce')">Ce</td> |
| 212 |
<td class="metl" id="pPr" onclick="pickElem('Pr')">Pr</td> |
| 213 |
<td class="metl" id="pNd" onclick="pickElem('Nd')">Nd</td> |
| 214 |
<td class="metl" id="pPm" onclick="pickElem('Pm')">Pm</td> |
| 215 |
<td class="metl" id="pSm" onclick="pickElem('Sm')">Sm</td> |
| 216 |
<td class="metl" id="pEu" onclick="pickElem('Eu')">Eu</td> |
| 217 |
<td class="metl" id="pGd" onclick="pickElem('Gd')">Gd</td> |
| 218 |
<td class="metl" id="pTb" onclick="pickElem('Tb')">Tb</td> |
| 219 |
<td class="metl" id="pDy" onclick="pickElem('Dy')">Dy</td> |
| 220 |
<td class="metl" id="pHo" onclick="pickElem('Ho')">Ho</td> |
| 221 |
<td class="metl" id="pEr" onclick="pickElem('Er')">Er</td> |
| 222 |
<td class="metl" id="pTm" onclick="pickElem('Tm')">Tm</td> |
| 223 |
<td class="metl" id="pYb" onclick="pickElem('Yb')">Yb</td> |
| 224 |
<td class="metl" id="pLu" onclick="pickElem('Lu')">Lu</td> |
| 225 |
<td class="Row" id="RowLa2" colspan="2"> </td> |
| 226 |
</tr> |
| 227 |
<tr> |
| 228 |
<td class="Row" id="RowAc" colspan="2"> </td> |
| 229 |
<td class="metl" id="pTh" onclick="pickElem('Th')">Th</td> |
| 230 |
<td class="metl" id="pPa" onclick="pickElem('Pa')">Pa</td> |
| 231 |
<td class="metl" id="pU" onclick="pickElem('U')" >U</td> |
| 232 |
<td class="metl" id="pNp" onclick="pickElem('Np')">Np</td> |
| 233 |
<td class="metl" id="pPu" onclick="pickElem('Pu')">Pu</td> |
| 234 |
<td class="metl" id="pAm" onclick="pickElem('Am')">Am</td> |
| 235 |
<td class="metl" id="pCm" onclick="pickElem('Cm')">Cm</td> |
| 236 |
<td class="metl" id="pBk" onclick="pickElem('Bk')">Bk</td> |
| 237 |
<td class="metl" id="pCf" onclick="pickElem('Cf')">Cf</td> |
| 238 |
<td class="metl" id="pEs" onclick="pickElem('Es')">Es</td> |
| 239 |
<td class="metl" id="pFm" onclick="pickElem('Fm')">Fm</td> |
| 240 |
<td class="metl" id="pMd" onclick="pickElem('Md')">Md</td> |
| 241 |
<td class="metl" id="pNo" onclick="pickElem('No')">No</td> |
| 242 |
<td class="metl" id="pLr" onclick="pickElem('Lr')">Lr</td> |
| 243 |
<td class="Row" id="RowAc2" colspan="2"> </td> |
| 244 |
</tr> |
| 245 |
</table> |
| 246 |
|
| 247 |
<p><strong>Hybridization:</strong></p> |
| 248 |
<p> |
| 249 |
<input type='button' class="Button" id="cld1" onclick="pickClouds('1')" value="s" /> |
| 250 |
<input type='button' class="Button" id="cld2" onclick="pickClouds('2')" value="sp" /> |
| 251 |
<input type='button' class="Button" id="cld3" onclick="pickClouds('3')" value="sp2" /> |
| 252 |
<input type='button' class="Button" id="cld4" onclick="pickClouds('4')" value="sp3" /> |
| 253 |
</p> |
| 254 |
<p> |
| 255 |
<input type='button' class="Button" id="delbtn" onclick="pickElem('Delete')" value="Delete Atom" /> |
| 256 |
<input type='button' class="Button" id="delbond" onclick="pickElem('DelBond')" value="Delete Bond" /> |
| 257 |
</p> |
| 258 |
<p> |
| 259 |
<input type='button' class="Button" id="rotbond" onclick="pickElem('RotateBond')" value="Rotate Bond" /> |
| 260 |
<input type='button' class="Button" id="undo" onclick="Undo('pop')" value="Undo" /> |
| 261 |
<input type='button' class="Button" id="redo" onclick="Undo('redo')" value="Redo" /> |
| 262 |
</p> |
| 263 |
<p> |
| 264 |
<input type='button' class="Button" id="OptButton" onclick="mechanics()" value="Optimize Structure" /> |
| 265 |
</p> |
| 266 |
</div> |
| 267 |
|
| 268 |
<p class="clear"> </p> |
| 269 |
|
| 270 |
<!-- Create form to collect Calculation options --> |
| 271 |
<div id="paramDiv" class="HiddenDiv"> |
| 272 |
<h3>Parameters for quantum mechanical calculation</h3> |
| 273 |
<div id="User" class="User"> |
| 274 |
|
| 275 |
<label for="Name">Name for input file:</label> |
| 276 |
<input type="text" id="Name" maxlength="15" class="radio" /> |
| 277 |
<br /> |
| 278 |
|
| 279 |
<label for="Comment">Comment:</label> |
| 280 |
<input type="text" id="Comment" maxlength="80" class="radio" /> |
| 281 |
<br /> |
| 282 |
|
| 283 |
<label for="Charge">Charge:</label> |
| 284 |
<input type="number" id="Charge" class="radio" |
| 285 |
min="-10" max="10" step="1" value="0" maxlength="3" /> |
| 286 |
<br /> |
| 287 |
|
| 288 |
<label for="SelectType">Type of Calculation:</label> |
| 289 |
<form name="SelectType" class="radio"> |
| 290 |
<input type="radio" name="Type" value="ENERGY" />Single-Point Energy |
| 291 |
<input type="radio" name="Type" value="OPTIMIZE" />Geometry Optimization |
| 292 |
<input type="radio" name="Type" value="FULL" checked="checked" />Optimization and Frequency |
| 293 |
</form> |
| 294 |
<br /> |
| 295 |
|
| 296 |
<label for="SelectBasis">Basis Set:</label> |
| 297 |
<form name="SelectBasis" class="radio"> |
| 298 |
<input type="radio" name="Basis" value="STO-3G" />STO-3G |
| 299 |
<input type="radio" name="Basis" value="3-21G" />3-21G |
| 300 |
<input type="radio" name="Basis" value="6-31G*" checked="checked" />6-31G* |
| 301 |
<input type="radio" name="Basis" value="6-311G**" />6-311G** |
| 302 |
</form> |
| 303 |
<br /> |
| 304 |
|
| 305 |
<label for="SelectDFT">DFT Functional:</label> |
| 306 |
<form name="SelectDFT" class="radio"> |
| 307 |
<input type="radio" name="DFT" value="NONE" />None |
| 308 |
<input type="radio" name="DFT" value="B3LYP" checked="checked" />B3LYP |
| 309 |
<input type="radio" name="DFT" value="B97-D" />B97-D |
| 310 |
<input type="radio" name="DFT" value="PBE0" />PBE0 |
| 311 |
<input type="radio" name="DFT" value="M11" />M11 |
| 312 |
<input type="radio" name="DFT" value="wB97X-D" />wB97X-D |
| 313 |
</form> |
| 314 |
<br /> |
| 315 |
|
| 316 |
<label for="SelectPCM">PCM Solvent:</label> |
| 317 |
<form name="SelectPCM"> |
| 318 |
<input type="radio" name="PCM" value="None" checked="checked" />None |
| 319 |
<input type="radio" name="PCM" value="H2O" />Water |
| 320 |
<input type="radio" name="PCM" value="CH3OH" />Methanol |
| 321 |
<input type="radio" name="PCM" value="C2H5OH" />Ethanol |
| 322 |
<input type="radio" name="PCM" value="ACETONE" />Acetone |
| 323 |
<input type="radio" name="PCM" value="THF" />THF |
| 324 |
</form> |
| 325 |
<br /> |
| 326 |
</div> |
| 327 |
|
| 328 |
<p> |
| 329 |
<input type='button' onclick='createQC()' value='Create data file' /> |
| 330 |
<input type='button' onclick='hideQCEdit()' value='Cancel' /> |
| 331 |
</p> |
| 332 |
</div> |
| 333 |
|
| 334 |
<div id="submitDiv" class="HiddenDiv"> |
| 335 |
<p class="instruct">You may edit the data in the <strong>Information</strong> box below. |
| 336 |
When finished, submit the job by pressing the [Start Calculation] button.<br /> |
| 337 |
<input type='button' onclick='writeQC()' value='Start Calculation' /> |
| 338 |
<input type='button' onclick='hideQCSubmit()' value='Cancel' /> |
| 339 |
</p> |
| 340 |
</div> |
| 341 |
|
| 342 |
<div id="bondMatrix" class="bondMatrix"></div> |
| 343 |
|
| 344 |
<p><strong>Information</strong></br><textarea id="information" rows="10" cols="80"></textarea></p> |
| 345 |
|
| 346 |
<div class="Footer" id="Footer"> |
| 347 |
The chem3d.js library copyright © 2013 by Clarke Earley<br /> |
| 348 |
and is distributed under the terms of the |
| 349 |
<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>. |
| 350 |
</div> |
| 351 |
|
| 352 |
</body> |
| 353 |
</html> |