copy Interface

public interface copy

This interface provides methods to copy an array X of abstract_vector into another array Y. Note that Y needs to be pre-allocated.

Example

    type(my_real_vector), dimension(10) :: X
    type(my_real_vector), dimension(10) :: Y

    ! ... Your code ...

    call copy(Y, X)

    ! ... Your code ...

Module Procedures

private subroutine copy_vector_rsp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_rsp), intent(out) :: out
class(abstract_vector_rsp), intent(in) :: from

private subroutine copy_basis_rsp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_rsp), intent(out) :: out(:)
class(abstract_vector_rsp), intent(in) :: from(:)

private subroutine copy_vector_rdp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_rdp), intent(out) :: out
class(abstract_vector_rdp), intent(in) :: from

private subroutine copy_basis_rdp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_rdp), intent(out) :: out(:)
class(abstract_vector_rdp), intent(in) :: from(:)

private subroutine copy_vector_csp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_csp), intent(out) :: out
class(abstract_vector_csp), intent(in) :: from

private subroutine copy_basis_csp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_csp), intent(out) :: out(:)
class(abstract_vector_csp), intent(in) :: from(:)

private subroutine copy_vector_cdp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_cdp), intent(out) :: out
class(abstract_vector_cdp), intent(in) :: from

private subroutine copy_basis_cdp(out, from)

Arguments

Type IntentOptional Attributes Name
class(abstract_vector_cdp), intent(out) :: out(:)
class(abstract_vector_cdp), intent(in) :: from(:)