Add hash value for mesh to ufc::cell
Registered by
Anders Logg
The signature for ufc::function:
void evaluate(double* values,
Sub classes must return the value based on the given coordinates and the cell.
The problem is that (in for example interpolation to different meshes) the cell might originate from another mesh and sub classes have no way to know whether the cell belongs to a different mesh.
We could fix this by adding a hash value for the mesh to ufc::cell:
unsigned int mesh_hash;
This would require the addition of a signature() and a hash() function in dolfin::Mesh.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- 2.0
- Started by
- Garth Wells
- Completed by
- Garth Wells
Related branches
Related bugs
Sprints
Whiteboard
(?)