| Thread Previous • Date Previous • Date Next • Thread Next |
** Changed in: dolfin
Assignee: Anders Logg (logg) => Garth Wells (garth-wells)
** Changed in: dolfin
Status: Confirmed => Fix Committed
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/739217
Title:
interpolate does not check value dimension
Status in DOLFIN:
Fix Committed
Bug description:
interpolate allows interpolation to/from spaces of different value dimensions. This is error prone. Should add check (unless someone considers it to be a feature.)
from dolfin import *
mesh = UnitSquare(2, 2)
V = VectorFunctionSpace(mesh, "CG", 1)
f = Expression("1.0")
w = interpolate(f, V)
| Thread Previous • Date Previous • Date Next • Thread Next |