~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to demo/mesh/meshfunction/cpp/plot.py

  • Committer: Johannes Ring
  • Date: 2008-03-05 22:43:06 UTC
  • Revision ID: johannr@simula.no-20080305224306-2npsdyhfdpl2esji
The BIG commit!

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
from dolfin import *
 
2
 
 
3
mesh = Mesh("mesh2D.xml.gz")
 
4
mesh_function = MeshFunction("real", mesh, "meshfunction.xml")
 
5
plot(mesh_function)