~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to demo/pde/cahn-hilliard/python/demo_cahn-hilliard.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:
19
19
# along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
20
20
#
21
21
# First added:  2009-06-20
22
 
# Last changed: 2009-06-20
 
22
# Last changed: 2012-11-12
23
23
 
24
24
# Begin demo
25
25
 
60
60
parameters["form_compiler"]["representation"] = "quadrature"
61
61
 
62
62
# Create mesh and define function spaces
63
 
mesh = UnitSquare(96, 96)
 
63
mesh = UnitSquareMesh(96, 96)
64
64
V = FunctionSpace(mesh, "Lagrange", 1)
65
65
ME = V*V
66
66