File: cmap.ufl

package info (click to toggle)
dolfinx 2019.2.0~git20210130.c14cb0a-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,584 kB
  • sloc: cpp: 48,110; python: 9,536; xml: 9,114; makefile: 261; sh: 17
file content (10 lines) | stat: -rw-r--r-- 241 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
coord_element = VectorElement("Lagrange", triangle, 1)
mesh = Mesh(coord_element)

element = FiniteElement("Lagrange", triangle, 1)
V = FunctionSpace(mesh, element)

u = TrialFunction(V)
v = TestFunction(V)

a = inner(grad(u), grad(v)) * dx