I am trying to load a mesh along with a mesh function and boundary function in cpp. The old approach of using
auto mesh = std::make_shared<Mesh>("./startfiles/mesh.xml");
auto mf = std::make_shared<MeshFunction<std::size_t>>(mesh,"./startfiles/mf.xml");
auto bf = std::make_shared<MeshFunction<std::size_t>>(mesh,"./startfiles/bf.xml");
no longer works in parallel, and I am trying to transition away from using xml mesh files and start using meshio. However, I have so far not had any luck importing .h5 or .xdmf mesh function files in cpp in parallel. Does anyone have a simple example of how to do this?
Apologies if I have missed an obvious solution that someone has already given, I have not managed find an answer in