add Interface

interface


Calls

interface~~add~~CallsGraph interface~add add proc~add add interface~add->proc~add

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

Arguments

Type IntentOptional AttributesName
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