#include <lattice.h>
Inheritance diagram for SquareLattice:

Public Methods | |
| SquareLattice (Layer *pLayer, Int_t Nx, Int_t Ny, Double_t c) | |
| virtual | ~SquareLattice () |
| void | CreateLattice () |
| Create the lattice in memory (atoms). | |
| Atom * | GetAtomNeighbor (Atom *) |
| Getting a neighbor wich is not a defect. | |
|
||||||||||||||||||||
|
Definition at line 269 of file lattice.cpp. References Lattice::c, CreateLattice(), Lattice::N, Lattice::Nu, Lattice::Nx, Lattice::Ny, and Lattice::ShowLattice(). |
|
|
Definition at line 279 of file lattice.cpp. |
|
|
Create the lattice in memory (atoms).
Implements Lattice. Definition at line 283 of file lattice.cpp. References Lattice::Atom, Lattice::atoms, Lattice::c, Lattice::defects, kAtomBottom, kAtomLeft, kAtomRight, kAtomTop, Lattice::N, Lattice::Nx, Lattice::Ny, Lattice::SetBorderMode(), and Lattice::SetCornerMode(). Referenced by SquareLattice(). |
|
|
Getting a neighbor wich is not a defect.
Implements Lattice. Definition at line 319 of file lattice.cpp. References Lattice::atoms, Lattice::GetAtomIndex(), Lattice::GetAtomPos(), Atom::IsDefect(), kAtomBottom, kAtomLeft, kAtomRight, kAtomTop, Lattice::N, and Lattice::Nx. |
1.2.16