jorgepz / MshReader.jl

a minimal msh mesh format file reader

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MshReader.jl

A minimal msh mesh format file reader.

Stable Dev Build Status Coverage

Scope

The goal and scope of this package is to provide a function to read .msh files generated with (http://gmsh.info).

Usage example

The main function and command consists in the following call:

nodesCoordMat, connectivity, physicalNames, elemPhysNums = MshFileReader( "path to msh file.msh")

Developer's guide

Clone the repo

$ git clone git@github.com:jorgepz/MshReader.jl.git

Enter to the folder and open julia with

$ cd MshReader.jl
$ julia --project=.

Run the cube example

julia> include(joinpath("examples","readCubeMesh.jl"))

This example script generates a .vtu file (using https://jipolanco.github.io/WriteVTK.jl/ ) which can be viewed using paraview

cube

About

a minimal msh mesh format file reader

License:MIT License


Languages

Language:Julia 100.0%