SiteFactory, java.io.Serializablepublic static class CellMolecular.CellFactory extends java.lang.Object implements SiteFactory, java.io.Serializable
| Constructor | Description |
|---|---|
CellFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.Object |
makeSite(AbstractLattice lattice,
int[] coord) |
Constructs a site for placement in a lattice.
|
public java.lang.Object makeSite(AbstractLattice lattice, int[] coord)
SiteFactorymakeSite in interface SiteFactorylattice - the lattice where the site will residecoord - the index by which the site can be accessed from the lattice. New site should
make its own copy of this if it uses the coord.