Enum Class FluidBuilder.EOSType
- All Implemented Interfaces:
Serializable, Comparable<FluidBuilder.EOSType>, Constable
- Enclosing class:
FluidBuilder
Supported equation of state types.
- Version:
- 1.0
- Author:
- Even Solbraa
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionElectrolyte CPA.GERG-2008 reference EOS.Peng-Robinson EOS.PR 1978 modification.Peng-Robinson with CPA.Peng-Robinson with PR76 alpha function and Lee-Kesler BWR enthalpy (PR-LK).Soave-Redlich-Kwong EOS.SRK with CPA (Cubic Plus Association).SRK with Peneloux volume correction. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FluidBuilder.EOSTypeReturns the enum constant of this class with the specified name.static FluidBuilder.EOSType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SRK
Soave-Redlich-Kwong EOS. -
PR
Peng-Robinson EOS. -
SRK_CPA
SRK with CPA (Cubic Plus Association). -
PR_CPA
Peng-Robinson with CPA. -
ELECTROLYTE_CPA
Electrolyte CPA. -
GERG2008
GERG-2008 reference EOS. -
SRK_PENELOUX
SRK with Peneloux volume correction. -
PR_1978
PR 1978 modification. -
PR_LK
Peng-Robinson with PR76 alpha function and Lee-Kesler BWR enthalpy (PR-LK).
-
-
Constructor Details
-
EOSType
private EOSType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-