default_transfer.py

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.

Parameters
in_vec<Vector>

Pointer to the input vector.

out_vec<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.

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

Initialize all attributes.