IAction
, DataSourceIndependent
, IDataSource
, java.io.Serializable
public class MeterBondLength extends java.lang.Object implements IAction, IDataSource, DataSourceIndependent, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected long |
callCount |
|
protected DataFunction |
data |
|
protected Vector |
dr |
|
protected long[] |
gSum |
|
protected DataDoubleArray |
rData |
|
protected Space |
space |
|
protected DataTag |
tag |
|
protected AtomType |
type1 |
|
protected AtomType |
type2 |
|
protected DataSourceUniform |
xDataSource |
|
protected double |
xMax |
Constructor | Description |
---|---|
MeterBondLength(Box box,
int f,
int l) |
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.
|
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 |
setName(java.lang.String name) |
protected final Space space
protected final DataSourceUniform xDataSource
protected final DataTag tag
protected final Vector dr
protected Box box
protected long[] gSum
protected DataFunction data
protected DataDoubleArray rData
protected double xMax
protected long callCount
protected AtomType type1
protected AtomType type2
public MeterBondLength(Box box, int f, int l)
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 java.lang.String getName()
public void setName(java.lang.String name)