VariationalProblem does not know the property nonlinear

Asked by Sebastian Rau

Hello,

i have another question: In my version of Fenics, the command

VariationalProblem(J, F, bc, nonlinear = True)

is not recognized (the nonlinear part). If i erase the nonlinear thing, it solves my nonlinear problem with Newton. But why cant i specify nonlinear = True, should i be worried?

Thanks for any help or comments!

Bye
Sebastian

Question information

Language:
English Edit question
Status:
Solved
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Solved by:
Garth Wells
Solved:
Last query:
Last reply:
Revision history for this message
Marie Rognes (meg-simula) said :
#1

First, always tell us which version "your version of FEniCS" is .

Second, see the answer to Question #155708.

Revision history for this message
Sebastian Rau (rau) said :
#2

Hi,

my version of Fenics is 11.05, running on Mac OS X 10.6.6.

From the answers to Question #155708 i understand that instead of writing

        VariationaProblem(J,F,bc, nonlinear=True)

with J being the derivative to the variational form F i have to write

        VariationalProblem(F,J,bc).

Is that correct?

Sebastian

Revision history for this message
Best Garth Wells (garth-wells) said :
#3

Yes.

Revision history for this message
Sebastian Rau (rau) said :
#4

Thanks Garth Wells, that solved my question.