Groups for a group-contribution based method.
| 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 |
| procedure, public :: from_json |
From a json file and a model name set the present groups.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(Groups), | intent(inout) | :: | self |
Groups |
||
| character(len=*), | intent(in) | :: | name |
Model name |
||
| character(len=*), | intent(in) | :: | json_str |
|
||
| character(len=*), | intent(in), | optional | :: | path |
Path to file |