UFC

ufc::mesh and init_mesh, init_cell can be removed

Registered by Martin Sandve Alnæs

With the recent demise of SFC, we can get rid of init_mesh etc.

- Change mesh argument to tabulate_dofs into a vector<size_t> num_entities
- Add vector<size_t> num_entities to global_dimension()
- Remove init_cell(), init_mesh()
- Remove mesh class

Dolfin dofmap initialization code can be simplified a bit following this step.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Essential
Drafter:
None
Direction:
Needs approval
Assignee:
Martin Sandve Alnæs
Definition:
Approved
Series goal:
None
Implementation:
Implemented
Milestone target:
None
Started by
Anders Logg
Completed by
Martin Sandve Alnæs

Whiteboard

(?)

Work Items

Work items:
[martinal] Remove init_cell and init_mesh and init_mesh_finalize in UFC: DONE
[martinal] Remove ufc::mesh in UFC: DONE
[martinal] Update signature for global_dimension in UFC: DONE
[martinal] Update signature for tabulate_dofs in UFC: DONE
[logg] Remove init_cell and init_mesh in FFC: DONE
[logg] Generate new version of global_dimension in FFC: DONE
[martinal] Remove calls to init_* in DOLFIN: DONE
[martinal] Update calls to global_dimension in DOLFIN: DONE
[martinal] Update calls to tabulate_dofs in DOLFIN: DONE
[martinal] Remove use of ufc::mesh in DOLFIN: DONE
[martinal] Regenerate code in DOLFIN: DONE
[martinal] Fix tests in FFC that use ufc::mesh (ufctest.h): DONE
[martinal] Update references in FFC: DONE

This blueprint contains Public information 
Everyone can see this information.