diff options
author | Vinicius Monego <monego@posteo.net> | 2023-06-03 10:37:46 -0300 |
---|---|---|
committer | Vinicius Monego <monego@posteo.net> | 2023-07-29 14:25:03 -0300 |
commit | 746416b44a6a4bb70591cd3032a5227e7f92c017 (patch) | |
tree | 138e2f7ee26ebc91f9265fbae7b8887521d42bc3 | |
parent | 7dd076ed33a1e19c05a421f20ab55aa7a94c39eb (diff) | |
download | guix-746416b44a6a4bb70591cd3032a5227e7f92c017.tar.gz guix-746416b44a6a4bb70591cd3032a5227e7f92c017.zip |
gnu: Add python-scikit-fem.
* gnu/packages/python-science.scm (python-scikit-fem): New variable.
-rw-r--r-- | gnu/packages/python-science.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm index 1962553cf0..86ba4209fd 100644 --- a/gnu/packages/python-science.scm +++ b/gnu/packages/python-science.scm @@ -210,6 +210,33 @@ routines such as routines for numerical integration and optimization.") genetic variation data.") (license license:expat))) +(define-public python-scikit-fem + (package + (name "python-scikit-fem") + (version "8.1.0") + (source (origin + (method git-fetch) ; no tests in PyPI + (uri (git-reference + (url "https://github.com/kinnala/scikit-fem") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1zpn0wpsvls5nkrav5a43z77yg9nc09dpyy9ri0dpmpm2ndh2mhs")))) + (build-system pyproject-build-system) + (arguments + ;; Examples below require python-autograd and python-pyamg. + (list #:test-flags #~(list "-k" "not TestEx32 and not TestEx45"))) + (propagated-inputs (list python-meshio python-numpy python-scipy)) + (native-inputs (list python-pytest)) + (home-page "https://scikit-fem.readthedocs.io/en/latest/") + (synopsis "Library for performing finite element assembly") + (description + "@code{scikit-fem} is a library for performing finite element assembly. +Its main purpose is the transformation of bilinear forms into sparse matrices +and linear forms into vectors.") + (license license:bsd-3))) + (define-public python-scikit-fuzzy (package (name "python-scikit-fuzzy") |