Global name VariationalProblem is not defined


223
views
0
7 months ago by
Ovais  
Hi there,

I am trying to run a relatively old demo of cbc solver called cbc beat and using Fenics stable:1.6.0

When ever i try running demo i am getting the error  
NameError: global name 'VariationalProblem' is not defined (code causing error attached)

File attached: solver.py (3.53 KB)


Can someone suggest the possible reason of error.  I am relatively new to FEniCs.
Thanks

Community: FEniCS Project

1 Answer


2
7 months ago by
VariationalProblem is deprecated, use either LinearVariationalProblem or NonlinearVariationalProblem.
Please login to add an answer/comment or follow this question.

Similar posts:
Search »