|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IBox
| Method Summary | |
|---|---|
void |
addMolecule(IMolecule molecule)
Adds the given molecule to the this box. |
void |
addSpeciesNotify(ISpecies species)
Notifies the IBox that the given species has been added to the simulation. |
IBoundary |
getBoundary()
Returns the box's boundary. |
IBoxEventManager |
getEventManager()
Returns the event manager for this box. |
int |
getIndex()
Returns the IBox's index. |
IAtomList |
getLeafList()
Returns the list of atoms contained in this box. |
IMoleculeList |
getMoleculeList()
Returns a list of all molecules in this box as an IAtomSet. |
IMoleculeList |
getMoleculeList(ISpecies species)
Returns the list of molecules of the given species as an IAtomSet that are in this box. |
int |
getNMolecules(ISpecies species)
Returns the number of molecules in this box of the given ISpecies. |
void |
removeMolecule(IMolecule molecule)
Removes the given molecule from this box. |
void |
removeSpeciesNotify(ISpecies species)
Notifies the IBox that a Species has been removed. |
void |
setBoundary(IBoundary newBoundary)
Sets the box's boundary to the given IBoundary. |
void |
setIndex(int newIndex)
Informs the IBox what its index is. |
void |
setNMolecules(ISpecies species,
int n)
Sets the number of molecules in this box of the given ISpecies to n. |
| Method Detail |
|---|
void setIndex(int newIndex)
int getIndex()
void addMolecule(IMolecule molecule)
void removeMolecule(IMolecule molecule)
void setNMolecules(ISpecies species,
int n)
int getNMolecules(ISpecies species)
IMoleculeList getMoleculeList(ISpecies species)
IMoleculeList getMoleculeList()
IAtomList getLeafList()
void setBoundary(IBoundary newBoundary)
IBoundary getBoundary()
IBoxEventManager getEventManager()
void addSpeciesNotify(ISpecies species)
void removeSpeciesNotify(ISpecies species)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||