On Mon, Oct 19, 2009 at 09:06:04AM -0000, Johan Hake wrote: > On Monday 19 October 2009 10:53:15 Johan Hake wrote: > > On Monday 19 October 2009 19:48:10 Marie Rognes wrote: > > > Marie Rognes wrote: > > > > Johan Hake wrote: > > > >> Yes, this is typical suboptimal behavior. > > > >> > > > >> However, it should also be fixed now :) > > > > > > > > Broke VariationalProblem on the way :( > > > > > > Nevermind. instant-clean did the trick. > > > > Skulle precis anbefalla det, tillsammans med en uppdatering av ffc. > > Sorry for the non-inclusive language used:
I'd say it's pretty inclusive. At least you use a mix of two languages. ;-) -- Anders > This is what google translate give us (swedish->english): > > Would just recommend it, along with an update of the FFC > > Not that bad, google translate I mean! > > Johan > > > :) > > > > Johan > > > > > --- > > > Marie > > > -- Errors with subspaces https://bugs.launchpad.net/bugs/453206 You received this bug notification because you are subscribed to DOLFIN. Status in DOLFIN: Fix Committed Bug description: mesh = UnitSquare(1, 1) V = FunctionSpace(mesh, "CG", 1) Q = FunctionSpace(mesh, "CG", 1) M = V + Q print M.num_sub_spaces() gives: File "form_manipulation.py", line 89, in <module> print M.num_sub_spaces() File "/home/meg/local/lib64/python2.6/site-packages/dolfin/functionspace.py", line 249, in num_sub_spaces return self.__ufc_element.num_sub_elements() AttributeError: 'MixedFunctionSpace' object has no attribute '_MixedFunctionSpace__ufc_element' Further print M.sub(0).ufl_element() Traceback (most recent call last): File "form_manipulation.py", line 90, in <module> print M.sub(0).ufl_element() AttributeError: 'SubSpace' object has no attribute 'ufl_element' _______________________________________________ DOLFIN-dev mailing list DOLFIN-dev@fenics.org http://www.fenics.org/mailman/listinfo/dolfin-dev