Feature request : manual mesh partitioning with the api
This is a feature request.
Would it be possible to add an optional argument to gmsh.model.mesh.partition to expose the "PartitionUsingThisSplit" functionality?
I can try to do it myself but I'd like to have your opinion first.
My use case is the following. I need non-standard partitioning (part of the domain in 1d, another part in 2d and a third part in 3d + varying weights on the 3d elements + periodic boundaries). I can easily create my adjacency graphs with the api and call metis myself with my parameters but after that, manually writing the partitioned msh files is tedious and I'd like to use the api to do it. Unfortunately "PartitionUsingThisSplit" is not exposed and I also found no way to set the partition of each element and parent entities through the API.