IDataSource
public class MeterKineticEnergyRigid extends DataSourceScalar
Modifier and Type | Field | Description |
---|---|---|
protected Vector |
angularVelocity |
|
protected Box |
box |
|
protected RotationTensor3D |
rotationTensor |
|
protected Simulation |
sim |
data, dataInfo, tag
Constructor | Description |
---|---|
MeterKineticEnergyRigid(Space space,
Simulation sim) |
|
MeterKineticEnergyRigid(Space space,
Simulation sim,
Box box) |
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.
|
void |
setBox(Box newBox) |
Sets the box to the given box.
|
getData, getDataDouble, getDataInfo, getTag
protected final Simulation sim
protected Box box
protected final Vector angularVelocity
protected final RotationTensor3D rotationTensor
public MeterKineticEnergyRigid(Space space, Simulation sim)
public MeterKineticEnergyRigid(Space space, Simulation sim, Box box)
public double getDataAsScalar()
getDataAsScalar
in class DataSourceScalar
public void setBox(Box newBox)
public Box getBox()