~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to bench/fem/assembly/Advection.form

  • Committer: Niclas Jansson
  • Date: 2011-06-10 14:33:43 UTC
  • Revision ID: njansson@csc.kth.se-20110610143343-d21p4am8rghiojfm
Added rudimentary header to binary files

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
P1 = FiniteElement("Lagrange", "tetrahedron", 3)
2
 
P0 = VectorElement("Discontinuous Lagrange", "tetrahedron", 0)
3
 
 
4
 
v = BasisFunction(P1)
5
 
u = BasisFunction(P1)
6
 
c = Function(P0)
7
 
i = Index()
8
 
 
9
 
a = v*c[i]*u.dx(i)*dx