Return an instance of quantity (qreal) with the queried unit (if defined).
This is useful to build quantity by algebric expressions, e.g. q1 = 2.0 * system%qunit('metre').
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(system_abstract), | intent(in) | :: | self | The system. |
||
| character(len=*), | intent(in) | :: | u | Unit name or main symbol alias. |
The queried quantity.