Groups Derived Type

type, public, extends(Property) :: Groups

Groups for a group-contribution based method.


Inherits

type~~groups~~InheritsGraph type~groups Groups type~property Property type~groups->type~property

Inherited by

type~~groups~~InheritedByGraph type~groups Groups type~substance Substance type~substance->type~groups unifac_vle

Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: counts(:)
integer, public, allocatable :: ids(:)
character(len=:), public, allocatable :: name

Property’s name

character(len=:), public, allocatable :: units

Units


Type-Bound Procedures

procedure, public :: from_json

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

    From a json file and a model name set the present groups.

    Arguments

    Type IntentOptional Attributes Name
    class(Groups), intent(inout) :: self

    Groups

    character(len=*), intent(in) :: name

    Model name

    character(len=*), intent(in) :: json_str

    json file

    character(len=*), intent(in), optional :: path

    Path to file