Public Member Functions | |
| type(units) function | dcunitsadd (u1, u2) |
Definition at line 107 of file dc_units.f90.
| type(units) function dc_units::operator(+)::dcunitsadd | ( | type(units), intent(in) | u1, |
| type(units), intent(in) | u2 | ||
| ) |
Add two UNITS (with dimension compatibility check)
Addition is only valid when both units have the same dimensions. If dimensions don't match, resultoffset is set to "MISMATCH".
| [in] | u1 | First UNITS variable |
| [in] | u2 | Second UNITS variable |
Definition at line 265 of file dc_units.f90.