Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
gmsh
gmsh
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 126
    • Issues 126
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 7
    • Merge Requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gmsh
  • gmshgmsh
  • Issues
  • #1307

Closed
Open
Created Apr 06, 2021 by Jonathan Lambrechts@jonathanMaintainer

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.

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None