IDataSource
public class MeterKineticEnergy extends DataSourceScalar
data, dataInfo, tag
Constructor | Description |
---|---|
MeterKineticEnergy(Box box) |
|
MeterKineticEnergy(Box box,
AtomIteratorBoxDependent iterator) |
Modifier and Type | Method | Description |
---|---|---|
Box |
getBox() |
|
double |
getDataAsScalar() |
Returns the total kinetic energy summed over all atoms produced by the iterator when applied to the given box.
|
AtomIteratorBoxDependent |
getIterator() |
Returns the iterator that defines the atoms summed for their kinetic energy.
|
getData, getDataDouble, getDataInfo, getTag
public MeterKineticEnergy(Box box, AtomIteratorBoxDependent iterator)
public MeterKineticEnergy(Box box)
public AtomIteratorBoxDependent getIterator()
public double getDataAsScalar()
getDataAsScalar
in class DataSourceScalar
public Box getBox()