AtomLeafAgentManager.AgentSource<AtomPotentialList>
public static class NeighborListManager.AtomPotential1ListSource extends java.lang.Object implements AtomLeafAgentManager.AgentSource<AtomPotentialList>
Modifier and Type | Field | Description |
---|---|---|
protected AtomLeafAgentManager<AtomPotentialList> |
manager |
|
protected PotentialMasterList |
potentialMaster |
Constructor | Description |
---|---|
AtomPotential1ListSource(PotentialMasterList potentialMaster) |
Modifier and Type | Method | Description |
---|---|---|
AtomPotentialList |
makeAgent(IAtom atom,
Box agentBox) |
Returns an agent for the given Atom.
|
void |
releaseAgent(AtomPotentialList obj,
IAtom atom,
Box agentBox) |
This informs the agent source that the agent is going away and that
the agent source should disconnect the agent from other elements.
|
void |
setAgentManager(AtomLeafAgentManager<AtomPotentialList> manager) |
protected final PotentialMasterList potentialMaster
protected AtomLeafAgentManager<AtomPotentialList> manager
public AtomPotential1ListSource(PotentialMasterList potentialMaster)
public void setAgentManager(AtomLeafAgentManager<AtomPotentialList> manager)
public void releaseAgent(AtomPotentialList obj, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<AtomPotentialList>
public AtomPotentialList makeAgent(IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
makeAgent
in interface AtomLeafAgentManager.AgentSource<AtomPotentialList>
agentBox
- TODO