gmshparser | well documented package that aims to reliably parse
kandi X-RAY | gmshparser Summary
kandi X-RAY | gmshparser Summary
gmshparser is a Python library. gmshparser has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install gmshparser' or download it from GitHub, PyPI.
Package author: Jukka Aho (@ahojukka5). Gmshparser is a small Python package which aims to do only one thing: parse Gmsh mesh file format. Package does not have any external dependencies to other packages and it aims to be a simple stand-alone solution for a common problem: how to import mesh to your favourite research FEM code?.
Package author: Jukka Aho (@ahojukka5). Gmshparser is a small Python package which aims to do only one thing: parse Gmsh mesh file format. Package does not have any external dependencies to other packages and it aims to be a simple stand-alone solution for a common problem: how to import mesh to your favourite research FEM code?.
Support
Quality
Security
License
Reuse
Support
gmshparser has a low active ecosystem.
It has 9 star(s) with 0 fork(s). There are 2 watchers for this library.
It had no major release in the last 12 months.
gmshparser has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of gmshparser is 0.2.0
Quality
gmshparser has no bugs reported.
Security
gmshparser has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
gmshparser is licensed under the MIT License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
gmshparser releases are available to install and integrate.
Deployable package is available in PyPI.
Build file is available. You can build the component from source.
Installation instructions are not available. Examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed gmshparser and discovered the below as its top functions. This is intended to give you an instant insight into gmshparser implemented functionality, and help decide if they suit your requirements.
- Print the number of elements in the mesh
- Returns the connectivity of the mesh
- Return the type of the element
- Returns a list of elements
- Returns a list of element entities
- Get the version string
- Read the content of a file
- Print the number of nodes in the mesh
- Get node entity entities
- Returns the coordinates of the mesh
- Get the list of nodes
Get all kandi verified functions for this library.
gmshparser Key Features
No Key Features are available at this moment for gmshparser.
gmshparser Examples and Code Snippets
Copy
import gmshparser
mesh = gmshparser.parse("data/testmesh.msh")
print(mesh)
Mesh name: data/testmesh.msh
Mesh version: 4.1
Number of nodes: 6
Minimum node tag: 1
Maximum node tag: 6
Number of node entities: 1
Number of elements: 2
Minimum element tag
Copy
class MeshFormatParser(AbstractParser):
@staticmethod
def get_section_name():
return "$MeshFormat"
@staticmethod
def parse(mesh: Mesh, io: TextIO) -> None:
s = io.readline().strip().split(" ")
mesh.set_ver
Copy
jukka@jukka-XPS-13-9380:~$ gmshparser data/testmesh.msh nodes
6
1 0.000000 0.000000 0.000000
2 1.000000 0.000000 0.000000
3 1.000000 1.000000 0.000000
4 0.000000 1.000000 0.000000
5 2.000000 0.000000 0.000000
6 2.000000 1.000000 0.000000
jukka@jukk
Community Discussions
No Community Discussions are available at this moment for gmshparser.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gmshparser
You can install using 'pip install gmshparser' or download it from GitHub, PyPI.
You can use gmshparser like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
You can use gmshparser like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Like in all other open source projects, contributions are always welcome to this project too! If you have some great ideas how to make this package better, feature requests etc., you can open an issue on gmshparser's issue tracker or contact me (ahojukka5@gmail.com) directly.
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page