|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.data.meter.MeterRDF
public class MeterRDF
Meter for tabulation of the atomic radial distribution function (RDF). The meter takes data via actionPerformed and returns the average RDF via getData.
| Field Summary | |
|---|---|
protected IBox |
box
|
protected int |
callCount
|
protected DataFunction |
data
|
protected long[] |
gSum
|
protected AtomsetIteratorBoxDependent |
iterator
|
protected DataDoubleArray |
rData
|
protected ISpace |
space
|
protected DataTag |
tag
|
protected DataSourceUniform |
xDataSource
|
protected double |
xMax
|
| Constructor Summary | |
|---|---|
MeterRDF(ISpace space)
Creates meter with default to compute pair correlation for all leaf atoms in a box. |
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Takes the RDF for the current configuration of the given box. |
IBox |
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). |
IEtomicaDataInfo |
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. |
String |
getName()
|
DataTag |
getTag()
|
DataSourceUniform |
getXDataSource()
|
void |
reset()
Zero's out the RDF sum tracked by this meter. |
void |
setBox(IBox box)
|
void |
setName(String name)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected IBox box
protected final ISpace space
protected long[] gSum
protected DataFunction data
protected DataDoubleArray rData
protected AtomsetIteratorBoxDependent iterator
protected final DataSourceUniform xDataSource
protected double xMax
protected final DataTag tag
protected int callCount
| Constructor Detail |
|---|
public MeterRDF(ISpace space)
parent - | Method Detail |
|---|
public IEtomicaDataInfo getDataInfo()
getDataInfo in interface IEtomicaDataSourcepublic DataTag getTag()
getTag in interface IEtomicaDataSourcepublic void reset()
public void actionPerformed()
actionPerformed in interface IActionpublic IData getData()
getData in interface IDataSourcepublic DataSourceUniform getXDataSource()
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension in interface DataSourceIndependentpublic IBox getBox()
public void setBox(IBox box)
box - The box to set.public String getName()
public void setName(String name)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||