← Back to team overview

dolfin team mailing list archive

[Bug 769324] Re: Overloading eval_cell fails in demo4.py

 

Could you please attach demo4.py or tell us where demo4.py  resides.

Johan

-- 
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/769324

Title:
  Overloading eval_cell fails in demo4.py

Status in DOLFIN:
  New

Bug description:
  When running demo4.py (which demonstrates the mixed formulation) I get
  the following traceback:

  Traceback (most recent call last):
    File "demo4.py", line 50, in <module>
      class BoundarySource(Expression):
    File "/usr/lib/python2.6/dist-packages/dolfin/function/expression.py", line 221, in __new__
      raise TypeError, "expected an overload 'eval' or 'eval_data' method"
  TypeError: expected an overload 'eval' or 'eval_data' method

  This is installed on Ubuntu 10.10. If you need any more information,
  please let me know.

  I learned about FEniCS recently at a conference and I am interested in
  using it to solve a nonlinear problem which is best solved in the
  mixed formulation, so this example is of particular importance to me.



References