type_int_vector_3d_add Function

private pure elemental function type_int_vector_3d_add(a, b) result(c)

Arguments

Type IntentOptional Attributes Name
type(type_int_vector_3d), intent(in) :: a
type(type_int_vector_3d), intent(in) :: b

Return Value type(type_int_vector_3d)


Called by

proc~~type_int_vector_3d_add~~CalledByGraph proc~type_int_vector_3d_add type_int_vector_3d_add interface~operator(+) operator(+) interface~operator(+)->proc~type_int_vector_3d_add

Source Code

    pure elemental function type_int_vector_3d_add(a, b) result(c)
        implicit none
        type(type_int_vector_3d), intent(in) :: a, b
        type(type_int_vector_3d) :: c

        c%x = a%x + b%x
        c%y = a%y + b%y
        c%z = a%z + b%z
    end function type_int_vector_3d_add