Definition at line 28 of file fcclattice.h.
Public Member Functions | |
void | createLattice (int baseSize, double reducedDensity, Cluster &cluster) const |
FCC_Lattice () | |
Private Member Functions | |
void | adjustPosCenMass (Cluster &cluster) const |
|
Default constructor. Definition at line 23 of file fcclattice.cpp. |
|
Adjusts the positions of a cluster according to its centre of mass.
Definition at line 88 of file fcclattice.cpp. References Cluster::positionCentreMass(), and Cluster::size(). Referenced by createLattice(). Here is the call graph for this function: |
|
Creates a cluster in an FCC lattice formation.
Definition at line 26 of file fcclattice.cpp. References Cluster::addAtom(), adjustPosCenMass(), Cluster::calculateCentreMass(), Cluster::clear(), Cluster::setPositionCentreMass(), Coordinate::x, Coordinate::y, and Coordinate::z. Referenced by createCluster(). Here is the call graph for this function: |