# PolyFEM¶

A polyvalent C++ FEM library.

## Compilation¶

Download the code from the repository. All the C++ dependencies required to build the code are included. It should work on Windows, macOS and Linux, and it should build out of the box with CMake:

mkdir build
cd build
cmake ..
make -j4


On Linux zenity is required for the file dialog window to work. On macOS and Windows the native windows are used directly. The formula for higher order bases are computed at CMake time using an external python script. Consequently, PolyFEM requires a working installation of Python and some additional packages in order to build correctly:

• numpy and sympy
• quadpy (optional)

## Usage¶

The main executable, ./PolyFEM_bin, can be called with a GUI or through a command-line interface. Simply run:

./PolyFEM_bin


## Citation¶

If you use PolyFEM in your project, please consider citing our work:

@article{Schneider:2018:DSA,
author = {Teseo Schneider and Yixin Hu and Jérémie Dumas and Xifeng Gao and Daniele Panozzo and Denis Zorin},
journal = {ACM Transactions on Graphics},