Demand default value for expression variables
Registered by
Johan Hake
When constructing a compiled Python expression with variables, we should demand a passed default value. This will hide any potential misspellings of builtin DOLFIN variables as DOLFIN_EPS. We can pass them as **kwargs:
f = Expression(
Probably need to hide the accepted kwargs (element, aso) as these should come behind the default value declaration.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Medium
- Drafter:
- Johan Hake
- Direction:
- Needs approval
- Assignee:
- Johan Hake
- Definition:
- Review
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 1.0-beta2
- Started by
- Johan Hake
- Completed by
- Johan Hake
Related branches
Related bugs
Sprints
Whiteboard
(?)