AtomLeafAgentManager.AgentSource<MoleculeAgent>
, IDataSource
public class MeterMappedAveragingVSumPair extends java.lang.Object implements IDataSource, AtomLeafAgentManager.AgentSource<MoleculeAgent>
Constructor | Description |
---|---|
MeterMappedAveragingVSumPair(Space space,
Box box,
Simulation sim,
double temperature,
double interactionS,
double dipoleMagnitude,
IPotentialAtomic p2,
int nMax) |
Modifier and Type | Method | Description |
---|---|---|
IData |
getData() |
|
IDataInfo |
getDataInfo() |
|
DataTag |
getTag() |
|
MoleculeAgent |
makeAgent(IAtom a,
Box box) |
Returns an agent for the given Atom.
|
void |
releaseAgent(MoleculeAgent agent,
IAtom a,
Box box) |
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 DataDoubleArray data
protected final DataDoubleArray.DataInfoDoubleArray dataInfo
protected final DataTag tag
protected final Space space
protected final IPotentialAtomic p2
protected final IteratorDirective allAtoms
protected PotentialCalculationEnergySum energySum
protected PotentialCalculationTorqueSum torqueSum
protected PotentialCalculationPhiSum secondDerivativeSum
protected PotentialCalculationPhiSumHeisenberg secondDerivativeSumIdeal
protected PotentialCalculationMoleculeAgentSum vSum
protected PotentialCalculationMoleculeAgentSumMinusIdeal vSumMinusIdeal
protected PotentialCalculationMoleculeAgentSumPair vSumPair
protected PotentialCalculationMoleculeAgentSumMinusIdealPair vSumPairMinusIdeal
protected PotentialCalculationPair pair
protected double temperature
protected double J
protected double mu
protected double bt
protected int nMax
protected Vector dr
protected Vector work
protected AtomLeafAgentManager<MoleculeAgent> leafAgentManager
protected PotentialCalculationHeisenberg Ans
public MeterMappedAveragingVSumPair(Space space, Box box, Simulation sim, double temperature, double interactionS, double dipoleMagnitude, IPotentialAtomic p2, int nMax)
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public MoleculeAgent makeAgent(IAtom a, Box box)
AtomLeafAgentManager.AgentSource
makeAgent
in interface AtomLeafAgentManager.AgentSource<MoleculeAgent>
box
- TODOpublic void releaseAgent(MoleculeAgent agent, IAtom a, Box box)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<MoleculeAgent>