← Back to team overview

dolfin team mailing list archive

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

 

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


Follow ups

References