public class CatalysisUc extends AbstractGrowthUc implements IUc
Modifier and Type | Field and Description |
---|---|
private CatalysisAtom |
atom |
private int |
posI |
private int |
posJ |
private double |
posX |
private double |
posY |
private int |
size |
Constructor and Description |
---|
CatalysisUc(int posI,
int posJ,
CatalysisAtom atom) |
Modifier and Type | Method and Description |
---|---|
CatalysisAtom |
getAtom(int pos)
Always returns the current atom
|
Point3D |
getPos()
Cartesian position of the origin of the unit cell.
|
int |
getPosI() |
int |
getPosJ() |
static float |
getSizeX()
Cartesian size of the unit cell in X axis.
|
static float |
getSizeY()
Cartesian size of the unit cell in Y axis.
|
void |
setPosX(double x) |
void |
setPosY(double y) |
int |
size()
Number of elements.
|
private final CatalysisAtom atom
private final int size
private final int posI
private final int posJ
private double posX
private double posY
public CatalysisUc(int posI, int posJ, CatalysisAtom atom)
public CatalysisAtom getAtom(int pos)
getAtom
in interface IUc
getAtom
in class AbstractGrowthUc
pos
- ignoredpublic Point3D getPos()
IUc
public static float getSizeX()
public static float getSizeY()
public void setPosX(double x)
public void setPosY(double y)