← Back to team overview

dolfin team mailing list archive

[Question #148679]: dofmap.max_local_dimension() removed?

 

New question #148679 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/148679

I'm working with code developed for the cbc.rans-package (https://launchpad.net/cbc.rans), and using dolfin 0.9.10 I have encountered this error:

(copied from ipython interface)
(V is a FunctionSpace or VectorFunctionSpace)

    117         dofmap = V.dofmap()
--> 118         n = dofmap.max_local_dimension()

AttributeError: 'GenericDofMap' object has no attribute 'max_local_dimension'

I am told this is because 'max_local_dimension' is a variable in dolfin 0.9.9, but removed in 0.9.10.  How can I get the same variable for dolfin 0.9.10?

-- 
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



Follow ups