dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21047
Re: [Question #143060]: cahn-hilliard demo does not work
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
Follow ups
References