Skip to content

Conversation

@wence-
Copy link
Contributor

@wence- wence- commented Jul 29, 2016

Fixes a regression Justin reported on the mailing list

Hi all,

Last year (~8 months ago) the following worked:

from firedrake import *
mesh = UnitSquareMesh(10,10)
V = VectorFunctionSpace(mesh, "CG", 1)
P = FunctionSpace(mesh, "CG", 1)
W = V*Q
bc1 = DirichletBC(W.sub(0).sub(0), Expression("cos(pi*x[0])*sin(pi*x[1])"), (1,2))

wence- added 3 commits July 29, 2016 08:46
Demonstrates a regression where if an Expression object is passed in we
get an error.
Only appeared when using Expression objects.
@miklos1
Copy link
Member

miklos1 commented Jul 29, 2016

Looks fine.

@wence- wence- merged commit e9c42de into master Jul 29, 2016
wence- added a commit that referenced this pull request Jul 29, 2016
* dirichlet-sub-vfs:
  Fix regression applying bcs to subscripted VFS
  Add tests of subscripted VFS bcs using Expressions
  FS: fix format argument in ProxyFunctionSpace
@wence- wence- deleted the dirichlet-sub-vfs branch July 29, 2016 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants