Skip to content

Transfer ownership of mesh_subsets to the DOF-table.

Starting with usage of vector<unique_ptr<MeshSubsets>> in Process the ownership is transferred to the DOF-table (LocalToGlobalIndexMap). All the interfaces involved in construction of the MeshComponentMap and the DOF-table are changed either to accept references or rvalues.

While implementation of the ownership improvement the difference between a variable_id (e.g. pressure is nr 5), component_id (e.g. the z-component is nr 2), and global component_id used in the DOF-table arouse. Most of the functions involving the variable/component ids are broken. i.e. the ids are always 0, which is fine for single-variable/single-component id. The variable_id/component_id are marked as todo.

Merge request reports