IDataSource
, IntegratorHard.CollisionListener
public class MeterPairedFraction extends DataSourceScalar implements IntegratorHard.CollisionListener
Modifier and Type | Field | Description |
---|---|---|
protected IntegratorHard |
integratorHard |
|
protected boolean |
internal |
|
protected double |
lastSwitchTime |
|
protected double |
lastTime |
|
protected double |
tExternal |
|
protected double |
tInternal |
data, dataInfo, tag
Constructor | Description |
---|---|
MeterPairedFraction(IntegratorHard integrator) |
Modifier and Type | Method | Description |
---|---|---|
void |
collisionAction(IntegratorHard.Agent agent) |
|
double |
getDataAsScalar() |
Returns a single scalar value as the measurement for the given box.
|
void |
reset() |
getData, getDataDouble, getDataInfo, getTag
protected final IntegratorHard integratorHard
protected double lastTime
protected double lastSwitchTime
protected boolean internal
protected double tInternal
protected double tExternal
public MeterPairedFraction(IntegratorHard integrator)
public void reset()
public void collisionAction(IntegratorHard.Agent agent)
collisionAction
in interface IntegratorHard.CollisionListener
public double getDataAsScalar()
DataSourceScalar
getDataAsScalar
in class DataSourceScalar