AtomLeafAgentManager.AgentSource<Vector>
, DataSourceIndependent
, IDataSource
public class MeterMappedRdf extends java.lang.Object implements IDataSource, DataSourceIndependent, AtomLeafAgentManager.AgentSource<Vector>
Modifier and Type | Field | Description |
---|---|---|
protected IteratorDirective |
allAtoms |
|
protected Box |
box |
|
protected DataFunction |
data |
|
protected double |
density |
|
protected AtomLeafAgentManager<Vector> |
forceManager |
|
protected PotentialCalculationMappedRdf |
pc |
|
protected PotentialCalculationForceSum |
pcForce |
|
protected PotentialMaster |
potentialMaster |
|
protected double |
rcforHandfinmap |
|
protected DataDoubleArray |
rData |
|
protected Space |
space |
|
protected DataTag |
tag |
|
protected DataSourceUniform |
xDataSource |
|
protected double |
xMax |
Constructor | Description |
---|---|
MeterMappedRdf(double rcforHandfinmap,
Space space,
PotentialMaster potentialMaster,
Box box,
int nbins,
double density) |
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
|
IData |
getData() |
Returns the RDF, averaged over the calls to actionPerformed since the
meter was reset or had some parameter changed (xMax or # of bins).
|
IDataInfo |
getDataInfo() |
|
int |
getIndependentArrayDimension() |
Returns the number of independent data dimensions
|
DataDoubleArray |
getIndependentData(int i) |
Returns the X data for the given dimension
|
DataDoubleArray.DataInfoDoubleArray |
getIndependentDataInfo(int i) |
Returns the DataInfo for the given dimension
|
DataTag |
getIndependentTag() |
Returns the tag associated with this DataSource.
|
java.lang.String |
getName() |
|
PotentialCalculationMappedRdf |
getPotentialCalculation() |
|
DataTag |
getTag() |
|
DataSourceUniform |
getXDataSource() |
|
Vector |
makeAgent(IAtom a,
Box agentBox) |
Returns an agent for the given Atom.
|
void |
releaseAgent(Vector 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.
|
void |
reset() |
Zero's out the RDF sum tracked by this meter.
|
void |
setBox(Box box) |
|
void |
setName(java.lang.String name) |
protected final PotentialCalculationForceSum pcForce
protected final AtomLeafAgentManager<Vector> forceManager
protected double density
protected double rcforHandfinmap
protected Box box
protected final Space space
protected DataFunction data
protected DataDoubleArray rData
protected IteratorDirective allAtoms
protected final DataSourceUniform xDataSource
protected double xMax
protected final DataTag tag
protected final PotentialMaster potentialMaster
protected final PotentialCalculationMappedRdf pc
public MeterMappedRdf(double rcforHandfinmap, Space space, PotentialMaster potentialMaster, Box box, int nbins, double density)
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public void reset()
public IData getData()
getData
in interface IDataSource
public DataSourceUniform getXDataSource()
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public Box getBox()
public void setBox(Box box)
box
- The box to set.public java.lang.String getName()
public PotentialCalculationMappedRdf getPotentialCalculation()
public void setName(java.lang.String name)
public Vector makeAgent(IAtom a, Box agentBox)
AtomLeafAgentManager.AgentSource
makeAgent
in interface AtomLeafAgentManager.AgentSource<Vector>
agentBox
- TODOpublic void releaseAgent(Vector agent, IAtom atom, Box agentBox)
AtomLeafAgentManager.AgentSource
releaseAgent
in interface AtomLeafAgentManager.AgentSource<Vector>