SpeciesGeneral
, SpeciesGeneralMutable
public interface ISpecies
Box
,
PotentialMaster
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.
|
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.
|
int getIndex()
void setIndex(int newIndex)
IMolecule makeMolecule()
boolean isDynamic()
Space getSpace()
int getAtomTypeCount()
int getLeafAtomCount()
AtomType getAtomType(int index)
AtomType getLeafType()
java.util.List<AtomType> getAtomTypes()
The returned list should not be modified.
void initializeConformation(IMolecule molecule)
IConformation getConformation()
int getByName(java.lang.String atomName)
atomName
- the name for a specific Atom in this Species.IMolecule.getChildList()
int getAtomByTypeName(java.lang.String name, int number)
name
- String matching the name for the AtomType.number
- The nth atom with that type to get, starting at 1.int getAtomByTypeName(java.lang.String name)
name
- String matching the name for the AtomType.AtomType getTypeByName(java.lang.String typeName)
typeName
- String matching the name for the AtomType.Vector getMomentOfInertia()
double getMass()