etomica.api
Interface IMolecule

All Known Subinterfaces:
IMoleculeKinetic, IMoleculeOriented, IMoleculeOrientedKinetic, IMoleculePositioned
All Known Implementing Classes:
Molecule, MoleculeOriented, MoleculeOrientedDynamic

public interface IMolecule

Interface for an IMolecule


Method Summary
 IAtomList getChildList()
          Returns the atoms in the molecule as an IAtomList.
 int getIndex()
          Returns this IMolecule's index, which is its place in the list of molecules of its ISpecies in its IBox.
 ISpecies getType()
          Returns the ISpecies of this IMolecule.
 void setIndex(int index)
          Informs the IMolecule of its index.
 

Method Detail

getIndex

int getIndex()
Returns this IMolecule's index, which is its place in the list of molecules of its ISpecies in its IBox.


setIndex

void setIndex(int index)
Informs the IMolecule of its index.


getChildList

IAtomList getChildList()
Returns the atoms in the molecule as an IAtomList.


getType

ISpecies getType()
Returns the ISpecies of this IMolecule.