SOLARIS_Web_Simulation/WoodsSaxon.html
2023-07-25 19:11:12 -04:00

104 lines
2.9 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Woods-Saxon Calculation</title>
<link rel="icon" type="image/x-icon" href="logos/SOLARIS_favicon.png">
<script src="https://cdn.plot.ly/plotly-2.16.1.min.js"></script>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, user-scalable=no, user-scalable=0"/>
</head>
<style>
body{
font-family: Arial, Helvetica, sans-serif;
background : #6DB33E;
}
.column{
float : left;
width: 650px;
padding: 0px;
}
.row:after {
content: "";
display: table;
clear: both;
}
.plotStyle{
width:650px;
height:600px;
}
hr {
height:4px;
background-color:#F7CF3C;
border-style:none;
border-width:none;
}
</style>
<body>
<h1>Woods-Saxon Calculation</h1>
<h2>Under construction....</h2>
<table>
<tr>
<td style="text-align: right;"> V0 </td>
<td><Input type="text" style="width:60px" value="-50" id="V0" enterkeyhint="done"/></td>
<td> MeV</td>
<td style="text-align: right;"> VSO </td>
<td><Input type="text" style="width:60px" value="28" id="VSO" enterkeyhint="done"/></td>
<td> MeV</td>
</tr>
<tr>
<td style="text-align: right;"> R0 </td>
<td><Input type="text" style="width:60px" value="3.5" id="R0" enterkeyhint="done"/></td>
<td> fm</td>
<td style="text-align: right;"> RSO </td>
<td><Input type="text" style="width:60px" value="3.5" id="RSO" enterkeyhint="done"/></td>
<td> fm</td>
</tr>
<tr>
<td style="text-align: right;"> a0 </td>
<td><Input type="text" style="width:60px" value="0.6" id="a0" enterkeyhint="done"/></td>
<td> fm</td>
<td style="text-align: right;"> aSO </td>
<td><Input type="text" style="width:60px" value="0.6" id="aSO" enterkeyhint="done"/></td>
<td> fm</td>
</tr>
<tr>
<td style="text-align: right;"> Charge number </td>
<td><Input type="text" style="width:60px" value="0" id="Z" enterkeyhint="done"/></td>
<td></td>
<td style="text-align: right;"> Rc </td>
<td><Input type="text" style="width:60px" value="3.5" id="Rc" enterkeyhint="done"/></td>
<td> fm</td>
</tr>
<tr></tr>
<tr>
<td style="text-align: right;"> # Step </td>
<td><Input type="text" style="width:60px" value="300" id="nStep" enterkeyhint="done"/></td>
<td></td>
<td style="text-align: right;"> dr </td>
<td><Input type="text" style="width:60px" value="0.1" id="dr" enterkeyhint="done"/></td>
<td> fm</td>
</tr>
<tr>
<td></td>
<td><button onclick="WSCal()">Calculate</button></td>
</tr>
</table>
<div id="Plot_WS" class="plotStyle"></div>
<hr>
<h1>Range calculation.</h1>
<h2> to be added...</h2>
<p></p>
</body>
<script src="WoodsSaxon.js"></script>
</html>