public function get_subgroup_maingroup(self, subgroup_id) result(subgroup_maingroup)
get_subgroup_maingroup
Get the subgroup’s maingroup
Description
Uses the self%subgroups_maingroups attribute to locate the maingroup
where the subgroup with id subgroup_id belongs
Examples
use yaeos__models_ge_group_contribution_unifac_parameters,only:UNIFACParametersuse yaeos__models_ge_group_contribution_model_parameters,only:GeGCModelParameterstype(GeGCModelParameters)::parametersparameters=UNIFACParameters()! Get the maingroup of the subgroup with id 16 (H2O)print*,parameters%get_subgroup_maingroup(16)! Will print: 7
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.