AlphaRKPR Derived Type

type, public, extends(AlphaFunction) :: AlphaRKPR

AlphaRKPR

RKPR alpha function for cubic EOS models.

Description

Evaluates and its first two reduced-temperature derivatives componentwise.

Examples

alpha%k = k_values
call model%set_alpha(alpha)

Inherits

type~~alpharkpr~~InheritsGraph type~alpharkpr AlphaRKPR type~alphafunction AlphaFunction type~alpharkpr->type~alphafunction

Components

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

parameter.


Type-Bound Procedures

procedure, public :: alpha => alpha_rkpr

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

    Arguments

    Type IntentOptional Attributes Name
    class(AlphaRKPR), intent(in) :: self

    RKPR alpha exponent by component.

    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(:)