On Monday 15 March 2010 14:33:27 Chris Richardson wrote: > Question #104471 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/104471 > > Status: Answered => Solved > > Chris Richardson confirmed that the question is solved: > OK, that solves my problem. Thank you, Johan! > > It would be better, perhaps, if the default behaviour could be: > > W=V+Q+R > is equivalent to > W=MixedFunctionSpace([V,Q,R])
This is unfortunately not possible in Python (please prove me wrong!). > and > W=(V+Q)+R > could be MixedFunctionSpace([MixedFunctionSpace([V,Q]),R]), if it is > needed... > > or maybe the W=V+Q style syntax should be deprecated... I tend to agree with you, as this is the number one question new users of FEniCS have. However it is nice to define a MixedFunctionSpace using the add operator, so we like to think of it as a feature and not a bug. :) Johan _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp