Adaptive solve witout a goal functional lacks proper error message
Bug #872104 reported by
Johan Hake
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
Medium
|
Anders Logg |
Bug Description
When goal functional is not provided to adaptive solve I get an non-informative error message.
#######
from dolfin import *
mesh = UnitSquare(2,2)
face_markers = FacetFunction(
cell_markers = CellFunction(
V = FunctionSpace(mesh, "CG", 1)
v = TestFunction(V)
u = TrialFunction(V)
dxx = dx[cell_markers]
dss = ds[face_markers]
a = u*v*dxx(1) + u*v*dss(1)
L = v*dss(1)
u = Function(V)
solve(a==L, u, tol=0.001)
#######
An error from UFL is raised:
UFLException: Not an UFL type: <type 'NoneType'>
description: | updated |
Changed in dolfin: | |
assignee: | nobody → Anders Logg (logg) |
Changed in dolfin: | |
milestone: | none → 1.0-rc1 |
Changed in dolfin: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in dolfin: | |
status: | In Progress → Fix Committed |
Changed in dolfin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in 1.0.x-logg