~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to sandbox/ilmarw/test/Poisson.py

  • Committer: Garth N. Wells
  • Date: 2008-03-29 09:34:25 UTC
  • Revision ID: gnw20@cam.ac.uk-20080329093425-3ea2vhjvccq56zvi
Add some basic build & install instructions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from ffc import *
2
 
 
3
 
# Reserved variables for forms
4
 
(a, L, M) = (None, None, None)
5
 
 
6
 
# Reserved variable for element
7
 
element = None
8
 
 
9
 
element = FiniteElement("Lagrange", "tetrahedron", 1)
10
 
 
11
 
v = TestFunction(element)
12
 
u = TrialFunction(element)
13
 
 
14
 
a = dot(grad(v), grad(u))*dx
15
 
 
16
 
compile([a, L, M, element], "Poisson", "tensor", "dolfin", {'quadrature_points=': False, 'blas': False, 'precision=': '15', 'optimize': False})