org.jscience.chemistry.vapor.calculators
Interface IFugacityCalculator

All Known Implementing Classes:
PRFugacityCalculator, RKFugacityCalculator, VirialFugacityCalculator

public interface IFugacityCalculator

Interface for Fugacity Calculator. To add user-defined fugacity calculation method, implement this interface.


Method Summary
 double[] calculateFugacity(double T, double P, double[] Psat)
          DOCUMENT ME!
 void setContext(VLEContext context)
          DOCUMENT ME!
 

Method Detail

setContext

void setContext(VLEContext context)
DOCUMENT ME!

Parameters:
context - DOCUMENT ME!

calculateFugacity

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

Parameters:
T - DOCUMENT ME!
P - DOCUMENT ME!
Psat - DOCUMENT ME!
Returns:
DOCUMENT ME!