Handle forms that evaluate to zero

Registered by Anders Logg

DOLFIN/FFC/UFL cannot handle forms that are zero:

1. L = 0

2. L = 0*v*dx # term dropped by UFL

Unsure how to handle this. It would at least be possible to handle it in VariationalProblem and check for arguments that are zero and generate a form of correct arity on the same function space that evaluates to zero (using a zero coefficient).

Blueprint information

Status:
Complete
Approver:
None
Priority:
High
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
Discussion
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Garth Wells
Completed by
Garth Wells

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.