A reader for Gmsh files for processing serial and decomposed grids. This project is a command line interface (CLI) program and is designed to perform the off-line conversion of serial and decomposed grids into separate JSON
mesh files. These files can be readily imported into a numerical analysis program using JSON
readers avoiding dealing with the format of .msh
files.
This project uses CMake as the build system and can be built out-of-tree using:
mkdir build && cd build
cmake ..
make all
Gmsh specifies information tags and the nodal connectivity for each element. When a mesh is partitioned, for example with two partitions, the information tags would have the following data:
10 | 2 | 5 | 1 | 6 | 2 | 2 | -1 | 5 22 4 |
---|---|---|---|---|---|---|---|---|
element # | element type (Triangle3) | tags | physical # | geometrical # | processes | owner | ghost | nodalConnectivity |