← Back to team overview

dolfin team mailing list archive

Re: [Bug 424411] [NEW] Inconsistency in form_data upon multiple runs

 



Kristian Oelgaard wrote:
I got this e-mail twice, from Launchpad and DOLFIN. If I go to:

https://bugs.launchpad.net/dolfin/+bug/424411

I see the Marie is in the subscribers section and:

Andy, DOLFIN mailing list, FEniCS team and Johan Hake are in the also notified
section. I'm a member of both the DOLFIN mailing list and the FEniCS team, is
that why I got two, and did Johan Hake get three?


I assigned the bug to Johan which probably accounts for one copy.

Garth

Kristian

Quoting Marie Rognes <meg@xxxxxxxxx>:

Public bug reported:


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

** Affects: dolfin
     Importance: Undecided
         Status: New

--
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: New

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
_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev



_______________________________________________
DOLFIN-dev mailing list
DOLFIN-dev@xxxxxxxxxx
http://www.fenics.org/mailman/listinfo/dolfin-dev




Follow ups

References