Debian Codegraph @

demo/documented/stokes-taylor-hood/cpp/plot.py

raw
1 from dolfin import *
2
3 # Plot velocity
4 u = Function("velocity.xml")
5 plot(u)
6
7 # Plot pressure
8 p = Function("pressure.xml")
9 plot(p)