dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #15268
[Bug 424411] Re: Inconsistency in form_data upon multiple runs
This does only alter the str representation of a form. As far as I am
conserned is this not used anywhere. It is the repr of a form that is
used. This is not changed.
I am closing this
Johan
** Changed in: dolfin
Status: New => Invalid
--
Inconsistency in form_data upon multiple runs
https://bugs.launchpad.net/bugs/424411
You received this bug notification because you are subscribed to DOLFIN.
Status in DOLFIN: Invalid
Bug description:
The representation of a form changes somewhat erratically when the same code is run multiple times
Cf:
{ v_0 * <Function in <Function space of dimension 9 (<CG1 on a <triangle of degree 1>>)>> } * dx0
{ v_0 * w_0 } * dx0
as output from:
from dolfin import *
for i in range(2):
mesh = UnitSquare(2, 2)
V_h = FunctionSpace(mesh, "CG", 1)
f = Function(V_h, "1.0")
u = TrialFunction(V_h)
v = TestFunction(V_h)
a = inner(grad(v), grad(u))*dx
l = dot(v, f)*dx
pde = VariationalProblem(a, l)
print pde.L.form_data.form
References