#include <lattice.h>
Inheritance diagram for HexLattice:
Public Methods | |
HexLattice (Layer *pLayer, Int_t Nx, Int_t Ny, Double_t c) | |
virtual | ~HexLattice () |
void | CreateLattice () |
Create the lattice in memory (atoms). | |
Atom * | GetAtomNeighbor (Atom *) |
Getting a neighbor wich is not a defect. |
|
Definition at line 373 of file lattice.cpp. References Lattice::c, CreateLattice(), Lattice::N, Lattice::Nu, Lattice::Nx, Lattice::Ny, and Lattice::ShowLattice(). |
|
Definition at line 383 of file lattice.cpp. |
|
Create the lattice in memory (atoms).
Implements Lattice. Definition at line 387 of file lattice.cpp. References Lattice::Atom, Lattice::atoms, Lattice::c, Lattice::defects, kAtomBottom, kAtomCenter, kAtomLeft, kAtomRight, kAtomTop, Lattice::N, Lattice::Nx, Lattice::Ny, Lattice::SetAtomType(), and Lattice::SetBorderMode(). Referenced by HexLattice(). |
|
Getting a neighbor wich is not a defect.
Implements Lattice. Definition at line 453 of file lattice.cpp. References Lattice::atoms, Lattice::GetAtomIndex(), Lattice::GetAtomPos(), Lattice::GetAtomType(), Atom::IsDefect(), kAtomBottom, kAtomCenter, kAtomLeft, kAtomRight, kAtomTop, Lattice::N, and Lattice::Nx. |