Check for value dimension when a Function is created in PyDOLFIN

Registered by Johan Hake

When a Function expression is created in PyDOLFIN one could easily instantiate this with a FunctionSpace with different value rank. This could potentially segfault a program. When a Function expression is created we know the intended value rank. If we create a method that returns this value, we can use this to check that this is the same as the value ranke of a the FunctionSpace.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
Johan Hake
Direction:
Needs approval
Assignee:
Johan Hake
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
milestone icon 0.9.4
Started by
Anders Logg
Completed by
Anders Logg

Related branches

Sprints

Whiteboard

I think this has been fixed.

JH: Yes

JH: I see that I got a feedback request which I did not get any notice about. Can this be fixed?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.