FEniCS / ufl

UFL - Unified Form Language
https://fenicsproject.org
GNU Lesser General Public License v3.0
97 stars 64 forks source link

Handle form coefficients as an optional kwarg when calling a form #125

Closed pbrubeck closed 1 year ago

pbrubeck commented 1 year ago

We can call a form with new arguments to replace the original ones. The case where there is no replace rule for the coefficients is currently not supported. This PR gives the correct default behaviour when coefficients are not provided as a kwarg.