Define the Transfer base class.

class openmdao.vectors.transfer.Transfer(in_vec, out_vec, in_inds, out_inds, comm)[source]

Bases: object

Base Transfer class.


Pointer to the input vector.


Pointer to the output vector.

in_indsint ndarray

Input indices for the transfer.

out_indsint ndarray

Output indices for the transfer.

commMPI.Comm or <FakeComm>

Communicator of the system that owns this transfer.

_in_indsint ndarray

input indices for the transfer.

_out_indsint ndarray

output indices for the transfer.

_commMPI.Comm or FakeComm

communicator of the system that owns this transfer.

__init__(in_vec, out_vec, in_inds, out_inds, comm)[source]

Initialize all attributes.