71 |
|
using namespace std; |
72 |
|
using namespace oopse; |
73 |
|
|
74 |
< |
sphericalNanoparticle::sphericalNanoparticle(double radius, int latticeCnst){ |
74 |
> |
sphericalNanoparticle::sphericalNanoparticle(double radius, int latticeConstant){ |
75 |
|
|
76 |
< |
particleRadius = radius; |
77 |
< |
particleDiameter = 2.0 * radius; |
78 |
< |
latticeConstant = latticeCnst; |
76 |
> |
particleRadius_ = radius; |
77 |
> |
particleDiameter_ = 2.0 * radius; |
78 |
> |
latticeConstant_ = latticeConstant; |
79 |
|
|
80 |
|
// Number of Unit Cells in Length first |
81 |
|
ny_ = (int)(particleDiameter/latticeConstant); |