← Back to team overview

dolfin team mailing list archive

How to combine component Functions into a VectorFunction

 

I was wondering if it's possible to combine components into a vector-valued
function safely.

The sub-functions returned by Function.split() do not allow assignment, and
index tricks like

vf.vector()[d*len(f):(d+1)*len(f)] = f

don't work in parallel (and are rather too intimate with the DOLFIN details
anyway).

-- 
Joachim.

Follow ups