Get the subgroup’s value
Uses the self%subgroups_Qs
attribute to locate the subgroup
value.
use yaeos__models_ge_group_contribution_unifac_parameters, only: UNIFACParameters
use yaeos__models_ge_group_contribution_model_parameters, only: GeGCModelParameters
type(GeGCModelParameters) :: parameters
parameters = UNIFACParameters()
! Get the subgroup, with id 1 (CH3), Q value
print *, parameters%get_subgroup_Q(1) ! Will print: 0.8480
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(GeGCModelParameters) | :: | self | ||||
integer, | intent(in) | :: | subgroup_id |
ID of the subgroup |
value of the subgroup
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | subgroup_idx |