IAction
, DataSourceIndependent
, IDataSource
, java.io.Serializable
public class MeterDihedralAngle extends java.lang.Object implements IAction, IDataSource, DataSourceIndependent, java.io.Serializable
Modifier and Type | Field | Description |
---|---|---|
protected Box |
box |
|
protected DataFunction |
data |
|
protected long[] |
gSum |
|
protected AtomsetIteratorBoxDependent |
iterator |
|
protected DataDoubleArray |
phiData |
|
protected double |
rMax |
|
protected Space |
space |
|
protected DataTag |
tag |
|
protected long |
tetraNum |
|
protected DataSourceUniform |
xDataSource |
Constructor | Description |
---|---|
MeterDihedralAngle(Space space) |
Creates meter with default to compute dihedral angle for all
leaf atoms in a box.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Measures the dihedral angle's for the current configuration of the given box.
|
Box |
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).
|
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 G(phi) sum tracked by this meter.
|
void |
setBox(Box box) |
|
void |
setName(java.lang.String name) |
|
void |
setRmax(double rmax) |
protected Box box
protected final Space 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
public MeterDihedralAngle(Space space)
space
- public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public void setRmax(double rmax)
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 int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
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)