etomica.models.water
Class SpeciesWater4P

java.lang.Object
  extended by etomica.species.Species
      extended by etomica.models.water.SpeciesWater4P
All Implemented Interfaces:
ISpecies

public class SpeciesWater4P
extends Species

Species for 4-point water molecule.


Field Summary
protected  AtomTypeSphere hType
           
static int indexH1
           
static int indexH2
           
static int indexM
           
static int indexO
           
protected  boolean isDynamic
           
protected  AtomTypeSphere mType
           
protected  AtomTypeSphere oType
           
protected  ISpace space
           
 
Fields inherited from class etomica.species.Species
childTypes, conformation, index
 
Constructor Summary
SpeciesWater4P(ISpace space)
           
SpeciesWater4P(ISpace space, boolean isDynamic)
           
 
Method Summary
 IAtomTypeSphere getHydrogenType()
           
 IAtomTypeSphere getMType()
           
 int getNumLeafAtoms()
           
 AtomTypeSphere getOxygenType()
           
 IMolecule makeMolecule()
          Builds and returns the IMolecule of this ISpecies.
 
Methods inherited from class etomica.species.Species
addChildType, getAtomType, getAtomTypeCount, getConformation, getIndex, getSpecies, initializeConformation, removeChildType, setConformation, setIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

indexH1

public static final int indexH1
See Also:
Constant Field Values

indexH2

public static final int indexH2
See Also:
Constant Field Values

indexO

public static final int indexO
See Also:
Constant Field Values

indexM

public static final int indexM
See Also:
Constant Field Values

space

protected final ISpace space

isDynamic

protected final boolean isDynamic

oType

protected final AtomTypeSphere oType

hType

protected final AtomTypeSphere hType

mType

protected final AtomTypeSphere mType
Constructor Detail

SpeciesWater4P

public SpeciesWater4P(ISpace space)

SpeciesWater4P

public SpeciesWater4P(ISpace space,
                      boolean isDynamic)
Method Detail

makeMolecule

public IMolecule makeMolecule()
Description copied from interface: ISpecies
Builds and returns the IMolecule of this ISpecies.


getHydrogenType

public IAtomTypeSphere getHydrogenType()

getOxygenType

public AtomTypeSphere getOxygenType()

getMType

public IAtomTypeSphere getMType()

getNumLeafAtoms

public int getNumLeafAtoms()