dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21046
Re: [Question #143060]: cahn-hilliard demo does not work
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"
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups