Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UFL constraints not available for Firedrake #44

Closed
tlroy opened this issue Jan 6, 2021 · 0 comments
Closed

UFL constraints not available for Firedrake #44

tlroy opened this issue Jan 6, 2021 · 0 comments

Comments

@tlroy
Copy link

tlroy commented Jan 6, 2021

UFL constraints are only available in fenics_adjoint/ufl_constraints. The example examples/stokes-topology/stokes-topology-rol-firedrake.py does not work as is. It's probably a simple fix to move ufl_constraints.py to pyadjoint instead.

I got it working for Firedrake by removing imports from fenics and firedrake_adjoint.types, which does not seem to exist.

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

No branches or pull requests

2 participants