add Interface

interface
private impure elemental module function add(lhs, rhs) result(total)

Arguments

Type IntentOptional Attributes Name
class(units), intent(in) :: lhs
class(units), intent(in) :: rhs

Return Value type(units)

Description

result is the units of the sum of two dimensional quantities; includes operand consistency check