← Back to team overview

dolfin team mailing list archive

Re: [Question #143060]: cahn-hilliard demo does not work

 

Question #143060 on DOLFIN changed:
https://answers.launchpad.net/dolfin/+question/143060

    Status: Answered => Open

Stig Larsson is still having a problem:
Yes, it is from PPA.

I conclude that the mac binaries are also following the 'development  
version', since demo2.py runs on my macbook.

Thanks.  /stig

On 28 jan 2011 v 04, at 10.45, Johannes Ring wrote:

> Your 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"
>
> -- 
> If this answers your question, please go to the following page to  
> let us
> know that it is solved:
> https://answers.launchpad.net/dolfin/+question/143060/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/dolfin/+question/143060
>
> You received this question notification because you are a direct
> subscriber of the question.

You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.



References