etomica.nbr.list
Class NeighborListManager.AtomPotential1ListSource
java.lang.Object
etomica.nbr.list.NeighborListManager.AtomPotential1ListSource
- All Implemented Interfaces:
- AtomLeafAgentManager.AgentSource, Serializable
- Enclosing class:
- NeighborListManager
public static class NeighborListManager.AtomPotential1ListSource
- extends Object
- implements AtomLeafAgentManager.AgentSource, Serializable
- See Also:
- Serialized Form
|
Method Summary |
Class |
getAgentClass()
Returns the Class of the agent. |
Object |
makeAgent(IAtom atom)
Returns an agent for the given Atom. |
void |
releaseAgent(Object obj,
IAtom atom)
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
potentialMaster
protected final PotentialMasterList potentialMaster
NeighborListManager.AtomPotential1ListSource
public NeighborListManager.AtomPotential1ListSource(PotentialMasterList potentialMaster)
getAgentClass
public Class getAgentClass()
- Description copied from interface:
AtomLeafAgentManager.AgentSource
- Returns the Class of the agent. This is used to create an array of
the appropriate Class.
- Specified by:
getAgentClass in interface AtomLeafAgentManager.AgentSource
releaseAgent
public void releaseAgent(Object obj,
IAtom atom)
- Description copied from interface:
AtomLeafAgentManager.AgentSource
- This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements
- Specified by:
releaseAgent in interface AtomLeafAgentManager.AgentSource
makeAgent
public Object makeAgent(IAtom atom)
- Description copied from interface:
AtomLeafAgentManager.AgentSource
- Returns an agent for the given Atom.
- Specified by:
makeAgent in interface AtomLeafAgentManager.AgentSource