Function.assign in Dolfinx

See for instance:

Or