public class DataSourceVirialOverlap
extends java.lang.Object
implements etomica.overlap.IntegratorOverlap.ReferenceFracSource
Modifier and Type  Field and Description 

protected AccumulatorVirialOverlapSingleAverage 
refAccumulator 
protected AccumulatorVirialOverlapSingleAverage 
targetAccumulator 
Constructor and Description 

DataSourceVirialOverlap(AccumulatorVirialOverlapSingleAverage aRefAccumulator,
AccumulatorVirialOverlapSingleAverage aTargetAccumulator) 
Modifier and Type  Method and Description 

AccumulatorVirialOverlapSingleAverage[] 
getAccumulators() 
double 
getAverage(int iParam)
Returns the ratio of the reference to target overlaptovirial 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
overlaptovirial 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
overlaptovirial 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 overlaptovirial 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 etomica.overlap.IntegratorOverlap.ReferenceFracSource
public double getError()
public double getError(int iParam)
public void reset()