45#include "lattice/SCLattice.hpp"
49 SCLattice::SCLattice() : CubicLattice() {
51 cellSitesPos.resize(nCellSites);
52 cellSitesOrt.resize(nCellSites);
56 void SCLattice::update() {
57 RealType oneOverRoot3;
58 oneOverRoot3 = 1.0 / sqrt(3.0);
61 cellSitesPos[0][0] = 0.0;
62 cellSitesPos[0][1] = 0.0;
63 cellSitesPos[0][2] = 0.0;
65 cellSitesOrt[0][0] = oneOverRoot3;
66 cellSitesOrt[0][1] = oneOverRoot3;
67 cellSitesOrt[0][2] = oneOverRoot3;
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.