DataSourceIndependent
, IDataSource
, IntegratorHard.CollisionListener
public class MeterCavityMapped 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 |
|
protected double[] |
gSum |
|
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 |
---|---|
MeterCavityMapped(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 lastSwitchTime
protected boolean internal
protected double tInternal
protected double tExternal
protected double sigma
protected double mappingCut2
protected boolean resetAfterData
protected long internalCollisions
protected long totalCollisions
protected IDataSink rawSink
protected final DataTag rawTag
protected DataFunction.DataInfoFunction rawDataInfo
protected DataDoubleArray rawData
protected boolean useMomentum
public MeterCavityMapped(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.CollisionListener
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
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 DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent