public class AbstractGrowthAtomAttributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private Point3D |
depositionPosition
The position were atom is deposited.
|
private double |
depositionTime
Stores when the atom has been deposited.
|
private int |
hops
Number of hops that atom has done.
|
private int |
islandNumber
If current atom belong to an island, its number is stored, otherwise is 0.
|
private java.util.Set<java.lang.Integer> |
multiAtomNumberSet
If current atom can move along with another atom inside an island, otherwise is 0.
|
Constructor and Description |
---|
AbstractGrowthAtomAttributes() |
Modifier and Type | Method and Description |
---|---|
void |
addMultiAtomNumber(int multiAtomNumber) |
void |
addOneHop() |
void |
clear() |
Point3D |
getDepositionPosition() |
double |
getDepositionTime() |
int |
getHops() |
int |
getIslandNumber() |
java.util.Set |
getMultiAtomNumber() |
void |
removeMultiAtomNumber(int multiAtomNumber) |
void |
removeMultiAtoms()
Removes all multi atoms that current atoms belonged to.
|
void |
setDepositionPosition(Point3D position) |
void |
setDepositionTime(double time)
Stores when the atom has been deposited.
|
void |
setHops(int hops) |
void |
setIslandNumber(int islandNumber) |
private double depositionTime
private Point3D depositionPosition
private int hops
private int islandNumber
private java.util.Set<java.lang.Integer> multiAtomNumberSet
public void setDepositionTime(double time)
time
- deposition time or former time.public double getDepositionTime()
public void setDepositionPosition(Point3D position)
public Point3D getDepositionPosition()
public void setHops(int hops)
public int getHops()
public void addOneHop()
public int getIslandNumber()
public void setIslandNumber(int islandNumber)
public java.util.Set getMultiAtomNumber()
public void addMultiAtomNumber(int multiAtomNumber)
public void removeMultiAtomNumber(int multiAtomNumber)
public void removeMultiAtoms()
public void clear()