public class SiAtom extends AbstractAtom
Modifier and Type | Field and Description |
---|---|
private short |
id |
private float |
limitX |
private float |
limitY |
private float |
limitZ |
private byte |
n1
Number of 1st neighbours.
|
private byte |
n2
Number of 2nd neighbours.
|
private SiAtom |
neighbour0 |
private SiAtom |
neighbour1 |
private SiAtom |
neighbour2 |
private SiAtom |
neighbour3 |
private double |
x |
private double |
y |
private double |
z |
ARMCHAIR_EDGE, BULK, CORNER, EDGE, KINK, SICK, TERRACE, ZIGZAG_EDGE, ZIGZAG_WITH_EXTRA
Constructor and Description |
---|
SiAtom(double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
short |
getId() |
float |
getLimitX() |
float |
getLimitY() |
float |
getLimitZ() |
byte |
getN1()
Number of 1st neighbours.
|
byte |
getN2()
Number of 2nd neighbours.
|
SiAtom |
getNeighbour(int pos) |
Point3D |
getPos()
Returns the position within the unit cell, (0,0) in this case.
|
double |
getProbability() |
byte |
getType() |
double |
getX() |
double |
getY() |
double |
getZ() |
void |
initialiseLimits(double limitX_a,
double limitY_a,
double limitZ_a)
Initialises limits in X, Y and Z.
|
boolean |
isEligible() |
double |
remove() |
private double |
remove1st() |
private double |
remove2nd() |
void |
setAsBulk() |
void |
setId(short id) |
void |
setNeighbour(AbstractAtom atom,
int pos) |
void |
updateN1FromScratch() |
void |
updateN2FromScratch() |
getNumberOfNeighbours, getProbabilities, getRealType, isOccupied, isOnList, isRemoved, setList, setNumberOfNeighbours, setOccupied, setProbabilities, setRemoved, unRemove
private SiAtom neighbour0
private SiAtom neighbour1
private SiAtom neighbour2
private SiAtom neighbour3
private byte n1
private byte n2
private final double x
private final double y
private final double z
private float limitX
private float limitY
private float limitZ
private short id
public double getX()
public double getY()
public double getZ()
public Point3D getPos()
AbstractAtom
getPos
in interface IAtom
getPos
in class AbstractAtom
public SiAtom getNeighbour(int pos)
public void setNeighbour(AbstractAtom atom, int pos)
setNeighbour
in interface IAtom
setNeighbour
in class AbstractAtom
public byte getType()
public byte getN1()
public byte getN2()
private double remove1st()
private double remove2nd()
public void updateN1FromScratch()
public void updateN2FromScratch()
public void setAsBulk()
public double remove()
public double getProbability()
public boolean isEligible()
public void initialiseLimits(double limitX_a, double limitY_a, double limitZ_a)
limitX_a
- limitY_a
- limitZ_a
- public float getLimitX()
public float getLimitY()
public float getLimitZ()
public short getId()
public void setId(short id)