# | Line 146 | Line 146 | Lattice::~Lattice(void){ | |
---|---|---|
146 | ||
147 | ||
148 | int Lattice::createOrthorhombicLattice(double latticeParameters[3]){ | |
149 | < | double cell2; |
149 | > | double cellx2, celly2, cellz2; |
150 | double rroot3; | |
151 | ||
152 | < | cellLengthX = latticeParameter[0]; |
153 | < | cellLengthY = latticeParameter[1]; |
154 | < | cellLengthZ = latticeParameter[2]; |
152 | > | cellLengthX = latticeParameters[0]; |
153 | > | cellLengthY = latticeParameters[1]; |
154 | > | cellLengthZ = latticeParameters[2]; |
155 | ||
156 | < | cellx2 = 0.5 * latticeParameter[0]; |
157 | < | cellx2 = 0.5 * latticeParameter[1]; |
158 | < | cellx2 = 0.5 * latticeParameter[2]; |
156 | > | cellx2 = 0.5 * latticeParameters[0]; |
157 | > | celly2 = 0.5 * latticeParameters[1]; |
158 | > | cellz2 = 0.5 * latticeParameters[2]; |
159 | rroot3 = 1.0 / sqrt(3.0); | |
160 | ||
161 | nCellSites = 4; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |