fdoc

subroutinecopy_itemspureprivate

pure subroutine copy_items(from, to)

Copy from to the new array to.

Arguments

NameTypeIntentAttributesDescription
fromtype(value_t)indimension(:)

the values

totype(value_t)outallocatabledimension(:)

the copies

Calls

Source

Show the code
pure subroutine copy_items(from, to)
    type(value_t), intent(in) :: from(:)                !! the values
    type(value_t), allocatable, intent(out) :: to(:)    !! the copies
    integer :: k

    allocate (to(size(from)))
    do k = 1, size(from)
        call copy_value(to(k), from(k))
    end do
end subroutine copy_items

Graphs

Calls

Called by