Rank analysis is wrong
Bug #997739 reported by
Johan Hake
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SyFi |
New
|
Undecided
|
Unassigned |
Bug Description
from dolfin import *
parameters.
mesh = UnitCube(5,5,5)
VV = VectorFunctionS
u = TrialFunction(VV)
v = TestFunction(VV)
Aij = diag(Constant(
Delta = Identity( mesh.ufl_
# Works but should not work...
assemble(
To post a comment you must log in.
On 05/10/2012 08:18 PM, Johan Hake wrote: pace(mesh, "Lagrange" ,1) (1,1,1) )) cell(). geometric_ dimension( )) inner(Aij* (grad(u) +Delta) , grad(v))*dx) inner(Aij* grad(u) , grad(v))*dx)
> mesh = UnitCube(5,5,5)
> VV = VectorFunctionS
> u = TrialFunction(VV)
> v = TestFunction(VV)
> Aij = diag(Constant(
> Delta = Identity( mesh.ufl_
> # Does not work (but works with sfc)
> assemble(
> # Works
> assemble(
As far as I can see, your form has different ranks.
The error message then seems very correct.
--
Marie