Metadata-Version: 1.1
Name: meshio
Version: 1.1.1
Summary: I/O for various mesh formats
Home-page: https://github.com/nschloe/meshio
Author: Nico Schlömer
Author-email: nico.schloemer@gmail.com
License: License :: OSI Approved :: MIT License
Download-URL: https://pypi.python.org/pypi/meshio
Description: MeshIO
        ======
        
        |Build Status| |Code Health| |Coverage Status| |PyPi Version| |PyPi
        Downloads|
        
        .. figure:: https://nschloe.github.io/meshio/pp.png
           :alt: 
        
        There are various mesh formats available for representing unstructured
        meshes, e.g.,
        
        -  `DOLFIN
           XML <http://manpages.ubuntu.com/manpages/wily/man1/dolfin-convert.1.html>`__
        -  `Exodus <https://cubit.sandia.gov/public/13.2/help_manual/WebHelp/finite_element_model/exodus/block_specification.htm>`__
        -  `H5M <https://trac.mcs.anl.gov/projects/ITAPS/wiki/MOAB/h5m>`__
        -  `MSH <http://geuz.org/gmsh/doc/texinfo/gmsh.html#File-formats>`__
        -  `PERMAS <http://www.intes.de>`__
        -  `VTK <http://www.vtk.org/wp-content/uploads/2015/04/file-formats.pdf>`__
        -  `VTU <http://www.vtk.org/Wiki/VTK_XML_Formats>`__
        -  `XDMF <http://www.xdmf.org/>`__
        
        MeshIO can read and write all of these formats and smoothly converts
        between them. Simply call
        
        ::
        
            meshio-convert input.msh output.vtu
        
        with any of the supported formats.
        
        In Python, simply call
        
        .. code:: python
        
            points, cells, point_data, cell_data, field_data = \
                meshio.read(args.infile, timestep=args.timesteps)
        
        to read a mesh. To write, do
        
        .. code:: python
        
            meshio.write(
                args.outfile,
                points,
                cells,
                point_data=point_data,
                cell_data=cell_data,
                field_data=field_data
                )
        
        Installation
        ~~~~~~~~~~~~
        
        Python Package Index
        ^^^^^^^^^^^^^^^^^^^^
        
        MeshIO is `available from the Python Package
        Index <https://pypi.python.org/pypi/meshio/>`__, so simply type
        
        ::
        
            pip install meshio
        
        to install or
        
        ::
        
            pip install meshio -U
        
        to upgrade.
        
        Manual installation
        ^^^^^^^^^^^^^^^^^^^
        
        Download MeshIO from `PyPi <https://pypi.python.org/pypi/meshio/>`__ or
        `GitHub <https://github.com/nschloe/meshio>`__ and install it with
        
        ::
        
            python setup.py install
        
        Requirements
        ~~~~~~~~~~~~
        
        MeshIO depends on
        
        -  `h5py <http://www.h5py.org/>`__,
        -  `NumPy <http://www.numpy.org/>`__, and
        -  `VTK <http://www.vtk.org/Wiki/VTK/Examples/Python>`__.
        
        Usage
        ~~~~~
        
        Just
        
        ::
        
            import meshio
        
        and make use of all the goodies the module provides.
        
        Testing
        ~~~~~~~
        
        To run the MeshIO unit tests, check out this repository and type
        
        ::
        
            nosetests
        
        or
        
        ::
        
            nose2 -s test
        
        Distribution
        ~~~~~~~~~~~~
        
        To create a new release
        
        1. bump the ``__version__`` number,
        
        2. create a Git tag,
        
           ::
        
               git tag v0.3.1
               git push --tags
        
           and
        
        3. upload to PyPi:
        
           ::
        
               make upload
        
        License
        ~~~~~~~
        
        MeshIO is published under the `MIT
        license <https://en.wikipedia.org/wiki/MIT_License>`__.
        
        .. |Build Status| image:: https://travis-ci.org/nschloe/meshio.svg?branch=master
           :target: https://travis-ci.org/nschloe/meshio
        .. |Code Health| image:: https://landscape.io/github/nschloe/meshio/master/landscape.png
           :target: https://landscape.io/github/nschloe/meshio/master
        .. |Coverage Status| image:: https://coveralls.io/repos/nschloe/meshio/badge.svg?branch=master&service=github
           :target: https://coveralls.io/github/nschloe/meshio?branch=master
        .. |PyPi Version| image:: https://img.shields.io/pypi/v/meshio.svg
           :target: https://pypi.python.org/pypi/meshio
        .. |PyPi Downloads| image:: https://img.shields.io/pypi/dm/meshio.svg
           :target: https://pypi.python.org/pypi/meshio
        
Platform: any
Classifier: Development Status :: 4 - Beta
Classifier: License :: OSI Approved :: MIT License
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Topic :: Scientific/Engineering
Requires: h5py
Requires: numpy
Requires: vtk
