Question #143060 on DOLFIN changed: https://answers.launchpad.net/dolfin/+question/143060
Anders Logg proposed the following answer: On Fri, Jan 28, 2011 at 09:45:04AM -0000, Johannes Ring wrote: > Question #143060 on DOLFIN changed: > https://answers.launchpad.net/dolfin/+question/143060 > > Status: Open => Answered > > Johannes Ring proposed the following answer: > Are you using the Ubuntu packages from the PPA? If so, try to replace > the 'value_shape' method starting at line 21 with this: > > def dim(self): > return 2 > > This is needed because the PPA contains the latest stable release of > DOLFIN (version 0.9.9), while the documentation on the web page (where I > assume you got demo2.py) is following the development version. > > You also probably need to select quadrature representation in the form > compiler options: > > parameters["form_compiler"]["representation"] = "quadrature" This should be resolved next week or so when we release 0.9.10. -- Anders -- You received this question notification because you are a member of DOLFIN Team, which is an answer contact for DOLFIN. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp