Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
Get_Atomic_Mass.m
Go to the documentation of this file.
1 %% Eotvos Quantum Transport Utilities
2 % Copyright (C) 2018 Peter Rakyta, Ph.D
3 %
4 % This program is free software: you can redistribute it and/or modify
5 % it under the terms of the GNU General Public License as published by
6 % the Free Software Foundation, either version 3 of the License, or
7 % (at your option) any later version.
8 %
9 % This program is distributed in the hope that it will be useful,
10 % but WITHOUT ANY WARRANTY; without even the implied warranty of
11 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 % GNU General Public License for more details.
13 %
14 % You should have received a copy of the GNU General Public License
15 % along with this program. If not, see http://www.gnu.org/licenses/.
16 %
17 %> @file Get_Atomic_Mass.m
18 %> @brief Gives the molar mass of the element
19 %> @param Z is the index of the element in the periodic table
20 %> @return molar mass of the element
21 %> @Available
22 %> EQuUs v4.9.... or later
23 %> @}
24 function am = Get_Atomic_Mass(Z )
25 
26  amass =[1.01, 4.00, 6.94, 9.01, 10.81, 12.01, ...
27  14.01, 16.00, 19.00, 20.18, 22.99, 24.31, ...
28  26.98, 28.09, 30.97, 32.07, 35.45, 39.95, ...
29  39.10, 40.08, 44.96, 47.88, 50.94, 52.00, ...
30  54.94, 55.85, 58.93, 58.69, 63.55, 65.39, ...
31  69.72, 72.61, 74.92, 78.96, 79.90, 83.80, ...
32  85.47, 87.62, 88.91, 91.22, 92.91, 95.94, ...
33  98.91,101.07,102.91,106.42,107.87,112.41, ...
34  114.82,118.71,121.75,127.60,126.90,131.29, ...
35  132.91,137.33,138.91,140.12,140.91,144.24, ...
36  146.92,150.36,151.97,157.25,158.93,162.50, ...
37  164.93,167.26,168.93,173.04,174.97,178.49, ...
38  180.95,183.85,186.21,190.20,192.22,195.08, ...
39  196.97,200.59,204.38,207.20,208.98,208.98, ...
40  209.99,222.02,223.02,226.03,227.03,232.04, ...
41  231.04,238.03,237.05,244.06];
42 
43  if (Z==0 || Z>length(amass))
44  disp(['ATMASS: ERROR: No data for Z =' str2num(Z)])
45  exit
46  else
47  am=amass(Z);
48  end
49 
50 end
function Transport(Energy, B)
Calculates the conductance at a given energy value.
Structure param contains data structures describing the physical parameters of the scattering center ...
Definition: structures.m:45
function Get_Atomic_Mass(Z)