public class AgUcLatticeSimple extends AgUcLattice
Y_RATIO
Constructor and Description |
---|
AgUcLatticeSimple(int hexaSizeI,
int hexaSizeJ,
ModifiedBuffer modified,
HopsPerStep distancePerStep,
int type)
Creates a lattice to work with hexagonal Ag simulation, based on unit cells
(UC) in the super class.
|
Modifier and Type | Method and Description |
---|---|
private void |
addOccupiedNeighbour(AgAtom neighbourAtom)
Éste lo ejecutan los primeros vecinos
|
void |
deposit(AbstractGrowthAtom a,
boolean forceNucleation) |
double |
extract(AbstractGrowthAtom a)
Extract the given atom from the lattice.
|
private void |
removeMobileOccupied(AgAtom neighbourAtom)
Computes the removal of one mobile atom.
|
changeOccupationByHand, getAtom, getAtom, getAvailableDistance, getCartSizeX, getCartSizeY, getCentralAtom, getCentralCartesianLocation, getCoverage, getFarSite, getUc, getUc, size
getCartesianLocation, getCartX, getCartY, getHexagonalCoordinates, getiHexa, getjHexa, getNeighbour, init
addAtom, addBondAtom, addOccupied, countIslands, countPerimeter, getAtom, getAtom, getAtomTypesCounter, getAverageGyradius, getCentreOfMass, getCmDistance, getDistancesToCentre, getDistanceToCenter, getDistanceToCenter, getEmptyTypesCounter, getInnerPerimeterLenght, getIsland, getIslandCount, getIslandIterator, getMobileAtoms, getMonomerCount, getMultiAtom, getMultiAtomCount, getMultiAtomIterator, getMultiAtomsIterator, getOccupied, getOuterPerimeterLenght, getTotalHops, getTracerDistance, identifyAddMultiAtom, identifyIsland, identifyRemoveMultiAtomIsland, initialiseRates, printDistances, reset, resetOccupied, setAngles, setAtoms, setAtomsTypesCounter, setInsideCircle, setInsideSquare, subtractOccupied, swapAtomsInMultiAtom, swapIsland
getHexaSizeI, getHexaSizeJ, getHexaSizeK, getUnitCellSize, isPaused, setHexaSizeI, setHexaSizeJ, setHexaSizeK, setPaused, setProbabilities, setUnitCellSize
public AgUcLatticeSimple(int hexaSizeI, int hexaSizeJ, ModifiedBuffer modified, HopsPerStep distancePerStep, int type)
hexaSizeI
- size in I direction. How many points horizontally.hexaSizeJ
- size in J direction. How many points vertically.modified
- temporary buffer.distancePerStep
- auxiliary class for Devita.type
- whether to use Ag simple, normal or concertedpublic void deposit(AbstractGrowthAtom a, boolean forceNucleation)
public double extract(AbstractGrowthAtom a)
AbstractGrowthLattice
private void addOccupiedNeighbour(AgAtom neighbourAtom)
neighbourAtom
- neighbour atom of the original atomoriginType
- type of the original atomforceNucleation
- private void removeMobileOccupied(AgAtom neighbourAtom)
neighbourAtom
- neighbour atom of the original atom