IAP logo

Differences

This shows you the differences between two versions of the page.

surface:chemical_potentials [2018-12-11 19:49]
Michael Schmid
surface:chemical_potentials [2018-12-22 16:23] (current)
Michael Schmid more options for tables
Line 41: Line 41:
<tr style="padding-bottom: 0.5em;"> <tr style="padding-bottom: 0.5em;">
<td align="right">Pressure</td><td> <td align="right">Pressure</td><td>
-<input type="text" name="p" size="14" value="1013" style="background: #E0F0FF"+<input type="text" name="p" size="14" value="1" style="background: #E0F0FF"
  onchange="checkInput(this, 1e-100, getPUnit().max, 'mu', 'table')&amp;&amp;newP();" />   onchange="checkInput(this, 1e-100, getPUnit().max, 'mu', 'table')&amp;&amp;newP();" />
</td><td> </td><td>
-<select name="punit" onchange="newP();" style="background: #E0F0FF">+<select name="punit" onchange="newPUnit();" style="background: #E0F0FF">
<option value="bar">bar</option> <option value="bar">bar</option>
<option value="mbar" selected="selected">mbar</option> <option value="mbar" selected="selected">mbar</option>
Line 53: Line 53:
<tr style="padding-bottom: 0.5em;"> <tr style="padding-bottom: 0.5em;">
-<td align="right">Chemical Potential</td><td>+<td align="right">Chem. Potential &mu;</td><td>
<input type="text" name="mu" size="14" value="" style="background: #E0F0FF" <input type="text" name="mu" size="14" value="" style="background: #E0F0FF"
  onchange="checkInput(this, getMuUnit().max, 0, 'p', 'table')&amp;&amp;newMu();" />   onchange="checkInput(this, getMuUnit().max, 0, 'p', 'table')&amp;&amp;newMu();" />
</td><td> </td><td>
-<select name="muunit" onchange="newKelvin();" style="background: #E0F0FF">+<select name="muunit" onchange="newMuUnit();" style="background: #E0F0FF">
<option value="eV" selected="selected">eV</option> <option value="eV" selected="selected">eV</option>
<option value="J">J/mol</option> <option value="J">J/mol</option>
Line 67: Line 67:
<tr><td colspan="2"><b> <tr><td colspan="2"><b>
CREATE A TABLE:</b></td></tr> CREATE A TABLE:</b></td></tr>
-<tr><td align="right">Start Temperature T1=</td><td>+<tr><td align="right">Table Type</td><td colspan="2"> 
 +  <select name="tabletype"  selected="kelvin" onchange="newTableType();" style="background: #E0F0FF"> 
 +    <option value="kelvin">&mu;(T) @ fixed p (from above)</option> 
 +    <option value="celsius">&mu;(T &deg;C) @ fixed p (from above)</option> 
 +    <option value="p">&mu;(p) @ fixed T (from above)</option> 
 +    <option value="mu">p(T) @ fixed &mu; (from above)</option> 
 +  </select> 
 +</td></tr> 
 +<tr><td align="right">Start</td><td>
<input type="text" name="T1" size="14" value="" style="background: #E0F0FF" <input type="text" name="T1" size="14" value="" style="background: #E0F0FF"
-  onchange="checkInput(this, 100, 1999, 'table', null)&amp;&amp;makeTable();" /> +  onchange="checkInput(this, TableRangeMin, TableRangeMax, 'table', null)&amp;&amp;makeTable();" /> 
-</td><td>K</td></tr>+</td><td> 
 +  <div id="TstepUnit1"></div> 
 +</td></tr>
-<tr><td align="right">End Temperature T2=</td><td>+<tr><td align="right">End</td><td>
<input type="text" name="T2" size="14" value="" style="background: #E0F0FF" <input type="text" name="T2" size="14" value="" style="background: #E0F0FF"
-  onchange="checkInput(this, 101, 2000, 'table', null)&amp;&amp;makeTable();" /> +  onchange="checkInput(this, TableRangeMin, TableRangeMax, 'table', null)&amp;&amp;makeTable();" /> 
-</td><td>K</td></tr>+</td><td> 
 +  <div id="TstepUnit2"></div></td></tr>
-<tr><td align="right">Temperature Step=</td><td>+<tr><td align="right">Step</td><td>
<input type="text" name="step" size="14" value="" style="background: #E0F0FF" <input type="text" name="step" size="14" value="" style="background: #E0F0FF"
-  onchange="checkInput(this, 0.1, 500,  'table', null)&amp;&amp;makeTable();" /> +  onchange="checkMultiplierOrValue(this, TableStepMin, TableStepMax,  'table', null)&amp;&amp;makeTable();" /> 
-</td><td>K</td></tr> +</td><td> 
 +  <div id="TstepUnit3"></div></td></tr>
<tr> <tr>
<td align="right">Delimiter:</td><td> <td align="right">Delimiter:</td><td>
Line 108: Line 119:
<!-- hide script from old browsers <!-- hide script from old browsers
//  U P D A T E  F I E L D S //  U P D A T E  F I E L D S
-newKelvin();+newKelvin(); newTableType();
// End --> // End -->
</script> </script>
surface/chemical_potentials.txt · Last modified: 2018-12-22 16:23 by Michael Schmid