jorgensd / dolfinx_mpc

Extension for dolfinx to handle multi-point constraints.
https://jorgensd.github.io/dolfinx_mpc/
MIT License
30 stars 12 forks source link

Replace `create_cell_dofs_map` with `transpose_dofmap` #61

Open jorgensd opened 1 year ago

jorgensd commented 1 year ago

Ref: https://github.com/FEniCS/dolfinx/blob/e952664b086f6c7e7662c53ec54e8d774b101de4/cpp/dolfinx/fem/DofMap.cpp#L134-L173

One could then restrict the adjacency-list after creation. Would reduce the amount of extra code in the library.

Should be profiled.

jorgensd commented 1 year ago

Should wait until https://github.com/FEniCS/dolfinx/pull/2632/ has landed