|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.data.meter.MeterDihedralAngle
public class MeterDihedralAngle
Meter for tabulation of a dihedral angle distribution between nearest neighbors. The meter takes data via actionPerformed and returns the average dihedral angle via getData.
| Field Summary | |
|---|---|
protected IBox |
box
|
protected DataFunction |
data
|
protected long[] |
gSum
|
protected AtomsetIteratorBoxDependent |
iterator
|
protected DataDoubleArray |
phiData
|
protected double |
rMax
|
protected ISpace |
space
|
protected DataTag |
tag
|
protected long |
tetraNum
|
protected DataSourceUniform |
xDataSource
|
| Constructor Summary | |
|---|---|
MeterDihedralAngle(ISpace space)
Creates meter with default to compute dihedral angle for all leaf atoms in a box. |
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Measures the dihedral angle's for the current configuration of the given box. |
IBox |
getBox()
|
IData |
getData()
Returns the Dihedral distribution, averaged over the calls to actionPerformed since the meter was reset or had some parameter changed (# 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 G(phi) sum tracked by this meter. |
void |
setBox(IBox box)
|
void |
setName(String name)
|
void |
setRmax(double rmax)
|
| 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 phiData
protected AtomsetIteratorBoxDependent iterator
protected final DataSourceUniform xDataSource
protected double rMax
protected final DataTag tag
protected long tetraNum
| Constructor Detail |
|---|
public MeterDihedralAngle(ISpace space)
parent - | Method Detail |
|---|
public IEtomicaDataInfo getDataInfo()
getDataInfo in interface IEtomicaDataSourcepublic DataTag getTag()
getTag in interface IEtomicaDataSourcepublic void setRmax(double rmax)
public 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 int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag 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 | ||||||||