org.jscience.chemistry.vapor.calculators
Class RKFugacityCalculator

java.lang.Object
  extended by org.jscience.chemistry.vapor.calculators.RKFugacityCalculator
All Implemented Interfaces:
IFugacityCalculator

public class RKFugacityCalculator
extends java.lang.Object
implements IFugacityCalculator

Redlich-Kwong equation implementation for fugacity calculation.


Constructor Summary
RKFugacityCalculator()
           
 
Method Summary
 double[] calculateFugacity(double T, double P, double[] Psat)
          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

RKFugacityCalculator

public RKFugacityCalculator()
Method Detail

setContext

public void setContext(VLEContext context)
DOCUMENT ME!

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

calculateFugacity

public double[] calculateFugacity(double T,
                                  double P,
                                  double[] Psat)
DOCUMENT ME!

Specified by:
calculateFugacity in interface IFugacityCalculator
Parameters:
T - DOCUMENT ME!
P - DOCUMENT ME!
Psat - DOCUMENT ME!
Returns:
DOCUMENT ME!