Boundary conditions that are not actual boundary conditions(!) are not respected during adaptivity
Bug #809343 reported by
Marie Rognes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DOLFIN |
Fix Released
|
High
|
Marie Rognes |
Bug Description
Only constraints on degrees of freedom associated with facets that are actually exterior facets seem to be preserved during the auto-adaptive cycle. For instance, take a look at the resulting solutions from:
from dolfin import *
mesh = UnitSquare(4, 4)
V = FunctionSpace(mesh, "CG", 1)
u = TrialFunction(V)
v = TestFunction(V)
a = inner(grad(u), grad(v))*dx
f = Expression(
L = f*v*dx
bc = DirichletBC(V, 0.0, "x[0] <= 0.5")
u = Function(V)
M = u*dx
eps = 1e-3
solve(a == L, u, bc, eps, M)
plot(u.coarse())
plot(u.fine())
interactive()
Changed in dolfin: | |
assignee: | nobody → Marie Rognes (meg-simula) |
status: | Confirmed → Fix Committed |
Changed in dolfin: | |
milestone: | 1.0-rc1 → 1.0-beta2 |
Changed in dolfin: | |
status: | Fix Committed → In Progress |
status: | In Progress → Fix Released |
To post a comment you must log in.