| Release | ||
| Deployment | ||
| Build Status | ||
| Metrics | ||
| Activity | ||
| Citation | ||
| License | ||
| Formatter | ||
Gyptis is a package to solve Maxwell's equations with the finite element method. It includes predefined models and setup commonly used in Photonics.
The easiest way is using conda. First, add conda-forge to your channels with:
conda config --add channels conda-forge
conda config --set channel_priority strictOnce the conda-forge channel has been enabled, gyptis can be installed with:
conda install gyptisAlternatively, we provide an environment.yml file with all the dependencies for the master branch. First create the environment:
conda env create -f environment.ymland then activate it with
conda activate gyptisSee the github repository where development happens for conda-forge.
The package is available on pipy. To install, use:
pip install gyptisNote
This does not install FeniCS, which should be built separately (see instructions)
Prebuilt container images are available at DockerHub
A quick way of testing is to get the installation script
curl -s https://gyptis.gitlab.io/get | bashYou will then be able to run the container with
gyptis runAlternatively, you can pull the docker image
docker pull gyptis/gyptis:latestTo run the image, use
docker run -it gyptis/gyptis:latestgit clone https://gitlab.com/gyptis/gyptis.git
cd gyptis && pip install -e .See the documentation website. A good starting point is to look at examples of application for typical problems encountered in photonics.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
MIT, see LICENSE.txt.
