Scalar property.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| character(len=:), | public, | allocatable | :: | name |
Property’s name |
||
| character(len=:), | public, | allocatable | :: | units |
Units |
||
| real(kind=pr), | public | :: | value |
Property value |
| procedure, public :: from_json => scalar_from_json |
Setup a scalar property from a provided json key and json file path.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ScalarProperty), | intent(inout) | :: | self | |||
| character(len=*), | intent(in) | :: | name |
Property name. Should be the key in the |
||
| character(len=*), | intent(in) | :: | json_str |
|
||
| character(len=*), | intent(in), | optional | :: | path |
|