Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
add
Interface
115 statements
Source File
sourcery_units_m.f90
sourcery_units_m
add
Contents
None
interface
private impure elemental module function add(lhs, rhs) result(total)
Implementation →
Arguments
Type
Intent
Optional
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