~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to demo/undocumented/coloring/python/demo_coloring.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:
22
22
# Modified by Anders Logg, 2010.
23
23
#
24
24
# First added:  2010-11-16
25
 
# Last changed: 2010-11-17
 
25
# Last changed: 2012-11-12
26
26
 
27
27
from dolfin import *
28
28
 
29
29
# Create mesh
30
 
mesh = UnitCube(24, 24, 24)
 
30
mesh = UnitCubeMesh(24, 24, 24)
31
31
 
32
32
# Compute vertex-based coloring
33
33
mesh.color("vertex");