dolfin_adjoint.LinearVariationalProblem does not accept problems without bcs

Bug #1008924 reported by Marie Rognes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
dolfin-adjoint
Fix Committed
Undecided
Patrick Farrell

Bug Description

Not all variational problems have bcs. dolfin therefore supports LinearVariationalProblem with only three arguments,
dolfin_adjoint does not. Test with this:

from dolfin import *
from dolfin_adjoint import *

mesh = UnitSquare(2, 2)
V = FunctionSpace(mesh, "CG", 1)
u = TrialFunction(V)
v = TestFunction(V)

a = u*v*dx
L = v*dx

u = Function(V)
pde = LinearVariationalProblem(a, L, u)

Changed in dolfin-adjoint:
assignee: nobody → Patrick Farrell (pefarrell)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.