IntegratorOverlap.ReferenceFracSource
public class DataSourceVirialOverlap extends java.lang.Object implements IntegratorOverlap.ReferenceFracSource
Modifier and Type | Field | Description |
---|---|---|
protected AccumulatorVirialOverlapSingleAverage |
refAccumulator |
|
protected AccumulatorVirialOverlapSingleAverage |
targetAccumulator |
Constructor | Description |
---|---|
DataSourceVirialOverlap(AccumulatorVirialOverlapSingleAverage aRefAccumulator,
AccumulatorVirialOverlapSingleAverage aTargetAccumulator) |
Modifier and Type | Method | Description |
---|---|---|
AccumulatorVirialOverlapSingleAverage[] |
getAccumulators() |
|
double |
getAverage(int iParam) |
Returns the ratio of the reference to target overlap-to-virial ratios
(which reduces to target/reference) for the given value of the Bennet
parameter.
|
double |
getError() |
Returns the error in the ratio of the reference to target
overlap-to-virial ratios (which reduces to target/reference)
for the optimal value of the Bennet parameter.
|
double |
getError(int iParam) |
Returns the error in the ratio of the reference to target
overlap-to-virial ratios (which reduces to target/reference)
for the given value of the Bennet parameter.
|
double |
getIdealRefFraction(double oldFrac) |
|
double[] |
getOverlapAverageAndError() |
Returns the ratio of the reference to target overlap-to-virial ratios
(which reduces to reference/target) for the optimal value of the Bennett
parameter.
|
double |
getOverlapAverageForAlpha(double alpha) |
|
int |
minDiffLocation() |
Returns the index of the Bennet parameter which minimizes the differences
between the Bennet "sums" from the target and references accumulators.
|
void |
reset() |
Convenience method that resets reference and target accumulators
|
protected final AccumulatorVirialOverlapSingleAverage refAccumulator
protected final AccumulatorVirialOverlapSingleAverage targetAccumulator
public DataSourceVirialOverlap(AccumulatorVirialOverlapSingleAverage aRefAccumulator, AccumulatorVirialOverlapSingleAverage aTargetAccumulator)
public AccumulatorVirialOverlapSingleAverage[] getAccumulators()
public double[] getOverlapAverageAndError()
public double getOverlapAverageForAlpha(double alpha)
public double getAverage(int iParam)
public int minDiffLocation()
public double getIdealRefFraction(double oldFrac)
getIdealRefFraction
in interface IntegratorOverlap.ReferenceFracSource
public double getError()
public double getError(int iParam)
public void reset()