CriticalConstants Derived Type

type, public :: CriticalConstants

Critical constants


Inherits

type~~criticalconstants~~InheritsGraph type~criticalconstants CriticalConstants type~scalarproperty ScalarProperty type~criticalconstants->type~scalarproperty critical_pressure, critical_temperature, critical_volume, acentric_factor type~property Property type~scalarproperty->type~property

Inherited by

type~~criticalconstants~~InheritedByGraph type~criticalconstants CriticalConstants type~substance Substance type~substance->type~criticalconstants critical

Components

Type Visibility Attributes Name Initial
type(ScalarProperty), public :: acentric_factor

Acentric Factor [adim]

type(ScalarProperty), public :: critical_pressure

Critical Pressure [Pa]

type(ScalarProperty), public :: critical_temperature

Critical Temperature [K]

type(ScalarProperty), public :: critical_volume

Critical Volume [m3/kmol == L/mol]


Type-Bound Procedures

procedure, public :: from_json

  • public impure elemental subroutine from_json(self, json_str, path)

    Read all the critical properties from a json file.

    Arguments

    Type IntentOptional Attributes Name
    class(CriticalConstants), intent(inout) :: self
    character(len=*), intent(in) :: json_str
    character(len=*), intent(in), optional :: path