public class AgAtomSimple extends AgAtom
CORNER, EDGE, EDGE_A, EDGE_B, ISLAND, KINK, KINK_A, KINK_B, TERRACE
ARMCHAIR_EDGE, BULK, SICK, ZIGZAG_EDGE, ZIGZAG_WITH_EXTRA
Constructor and Description |
---|
AgAtomSimple(int id,
int i) |
AgAtomSimple(int id,
short iHexa,
short jHexa) |
Modifier and Type | Method and Description |
---|---|
boolean |
areTwoTerracesTogether()
This method tells if two terraces are going to form a dimer.
|
AbstractGrowthAtom |
chooseRandomHop()
Simpler implementation than
AgAtom.chooseRandomHop() . |
byte |
getRealType()
Returns the real type of the current atom.
|
byte |
getTypeWithoutNeighbour(int position)
Returns the type of the neighbour atom if current one would not exist.
|
boolean |
isEligible() |
boolean |
isPartOfImmobilSubstrate() |
double |
probJumpToNeighbour(int ignored,
int position) |
private boolean |
unoccupiedEdgeTwoTerraces()
It has two neighbours.
|
private boolean |
unoccupiedKinkThreeTerraces()
It has three neighbours.
|
addNImmobile, addNMobile, clear, getAllNeighbours, getNeighbour, getNewType, getNImmobile, getNMobile, getOrientation, getOrientation, getPos, obtainRateFromNeighbours, setNeighbour, setNImmobile, setNMobile, updateOneBound
addOccupiedNeighbour, addProbability, addRate, addToSumRate, areTwoTerracesTogetherInPerimeter, compareTo, equalRate, equals, getAngle, getAttributes, getBondsProbability, getBondsProbability, getCartesianPosition, getCartesianSuperCell, getDepositionPosition, getDepositionTime, getEdgeRate, getHops, getId, getiHexa, getIslandNumber, getjHexa, getMultiAtomNumber, getMultiplier, getOccupiedNeighbours, getProbability, getProbability, getProbability, getRate, getSumRate, getType, hashCode, initialiseRates, isInnerPerimeter, isIsolated, isOnList, isOuterPerimeter, isOutside, isVisited, remove, removeMultiAtomNumber, removeMultiAtoms, resetPerimeter, resetProbability, setAngle, setAttributes, setBondsProbability, setBondsProbability, setCartesianPosition, setCartesianSuperCell, setDepositionPosition, setDepositionTime, setHops, setInnerPerimeter, setIslandNumber, setMultiAtomNumber, setMultiplier, setOnList, setOuterPerimeter, setOutside, setProcceses, setRate, setSumRate, setType, setVisited, swapAttributes, toString, updateRate
getNumberOfNeighbours, getProbabilities, isOccupied, isOnList, isRemoved, setList, setNeighbour, setNumberOfNeighbours, setOccupied, setProbabilities, setRemoved, unRemove
public AgAtomSimple(int id, short iHexa, short jHexa)
public AgAtomSimple(int id, int i)
public boolean isPartOfImmobilSubstrate()
isPartOfImmobilSubstrate
in class AgAtom
public byte getTypeWithoutNeighbour(int position)
getTypeWithoutNeighbour
in class AgAtom
position
- ignored.public byte getRealType()
getRealType
in interface IAtom
getRealType
in class AgAtom
public boolean isEligible()
isEligible
in interface IAtom
isEligible
in class AgAtom
public AbstractGrowthAtom chooseRandomHop()
AgAtom.chooseRandomHop()
. This one, does not consider
corner rounding.chooseRandomHop
in class AgAtom
public double probJumpToNeighbour(int ignored, int position)
probJumpToNeighbour
in class AgAtom
public boolean areTwoTerracesTogether()
areTwoTerracesTogether
in class AgAtom
private boolean unoccupiedEdgeTwoTerraces()
private boolean unoccupiedKinkThreeTerraces()