~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to src/kernel/mf/ffc-forms/StiffnessMatrix3D.form

  • Committer: Johannes Ring
  • Date: 2008-03-05 22:43:06 UTC
  • Revision ID: johannr@simula.no-20080305224306-2npsdyhfdpl2esji
The BIG commit!

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (c) 2005-2006 Anders Logg (logg@tti-c.org)
2
 
# Licensed under the GNU LGPL Version 2.1
3
 
#
4
 
# First added:  2005-06-05
5
 
# Last changed: 2006-03-28
6
 
#
7
 
# The bilinear form for a stiffness matrix (Poisson).
8
 
 
9
 
element = FiniteElement("Lagrange", "tetrahedron", 1)
10
 
 
11
 
v = TestFunction(element)
12
 
U = TrialFunction(element)
13
 
c = Constant("tetrahedron")
14
 
 
15
 
a = c*dot(grad(v), grad(U))*dx