pymetis-mesh

Partitioning Finite Element Meshes with METIS in Python


Keywords
Math
License
MIT
Install
pip install pymetis-mesh==1.0.0

Documentation

Partition finite element meshes with METIS in Python

https://travis-ci.org/chiao45/pymetis_mesh.svg?branch=master https://img.shields.io/pypi/v/pymetis_mesh.svg?branch=master

Introduction

This repository contains a simple Python wrapper of METIS_PartMeshDual and METIS_PartMeshNodal, which can partition finite element unstructured meshes either element-wisely or node-wisely, resp. The wrapper script is written in Cython, and the C code has been already generated. Notice that regenerating the C source code is pretty straightforward.

Installation

$ pip3 install pymetis_mesh

License

MIT License

Copyright (c) 2018 Qiao Chen

METIS and ParMETIS have their own licenses, please check the source directory.