DataSourceIndependent
, IDataSource
, ConfigurationStorage.ConfigurationStorageListener
public class DataSourceQ4 extends java.lang.Object implements IDataSource, ConfigurationStorage.ConfigurationStorageListener, DataSourceIndependent
Modifier and Type | Class | Description |
---|---|---|
class |
DataSourceQ4.MeterChi4 |
Modifier and Type | Field | Description |
---|---|---|
protected DataFunction |
chi4Data |
|
protected DataFunction.DataInfoFunction |
chi4DataInfo |
|
protected DataTag |
chi4Tag |
|
protected ConfigurationStorage |
configStorage |
|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected Vector |
dr |
|
protected int |
log2StepMin |
|
protected double |
maxDr2 |
|
protected int[] |
mobileAtoms |
|
protected long[] |
nSamples |
|
protected double[] |
Q4sum |
|
protected double[] |
Q4sum2 |
|
protected Vector[] |
r |
|
protected DataTag |
tag |
|
protected DataDoubleArray |
tData |
|
protected DataDoubleArray.DataInfoDoubleArray |
tDataInfo |
|
protected DataTag |
tTag |
Constructor | Description |
---|---|
DataSourceQ4(ConfigurationStorage configStorage,
int log2StepMin) |
Modifier and Type | Method | Description |
---|---|---|
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.
|
double |
getMaxDr() |
|
DataTag |
getTag() |
|
DataSourceQ4.MeterChi4 |
makeChi4Meter() |
|
void |
newConfigruation() |
|
void |
reallocate(int n) |
|
void |
setMaxDr(double newMaxDr) |
|
void |
zeroData() |
protected final ConfigurationStorage configStorage
protected DataDoubleArray tData
protected DataDoubleArray.DataInfoDoubleArray tDataInfo
protected DataFunction data
protected DataFunction.DataInfoFunction dataInfo
protected DataFunction chi4Data
protected DataFunction.DataInfoFunction chi4DataInfo
protected double[] Q4sum
protected double[] Q4sum2
protected final DataTag tTag
protected final DataTag tag
protected final DataTag chi4Tag
protected long[] nSamples
protected int log2StepMin
protected double maxDr2
protected final Vector[] r
protected final int[] mobileAtoms
protected final Vector dr
public DataSourceQ4(ConfigurationStorage configStorage, int log2StepMin)
public double getMaxDr()
public void setMaxDr(double newMaxDr)
public void zeroData()
public void reallocate(int n)
public void newConfigruation()
newConfigruation
in interface ConfigurationStorage.ConfigurationStorageListener
public IData getData()
getData
in interface IDataSource
public DataTag getTag()
getTag
in interface IDataSource
public IDataInfo getDataInfo()
getDataInfo
in interface IDataSource
public DataDoubleArray getIndependentData(int i)
DataSourceIndependent
getIndependentData
in interface DataSourceIndependent
public DataDoubleArray.DataInfoDoubleArray getIndependentDataInfo(int i)
DataSourceIndependent
getIndependentDataInfo
in interface DataSourceIndependent
public int getIndependentArrayDimension()
DataSourceIndependent
getIndependentArrayDimension
in interface DataSourceIndependent
public DataTag getIndependentTag()
DataSourceIndependent
getIndependentTag
in interface DataSourceIndependent
public DataSourceQ4.MeterChi4 makeChi4Meter()