Welcome to modepy's documentation! ================================== .. module:: modepy :mod:`modepy` helps you create well-behaved high-order discretizations on simplices (i.e. triangles and tetrahedra) and tensor products of simplices (i.e. squares, cubes, prisms, etc.). These are a key building block for high-order unstructured discretizations, as often used in a finite element context. It closely follows the approach taken in the book Hesthaven, Jan S., and Tim Warburton. "Nodal Discontinuous Galerkin Methods: Algorithms, Analysis, and Applications". 1st ed. Springer, 2007. `Book web page `_ The basic objects that :mod:`modepy` manipulates are functions on a simplex. For example, it supplies an orthonormal basis on triangles (shown here) and tetrahedra. .. image:: images/pkdo-2d.png :width: 100% :align: center :alt: Proriol-Koornwinder-Dubiner orthogonal (PKDO) basis functions of order 3 The file that created this plot is included in the :mod:`modepy` distribution as :download:`examples/plot-basis.py <../examples/plot-basis.py>`. Here's an idea of code that uses :mod:`modepy`: .. literalinclude:: ../examples/derivative.py This file is included in the :mod:`modepy` distribution as :download:`examples/derivative.py <../examples/derivative.py>`. modepy around the web --------------------- * `Wiki home page `_ * `Source code `_ * `Bug tracker `_ * `Package index `_ Contents ======== .. toctree:: :maxdepth: 2 shapes modes nodes quadrature tools misc 🚀 Github 💾 Download Releases * :ref:`genindex` * :ref:`modindex` .. vim: sw=4