~njansson/dolfin/hpc

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Copyright (c) 2005-2006 Anders Logg (logg@tti-c.org)
# Licensed under the GNU GPL Version 2
#
# First added:  2005-06-05
# Last changed: 2006-03-28
#
# The bilinear form for a stiffness matrix (Poisson).

element = FiniteElement("Lagrange", "triangle", 1)

v = TestFunction(element)
U = TrialFunction(element)
c = Constant()

a = c*dot(grad(v), grad(U))*dx