Created
March 24, 2016 11:09
-
-
Save wence-/8b296c2a86360b3bc4c0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from firedrake import * | |
mesh = UnitSquareMesh(10, 10) | |
V = FunctionSpace(mesh, 'CG', 1) | |
u = TrialFunction(V) | |
v = TestFunction(V) | |
f = Function(V) | |
solve(u*v*dx == v*dx, f, options_prefix="foo_") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment