transfer.py#
Define the Transfer base class.
- class openmdao.vectors.transfer.Transfer(in_vec, out_vec, in_inds, out_inds)[source]
Bases:
object
Base Transfer class.
- 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.
- Attributes:
- _in_indsint ndarray
input indices for the transfer.
- _out_indsint ndarray
output indices for the transfer.
- __init__(in_vec, out_vec, in_inds, out_inds)[source]
Initialize all attributes.