public class GrapheneAtomGaillardSimple extends GrapheneAtom
| Modifier and Type | Field and Description |
|---|---|
static byte |
NEIGH0 |
static byte |
NEIGH1 |
static byte |
NEIGH2 |
static byte |
NEIGH3 |
ARMCHAIR_EDGE, BULK, CORNER, EDGE, KINK, SICK, TERRACE, ZIGZAG_EDGE, ZIGZAG_WITH_EXTRA| Constructor and Description |
|---|
GrapheneAtomGaillardSimple(int id,
short iHexa,
short jHexa,
HopsPerStep distancePerStep) |
| Modifier and Type | Method and Description |
|---|---|
byte |
getNewType(int neighbourPosition,
int addOrRemove)
Calculates the new atom type when adding or removing a neighbour.
|
byte |
getTypeWithoutNeighbour(int position)
Returns the type of the neighbour atom if current one would not exist.
|
boolean |
isEligible()
Only BULK atom types are considered immobile atoms.
|
double |
probJumpToNeighbour(int ignored,
int position)
Probability to jump to given neighbour position.
|
areTwoTerracesTogether, chooseRandomHop, clear, getAllNeighbours, getDistancePerStep, getN1, getN2, getN3, getNeighbour, getNeighbourCount, getOrientation, isPartOfImmobilSubstrate, obtainRateFromNeighbours, setN1, setNeighbour, setNeighbours, updateOneBoundaddOccupiedNeighbour, 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, updateRategetNumberOfNeighbours, getPos, getProbabilities, getRealType, isOccupied, isOnList, isRemoved, setList, setNeighbour, setNumberOfNeighbours, setOccupied, setProbabilities, setRemoved, unRemovepublic static final byte NEIGH0
public static final byte NEIGH1
public static final byte NEIGH2
public static final byte NEIGH3
public GrapheneAtomGaillardSimple(int id,
short iHexa,
short jHexa,
HopsPerStep distancePerStep)
public boolean isEligible()
isEligible in interface IAtomisEligible in class GrapheneAtompublic double probJumpToNeighbour(int ignored,
int position)
GrapheneAtomprobJumpToNeighbour in class GrapheneAtompublic byte getTypeWithoutNeighbour(int position)
getTypeWithoutNeighbour in class GrapheneAtomposition - ignored.public byte getNewType(int neighbourPosition,
int addOrRemove)
getNewType in class GrapheneAtomneighbourPosition - position of the neighbour. Must be always 1. IgnoredaddOrRemove - add or remove one neighbour. Must be -1 or 1