FEniCS / dolfinx

Next generation FEniCS problem solving environment
https://fenicsproject.org
GNU Lesser General Public License v3.0
776 stars 181 forks source link

Distinguish between abstract Expression and a FE function #7

Closed garth-wells closed 5 years ago

garth-wells commented 6 years ago

DOLFIN doesn't clearly distinguish between:

We should have:

The problem leads to differences in how a coefficient is evaluated inside a form integral and how is it is evaluated for some x. It is particularly confusing on the Python side.

garth-wells commented 5 years ago

Fixed by https://github.com/FEniCS/dolfinx/pull/229.