This is a read only copy of the old FEniCS QA forum. Please visit the new QA forum to ask questions

plot of subfunction require projection

0 votes

This code

from dolfin import *
mesh = UnitSquareMesh(10,10)
V = VectorFunctionSpace(mesh,"CG", 1)
VV = V * V
v1v2 = Function(VV)
(v1, v2) = split(v1v2)
plot(v1)

forces a projection. Is this the same issue of Issue #84 ?

asked Sep 9, 2013 by mmorandi FEniCS Novice (990 points)

Is this the same issue of Issue #84 ?

No, but it is related. Simply, subfunction's vector has no good meaning.

...