| Constructor | Description |
|---|---|
SpeciesGeneralMutable(SpeciesGeneral species) |
| Modifier and Type | Method | Description |
|---|---|---|
int |
getAtomByTypeName(java.lang.String name) |
Get the index within the molecule of the first atom of a given AtomType name.
|
int |
getAtomByTypeName(java.lang.String name,
int number) |
Get the index within the molecule of the nth atom of given AtomType name.
|
AtomType |
getAtomType(int index) |
Returns the child type of this Species for the specified index.
|
int |
getAtomTypeCount() |
Returns the number of unique AtomTypes that make up this Species.
|
java.util.List<AtomType> |
getAtomTypes() |
Get the list of AtomTypes that make up this Species.
|
int |
getByName(java.lang.String atomName) |
Get the index within a molecule instance of a named atom for this Species.
|
IConformation |
getConformation() |
|
int |
getIndex() |
Returns the index for this ISpecies, within the context of an Simulation.
|
SpeciesGeneral |
getInnerSpecies() |
|
int |
getLeafAtomCount() |
|
AtomType |
getLeafType() |
|
double |
getMass() |
|
Vector |
getMomentOfInertia() |
|
Space |
getSpace() |
|
AtomType |
getTypeByName(java.lang.String typeName) |
Get the AtomType with a given name used in this Species.
|
void |
initializeConformation(IMolecule molecule) |
Initializes the molecule's IAtoms in their standard arrangement.
|
boolean |
isDynamic() |
Returns whether the Species is dynamic.
|
IMolecule |
makeMolecule() |
Builds and returns the IMolecule of this ISpecies.
|
void |
setIndex(int newIndex) |
Informs the ISpecies what its index should be.
|
void |
setSpecies(SpeciesGeneral species) |
|
java.lang.String |
toString() |
public SpeciesGeneralMutable(SpeciesGeneral species)
public void setSpecies(SpeciesGeneral species)
public SpeciesGeneral getInnerSpecies()
public int getIndex()
ISpeciespublic void setIndex(int newIndex)
ISpeciespublic IMolecule makeMolecule()
ISpeciesmakeMolecule in interface ISpeciespublic int getAtomTypeCount()
ISpeciesgetAtomTypeCount in interface ISpeciespublic int getLeafAtomCount()
getLeafAtomCount in interface ISpeciespublic AtomType getAtomType(int index)
ISpeciesgetAtomType in interface ISpeciespublic AtomType getLeafType()
getLeafType in interface ISpeciespublic java.util.List<AtomType> getAtomTypes()
ISpeciesThe returned list should not be modified.
getAtomTypes in interface ISpeciespublic void initializeConformation(IMolecule molecule)
ISpeciesinitializeConformation in interface ISpeciespublic IConformation getConformation()
getConformation in interface ISpeciespublic int getByName(java.lang.String atomName)
ISpeciesgetByName in interface ISpeciesatomName - the name for a specific Atom in this Species.IMolecule.getChildList()public int getAtomByTypeName(java.lang.String name,
int number)
ISpeciesgetAtomByTypeName in interface ISpeciesname - String matching the name for the AtomType.number - The nth atom with that type to get, starting at 1.public int getAtomByTypeName(java.lang.String name)
ISpeciesgetAtomByTypeName in interface ISpeciesname - String matching the name for the AtomType.public AtomType getTypeByName(java.lang.String typeName)
ISpeciesgetTypeByName in interface ISpeciestypeName - String matching the name for the AtomType.public Vector getMomentOfInertia()
getMomentOfInertia in interface ISpeciespublic double getMass()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean isDynamic()
ISpecies