3
# Reserved variables for forms
4
(a, L, M) = (None, None, None)
6
# Reserved variable for element
9
# Copyright (C) 2005-2007 Anders Logg.
10
# Licensed under the GNU LGPL Version 2.1.
13
# Last changed: 2007-05-14
15
# The bilinear form a(v, U) and linear form L(v) for
18
# Compile this form with FFC: ffc -l dolfin Poisson.form.
20
element = FiniteElement("Lagrange", "triangle", 2)
22
v = TestFunction(element)
23
u = TrialFunction(element)
27
a = dot(grad(v), grad(u))*dx
30
compile([a, L, M, element], "PoissonP2", options={'language': 'dolfin', 'blas': False, 'form_postfix': True, 'precision': '15', 'cache_dir': None, 'cpp optimize': False, 'split_implementation': False, 'quadrature_points': False, 'output_dir': '.', 'representation': 'tensor', 'shared_ptr': True, 'optimize': False}, global_variables=globals())