org.jscience.chemistry.vapor.calculators
Class VanlaarActivityCalculator

java.lang.Object
  extended by org.jscience.chemistry.vapor.calculators.VanlaarActivityCalculator
All Implemented Interfaces:
IActivityCalculator

public class VanlaarActivityCalculator
extends java.lang.Object
implements IActivityCalculator

VanLaar equation implementation for activity calculation.


Constructor Summary
VanlaarActivityCalculator()
           
 
Method Summary
 double[] calculateActivity(java.lang.Object[] params)
          DOCUMENT ME!
 java.util.ArrayList getParamList(int numOfComps)
          DOCUMENT ME!
 boolean isNonBinarySystemAllowed()
          DOCUMENT ME!
 void setContext(VLEContext context)
          DOCUMENT ME!
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VanlaarActivityCalculator

public VanlaarActivityCalculator()
Method Detail

setContext

public void setContext(VLEContext context)
DOCUMENT ME!

Specified by:
setContext in interface IActivityCalculator
Parameters:
context - DOCUMENT ME!

calculateActivity

public double[] calculateActivity(java.lang.Object[] params)
DOCUMENT ME!

Specified by:
calculateActivity in interface IActivityCalculator
Parameters:
params - DOCUMENT ME!
Returns:
DOCUMENT ME!

getParamList

public java.util.ArrayList getParamList(int numOfComps)
DOCUMENT ME!

Specified by:
getParamList in interface IActivityCalculator
Parameters:
numOfComps - DOCUMENT ME!
Returns:
DOCUMENT ME!

isNonBinarySystemAllowed

public boolean isNonBinarySystemAllowed()
DOCUMENT ME!

Specified by:
isNonBinarySystemAllowed in interface IActivityCalculator
Returns:
DOCUMENT ME!