Unit system processing module. More...
Data Types | |
| interface | clear |
| interface | deallocate |
| interface | operator(*) |
| interface | operator(+) |
| interface | operator(/) |
| type | units |
Functions/Subroutines | |
| logical function, public | add_okay (u1, u2) |
Unit system processing module.
| logical function, public dc_units::add_okay | ( | type(units), intent(in) | u1, |
| type(units), intent(in) | u2 | ||
| ) |
Check if two UNITS are compatible for addition
Two units are compatible if they have the same dimensions (i.e., the same unit elements with the same powers).
| [in] | u1 | First UNITS variable |
| [in] | u2 | Second UNITS variable |
Definition at line 307 of file dc_units.f90.