org.jscience.chemistry.vapor.calculators
Class VirialFugacityCalculator

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

public class VirialFugacityCalculator
extends java.lang.Object
implements IFugacityCalculator

Virial equation implementation for fugacity calculation.


Constructor Summary
VirialFugacityCalculator()
           
 
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

VirialFugacityCalculator

public VirialFugacityCalculator()
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!