adios4dolfinx
adios4dolfinx copied to clipboard
Submesh support and multiple meshes per file
A major update to ADIOS4DOLFINx.
New features
- Write submeshes into the same checkpoint as a parent mesh and retrieve them through reading
- Write multiple meshes (without the parent <-> sub relation) to the same file.
- Write/read submesh functions.
For now, only codim-0 meshes works in parallel.
For this to work on codim-1 meshes, I believe that the way forward is to:
- Expose
dolfinx::fem::CoordinateElement::permute_subentity_closureto be able to map the input geometry dofmap correctly (https://github.com/FEniCS/dolfinx/blob/main/cpp/dolfinx/fem/CoordinateElement.h#L103-L123) - Perform all dof permutations on all cells (not just owned, as codim-1 meshes can have dofs owned by a process, but have no ghost cell).