File: ShouldFail.ufl

package info (click to toggle)
ufl 1.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,400 kB
  • sloc: python: 14,269; makefile: 125; sh: 60; cpp: 20
file content (10 lines) | stat: -rw-r--r-- 216 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10

# FIXME: This form passes validation but should fail since it mixes linear and bilinear terms.

e = FiniteElement("CG", triangle, 1)
f = Coefficient(e)
v = TestFunction(e)
u = TrialFunction(e)

a = f*v*dx + u*v*dx