← Back to team overview

dolfin team mailing list archive

Re: [Bug 706909] [NEW] [python] matrix multiplication fails in parallel

 

>
> To follow the current design, we should rather have a method that
> returns whatever data is needed to create a vector, then use the
> existing factory method to actually create the vector:
>
> 1. get layout data from matrix
> 2. get factory from matrix
> 3. use factory to create vector
>

It looks like the handiest data container for (1) is the matrix itself,
though. The actual method can still be put in the factory?
(Is there a difference, design-wise, if the method resizes rather than
creates the vector?)

-j.

Follow ups

References