IAction
, DataSourceIndependent
, IDataSource
public class MeterRDFPC extends java.lang.Object implements IAction, IDataSource, DataSourceIndependent
Modifier and Type | Field | Description |
---|---|---|
protected IteratorDirective |
allAtoms |
|
protected Box |
box |
|
protected long |
callCount |
|
protected DataFunction |
data |
|
protected PotentialCalculationRDF |
pc |
|
protected PotentialMaster |
potentialMaster |
|
protected DataDoubleArray |
rData |
|
protected Space |
space |
|
protected DataTag |
tag |
|
protected DataSourceUniform |
xDataSource |
|
protected double |
xMax |
Constructor | Description |
---|---|
MeterRDFPC(Space space,
PotentialMaster potentialMaster,
Box box) |
Creates meter with default to compute pair correlation for all
leaf atoms in a box.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Takes the RDF for the current configuration of the given box.
|
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() |
|
DataTag |
getTag() |
|
DataSourceUniform |
getXDataSource() |
|
void |
reset() |
Zero's out the RDF sum tracked by this meter.
|
void |
setBox(Box box) |
|
void |
setName(java.lang.String name) |
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 long callCount
protected final PotentialMaster potentialMaster
protected final PotentialCalculationRDF pc
public MeterRDFPC(Space space, PotentialMaster potentialMaster, Box box)
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public void reset()
public void actionPerformed()
actionPerformed
in interface IAction
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 void setName(java.lang.String name)