What is the expected output? What do you see instead?
Expected: A BoxField.
Instead: AttributeError: 'GenericDofMap' object has no attribute 'vertex_to_dof_map'
What version of the product are you using? On what operating system?
scitools 0.9.0 downloaded from git, dolfin 1.6.0 from the FEniCS PPA (on Lubuntu)
Probable cause:
The DofMap member methods vertex_to_dof_map and dof_to_vertex_map are deprecated since 1.3 and have now been removed. Instead the free functions with the same names should be used. (I'm new to dolfin as well as to scitools so I hope this is correct, I was simply trying to run one of the more advanced plotting examples from the FEniCS tutorial.)
What steps will reproduce the problem? Minimal non-working example: [code] import dolfin import scitools.BoxField
mesh = dolfin.UnitSquareMesh(10,10) V = dolfin.FunctionSpace(mesh, 'Lagrange', 1) u = dolfin.Function(V)
scitools.BoxField.dolfin_function2BoxField(u,mesh) [\code]
What is the expected output? What do you see instead? Expected: A BoxField. Instead: AttributeError: 'GenericDofMap' object has no attribute 'vertex_to_dof_map'
What version of the product are you using? On what operating system? scitools 0.9.0 downloaded from git, dolfin 1.6.0 from the FEniCS PPA (on Lubuntu)
Probable cause: The DofMap member methods vertex_to_dof_map and dof_to_vertex_map are deprecated since 1.3 and have now been removed. Instead the free functions with the same names should be used. (I'm new to dolfin as well as to scitools so I hope this is correct, I was simply trying to run one of the more advanced plotting examples from the FEniCS tutorial.)