-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmaterial.cc
executable file
·52 lines (41 loc) · 1.18 KB
/
material.cc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#include "material.h"
Material* Material::TESTMaterial()
{
return new Material(39.948, 1, new LJPotential(1, 1));
}
Material* Material::Argon()
{
return new Material(39.948, 1, new LJPotential{ 0.010423316, 3.40 }); //lattice param = 5.260 Ang
}
Material* Material::Silver()
{
return new Material(107.8682, 1, new LJPotential{ 0.34 , 2.65 }); //lattice param = 4.090 Ang
}
Material* Material::Helium()
{
return new Material(4.0026, 1, new LJPotential{ 0.0008738 , 2.56 }); //lattice param = 4.242 Ang
}
Material* Material::Neon()
{
return new Material(20.1797, 1, new LJPotential{ 0.003121 , 2.74 }); //lattice param = 4.429 Ang
}
Material* Material::Krypton()
{
return new Material(83.7980, 1, new LJPotential{ 0.01404 , 3.65 }); //lattice param = 5.706 Ang
}
Material* Material::Xenon()
{
return new Material(131.293, 1, new LJPotential{ 0.01997 , 3.98 }); //lattice param = 6.202 Ang
}
Material* Material::Nickel()
{
return new Material(58.6934, 1, new LJPotential{ 0.66 , 2.24 }); //lattice param = 3.524 Ang
}
Material* Material::Rhodium()
{
return new Material(102.9055, 1, new LJPotential{ 0.67 , 2.46 }); //lattice param = 3.803 Ang
}
Material::~Material()
{
delete potential;
}