DataSourceIndependent
, IDataSource
public class DataSourcePMu extends java.lang.Object implements IDataSource, DataSourceIndependent
P2 = (mu-beta*ALattice)*latticeDensity+Math.log(sum)/volume; sum = sum[Pi/Pn], Pi=probability of visiting N=i, n=# lattice site mu* = (P2-P1)/latticeDensity
Modifier and Type | Field | Description |
---|---|---|
protected double |
bALattice |
|
protected double |
bmu |
|
protected DataFunction |
data |
|
protected DataFunction.DataInfoFunction |
dataInfo |
|
protected double |
deltaBMu |
|
protected double |
latticeDensity |
|
protected MCMoveOverlapListener |
mcMoveOverlapMeter |
|
protected int |
nMu |
|
protected DataDistributer |
pSplitter |
|
protected boolean |
returnMu |
|
protected DataTag |
tag |
|
protected double |
volume |
|
protected DataDoubleArray |
xData |
|
protected DataDoubleArray.DataInfoDoubleArray |
xDataInfo |
|
protected DataTag |
xTag |
Constructor | Description |
---|---|
DataSourcePMu(MCMoveOverlapListener mcMoveOverlapMeter,
double deltaBMu,
int nMu,
double bmu,
DataDistributer pSplitter,
double bALattice,
double latticeDensity,
double volume,
boolean returnMu) |
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.
|
DataTag |
getTag() |
|
void |
setMu(double newMu) |
protected final MCMoveOverlapListener mcMoveOverlapMeter
protected final DataDistributer pSplitter
protected DataFunction data
protected DataFunction.DataInfoFunction dataInfo
protected DataDoubleArray xData
protected DataDoubleArray.DataInfoDoubleArray xDataInfo
protected final DataTag tag
protected final DataTag xTag
protected double bmu
protected double deltaBMu
protected int nMu
protected double bALattice
protected double volume
protected double latticeDensity
protected boolean returnMu
public DataSourcePMu(MCMoveOverlapListener mcMoveOverlapMeter, double deltaBMu, int nMu, double bmu, DataDistributer pSplitter, double bALattice, double latticeDensity, double volume, boolean returnMu)
public void setMu(double newMu)
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