DataSourceIndependent, IDataSource, IntegratorHard.CollisionListenerpublic class MeterRDFMapped extends java.lang.Object implements IDataSource, IntegratorHard.CollisionListener, DataSourceIndependent
| Modifier and Type | Field | Description |
|---|---|---|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected Vector |
deltaMomentum |
|
protected Vector |
dr |
|
boolean |
foobar |
|
protected double[] |
gSum |
|
protected double[] |
gSum2 |
|
protected IntegratorHard |
integratorHard |
|
protected boolean |
internal |
|
protected long |
internalCollisions |
|
protected double |
lastSwitchTime |
|
protected double |
lastTime |
|
protected double |
mappingCut2 |
|
protected DataDoubleArray |
rawData |
|
protected DataFunction.DataInfoFunction |
rawDataInfo |
|
protected IDataSink |
rawSink |
|
protected DataTag |
rawTag |
|
protected DataDoubleArray |
rData |
|
protected boolean |
resetAfterData |
|
protected double |
sigma |
|
protected DataTag |
tag |
|
protected double |
tExternal |
|
protected double |
tInternal |
|
protected long |
totalCollisions |
|
protected boolean |
useMomentum |
|
protected DataSourceUniform |
xDataSource |
| Constructor | Description |
|---|---|
MeterRDFMapped(IntegratorHard integrator) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
collisionAction(IntegratorHard.Agent agent) |
|
IData |
getData() |
|
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.
|
DataTag |
getTag() |
|
DataSourceUniform |
getXDataSource() |
|
void |
reset() |
Resets the data collected.
|
void |
setMappingCut(double mappingCut) |
|
void |
setRawSink(IDataSink rawSink) |
|
void |
setResetAfterData(boolean doResetAfterData) |
|
void |
zeroData() |
protected final DataSourceUniform xDataSource
protected DataDoubleArray rData
protected DataFunction.DataInfoFunction dataInfo
protected DataFunction data
protected DataTag tag
protected final Vector deltaMomentum
protected final IntegratorHard integratorHard
protected double lastTime
protected final Vector dr
protected double[] gSum
protected double[] gSum2
protected double lastSwitchTime
protected boolean internal
protected double tInternal
protected double tExternal
protected double sigma
protected boolean resetAfterData
protected long internalCollisions
protected long totalCollisions
protected IDataSink rawSink
protected final DataTag rawTag
protected DataFunction.DataInfoFunction rawDataInfo
protected DataDoubleArray rawData
public boolean foobar
protected double mappingCut2
protected boolean useMomentum
public MeterRDFMapped(IntegratorHard integrator)
public void setRawSink(IDataSink rawSink)
public void reset()
public void zeroData()
public void setMappingCut(double mappingCut)
public void setResetAfterData(boolean doResetAfterData)
public void collisionAction(IntegratorHard.Agent agent)
collisionAction in interface IntegratorHard.CollisionListenerpublic IData getData()
getData in interface IDataSourcepublic DataTag getTag()
getTag in interface IDataSourcepublic IDataInfo getDataInfo()
getDataInfo in interface IDataSourcepublic DataSourceUniform getXDataSource()
public DataDoubleArray getIndependentData(int i)
DataSourceIndependentgetIndependentData in interface DataSourceIndependentpublic DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependentgetIndependentDataInfo in interface DataSourceIndependentpublic DataTag getIndependentTag()
DataSourceIndependentgetIndependentTag in interface DataSourceIndependentpublic int getIndependentArrayDimension()
DataSourceIndependentgetIndependentArrayDimension in interface DataSourceIndependent