~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to demo/pde/biharmonic/python/demo_biharmonic.py

  • Committer: corrado maurini
  • Date: 2012-12-18 12:16:08 UTC
  • mfrom: (6685.78.207 trunk)
  • Revision ID: corrado.maurini@upmc.fr-20121218121608-nk82ly9jgsld9u84
updating with trunk, fix uint in TAO solver and hacking the check for tao FindTAO.cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
# Modified by Anders Logg, 2011
35
35
#
36
36
# First added:  2009-06-26
37
 
# Last changed: 2011-06-28
 
37
# Last changed: 2012-11-12
38
38
 
39
39
# Begin demo
40
40
 
45
45
parameters["form_compiler"]["optimize"] = True
46
46
 
47
47
# Create mesh and define function space
48
 
mesh = UnitSquare(32, 32)
 
48
mesh = UnitSquareMesh(32, 32)
49
49
V = FunctionSpace(mesh, "CG", 2)
50
50
 
51
51
# Define Dirichlet boundary