~njansson/dolfin/hpc

« back to all changes in this revision

Viewing changes to demo/la/trilinos/python/demo.py

  • Committer: Anders Logg
  • Date: 2008-05-19 14:45:28 UTC
  • mfrom: (2668.4.3 trunk)
  • mto: (2668.8.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 2670.
  • Revision ID: logg@simula.no-20080519144528-yu63r1268tq6408h
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
f = Source(element, mesh)
61
61
g = Flux(element, mesh)
62
62
 
63
 
a = dot(grad(v), grad(u))*dx
 
63
a = u*v*dx + dot(grad(v), grad(u))*dx
64
64
L = v*f*dx + v*g*ds
65
65
 
66
66
# Create backend