diff --git a/TrimSP.html b/TrimSP.html
index e9482d9..ee9964d 100644
--- a/TrimSP.html
+++ b/TrimSP.html
@@ -24,7 +24,7 @@
-
+
@@ -51,7 +51,7 @@
- | Layer # | Composition | Density [g/cm3] | Thickness [A] |
+ | Layer # | Composition | Density [g/cm3] | Thickness [Å] |
|
@@ -61,10 +61,10 @@
| Projectile parameters |
| Projectile |
|
@@ -72,8 +72,8 @@
| Number of projectiles |
|
-
| Starting depth [A] | |
-
| Depth increment [A] | |
+
| Starting depth [Å] | |
+
| Depth increment [Å] | |
| Energy [eV] | |
| Energy sigma [eV] | |
| Angle [deg] | |
@@ -89,22 +89,22 @@
Enable scan on
-
Set of Values:
- corresponding depth increment
+
Set of values:
+ Corresponding depth increment:
| Scan parameter
|
diff --git a/TrimSPlib.js b/TrimSPlib.js
index d50114e..ed1fdf6 100644
--- a/TrimSPlib.js
+++ b/TrimSPlib.js
@@ -38,10 +38,10 @@ function parse_formula (mf) {
function Zof(Element)
{
var ElementsZ = {
- "Muon":1,
- "Li8":3,
- "B12":5,
- "Mg31":12,
+ "muon":1,
+ "lithium-8":3,
+ "boron-12":5,
+ "magnesium-31":12,
"H":1,
"He":2,
"Li":3,
@@ -142,10 +142,10 @@ function Zof(Element)
function Massof(Element)
{
var ElementsA = {
- "Muon":0.1134289259,
- "Li8":8.02248624,
- "B12":12.0143526,
- "Mg31":30.996648,
+ "muon":0.1134289259,
+ "lithium-8":8.02248624,
+ "boron-12":12.0143526,
+ "magnesium-31":30.996648,
"H":1.00800,
"He":4.00300,
"Li":6.93900,
@@ -342,9 +342,9 @@ function Elastof(Element) {
return Elast[Element];
}
-function Stopicru(Element)
+function StoppingCoefficients(Element)
{
- var Stopicru = {
+ var StoppingCoefficientsICRU = {
"H":"1.25400,1.44000,242.60001,12000.00000,0.11590",
"He":"1.22900,1.39700,484.50000,5873.00000,0.05225",
"Li":"1.41100,1.60000,725.59998,3013.00000,0.04578",
@@ -439,7 +439,7 @@ function Stopicru(Element)
"U":"7.29000,8.20400,19180.00000,586.29999,0.00267",
"":"0.00000,0.00000,0.00000,0.00000,0.00000"
};
- return Stopicru[Element];
+ return StoppingCoefficientsICRU[Element];
}
@@ -891,7 +891,7 @@ function CreateInpFile(All) {
All[LEkey+"E"+NEl]=ElE; // sprintf("%8.4f",$ElE);
All["L"+i+"030"+NEl]=El030; // sprintf("%8.4f",$El030);
- let ElST = Stopicru(El);
+ let ElST = StoppingCoefficients(El);
let ElSTs = ElST.split(',');
let j=1;
for (let iElST of ElSTs) {