dolfin_adjoint.LinearVariationalProblem does not accept problems without bcs
Bug #1008924 reported by
Marie Rognes
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 LinearVariation
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 = LinearVariation
Changed in dolfin-adjoint: | |
assignee: | nobody → Patrick Farrell (pefarrell) |
status: | New → Fix Committed |
To post a comment you must log in.