dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #22968
Re: [Question #155708]: VariationalProblem(J, F, bc, nonlinear=True) do not work
On 03/05/11 17:12, Kent-Andre Mardal wrote:
>
> Anne,
>
> I think you should remove the nonlinear keyword.
>
This change will make the code work, but it will produce an incorrect
result. DOLFIN will assume that the equation is linear, based on the
order of J and F (which as I've already posted I think is bad).
Garth
> Kent
>
> On 3 May 2011 16:23, Anne Kværnø <question155708@xxxxxxxxxxxxxxxxxxxxx
> <mailto:question155708@xxxxxxxxxxxxxxxxxxxxx>> wrote:
>
> New question #155708 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/155708
>
> The test program nlPoisson_vp2.py do not work. I got the following
> error message
>
> Traceback (most recent call last):
> File "nlPoisson_vp2.py", line 55, in <module>
> problem = VariationalProblem(J, F, bc, nonlinear=True)
> TypeError: __init__() got an unexpected keyword argument 'nonlinear'
>
> I am using Ubuntu 10.10, python 2.6.6 and dolfin 0.9.10
>
> On a different computer, using Ubuntu 10.04, python 2.6.5 and dolfin
> 0.9.9, this test program worked perfectly fine.
>
>
> --
> 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
> <https://launchpad.net/%7Edolfin>
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> <mailto:dolfin@xxxxxxxxxxxxxxxxxxx>
> Unsubscribe : https://launchpad.net/~dolfin
> <https://launchpad.net/%7Edolfin>
> More help : https://help.launchpad.net/ListHelp
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help : https://help.launchpad.net/ListHelp
Follow ups
References