yaeos__models_ar_cubic_alphas Module

functions defined in the library.



Derived Types

type, public, extends(AlphaFunction) ::  AlphaMathiasCopeman

Mathias Copeman function.

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: c1(:)
real(kind=pr), public, allocatable :: c2(:)
real(kind=pr), public, allocatable :: c3(:)

Type-Bound Procedures

procedure, public :: alpha => alpha_mc

type, public, extends(AlphaFunction) ::  AlphaRKPR

RKPR function

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: k(:)

parameter.

Type-Bound Procedures

procedure, public :: alpha => alpha_rkpr

type, public, extends(AlphaFunction) ::  AlphaSoave

Soave function.

Components

Type Visibility Attributes Name Initial
real(kind=pr), public, allocatable :: k(:)

parameter.

Type-Bound Procedures

procedure, public :: alpha ../../../

Alpha function


Subroutines

public subroutine alpha(self, Tr, a, dadt, dadt2)

Soave function and it’s derivatives.

Arguments

Type IntentOptional Attributes Name
class(AlphaSoave), intent(in) :: self
real(kind=pr), intent(in) :: Tr(:)

Reduced temperature

real(kind=pr), intent(out) :: a(:)

real(kind=pr), intent(out) :: dadt(:)

real(kind=pr), intent(out) :: dadt2(:)

public subroutine alpha_mc(self, Tr, a, dadt, dadt2)

MathiasCopeman alpha function definition

Arguments

Type IntentOptional Attributes Name
class(AlphaMathiasCopeman), intent(in) :: self
real(kind=pr), intent(in) :: Tr(:)
real(kind=pr), intent(out) :: a(:)
real(kind=pr), intent(out) :: dadt(:)
real(kind=pr), intent(out) :: dadt2(:)

public subroutine alpha_rkpr(self, Tr, a, dadt, dadt2)

Arguments

Type IntentOptional Attributes Name
class(AlphaRKPR), intent(in) :: self
real(kind=pr), intent(in) :: Tr(:)

Reduced temperature

real(kind=pr), intent(out) :: a(:)

real(kind=pr), intent(out) :: dadt(:)

real(kind=pr), intent(out) :: dadt2(:)