Skip to content

mscroggs/defelement.com

DefElement

This repo contains code to generate the website DefElement: an encylopedia of finite element definitions.

The examples included in DefElement are generated using Symfem.

Building the website

Before building the website, you must install the required Python dependencies:

pip3 install -r requirements.txt

The html files for the website can be built by running:

python build.py

A version of the website where only some elements are plotted can be built by using the --test input arg. For example, the following can be run to build the website with only plots for Lagrange and Raviart-Thomas (lagrange and raviart-thomas are the filenames of the .def files in the elements folder that define these elements):

python build.py --test lagrange,raviart-thomas

Licensing

The code to generate and test the DefElement website (defelement/, templates/, test/, build.py, verify.py, install_implementations.py) is released under an MIT license.

The content of the DefElement website itself (including data/, elements/, files/, pages/, people/) is released under a Creative Commons Attribution 4.0 International (CC BY 4.0) license.

Font Awesome (files/fontawesome) is released under a Font Awesome Free License.

About

an encyclopedia of finite element definitions

Topics

Resources

License

MIT and 2 other licenses found

Licenses found

MIT
LICENSE
CC-BY-4.0
LICENSE-CC
Unknown
LICENSE-FA

Code of conduct

Stars

Watchers

Forks