AtomLeafAgentManager.AgentSource<EwaldSummation.MyCharge>
public class ChargeAgentSourceTIP4PWater extends java.lang.Object implements AtomLeafAgentManager.AgentSource<EwaldSummation.MyCharge>
Modifier and Type | Field | Description |
---|---|---|
protected EwaldSummation.MyCharge[] |
myCharge |
Constructor | Description |
---|---|
ChargeAgentSourceTIP4PWater() |
Modifier and Type | Method | Description |
---|---|---|
EwaldSummation.MyCharge |
makeAgent(IAtom a,
Box agentBox) |
Returns an agent for the given Atom.
|
void |
releaseAgent(EwaldSummation.MyCharge agent,
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.
|
protected final EwaldSummation.MyCharge[] myCharge
public EwaldSummation.MyCharge makeAgent(IAtom a, Box agentBox)
AtomLeafAgentManager.AgentSource
makeAgent
in interface AtomLeafAgentManager.AgentSource<EwaldSummation.MyCharge>
agentBox
- TODOpublic void releaseAgent(EwaldSummation.MyCharge agent, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<EwaldSummation.MyCharge>