Define the default Transfer class.

class openmdao.vectors.default_transfer.DefaultTransfer(in_vec, out_vec, in_inds, out_inds, comm)[source]

Bases: openmdao.vectors.transfer.Transfer

Default NumPy transfer.

__init__(in_vec, out_vec, in_inds, out_inds, comm)

Initialize all attributes.


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.