← Back to team overview

dolfin team mailing list archive

Function output

 

XML input/output now works for Functions. I'll try to get the built-in
visualization working next (in plot.py):

  f = Function("poisson.xml")
  plot(f)

Anyone wants to help getting the other output formats (.pvd etc)
going? It should just be a matter of calling the interpolate()
function go get the values at all vertices. The values are stored

 [first component at all vertices, second component at all vertices, ...]

The size of the array values should be set to

    f.size()*mesh.numVertices()

/Anders