~johan-hake/dolfin/general-rk-solver

« back to all changes in this revision

Viewing changes to demo/pde/navier-stokes/cpp/VelocityUpdate.ufl

  • Committer: Johan Hake
  • Date: 2013-03-27 15:18:08 UTC
  • mfrom: (7352.1.227 working)
  • Revision ID: hake.dev@gmail.com-20130327151808-b73d4pueq1n432hg
Merge with trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
# Compile this form with FFC: ffc -l dolfin TentativeVelocity.ufl.
26
26
 
27
27
# Define function spaces (P2-P1)
28
 
V = VectorElement("CG", triangle, 2)
29
 
Q = FiniteElement("CG", triangle, 1)
 
28
V = VectorElement("Lagrange", triangle, 2)
 
29
Q = FiniteElement("Lagrange", triangle, 1)
30
30
 
31
31
# Define trial and test functions
32
32
u = TrialFunction(V)