me
/
guix
Archived
1
0
Fork 0

gnu: python-dolfin-adjoint: Adjust package style.

* gnu/packages/simulation.scm (python-dolfin-adjoint): Move inputs after
arguments.
[description]: Place it on a new line, fix indentation.

Change-Id: I3d971e48b4072258ed0b41af5c202e64af9de8f3
Sharlatan Hellseher 2024-07-01 21:46:20 +01:00
parent 5a33a71e67
commit 9da142540e
No known key found for this signature in database
GPG Key ID: 76D727BFF62CD2B5
1 changed files with 20 additions and 20 deletions

View File

@ -1204,17 +1204,6 @@ command-line utility for mesh optimisation.")
"tests/migration/viscoelasticity/test-results") "tests/migration/viscoelasticity/test-results")
#t)))) #t))))
(build-system python-build-system) (build-system python-build-system)
(inputs
(list fenics openmpi pybind11))
(native-inputs
(list pkg-config
python-coverage
python-decorator
python-flake8
python-pkgconfig
python-pytest))
(propagated-inputs
`(("scipy" ,python-scipy)))
(arguments (arguments
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
@ -1245,17 +1234,28 @@ command-line utility for mesh optimisation.")
;; fails with an ImportError if it sees that the backend module ;; fails with an ImportError if it sees that the backend module
;; has already been loaded. ;; has already been loaded.
(delete 'sanity-check)))) (delete 'sanity-check))))
(inputs
(list fenics openmpi pybind11))
(native-inputs
(list pkg-config
python-coverage
python-decorator
python-flake8
python-pkgconfig
python-pytest))
(propagated-inputs
(list python-scipy))
(home-page "https://www.dolfin-adjoint.org") (home-page "https://www.dolfin-adjoint.org")
(synopsis "Automatic differentiation library") (synopsis "Automatic differentiation library")
(description "@code{python-dolfin-adjoint} is a solver of (description
differential equations associated with a governing system and a "@code{python-dolfin-adjoint} is a solver of differential equations
functional of interest. Working from the forward model the solver associated with a governing system and a functional of interest. Working from
automatically derives the discrete adjoint and tangent linear models. the forward model the solver automatically derives the discrete adjoint and
These additional models are key ingredients in many algorithms such as tangent linear models. These additional models are key ingredients in many
data assimilation, optimal control, sensitivity analysis, design algorithms such as data assimilation, optimal control, sensitivity analysis,
optimisation and error estimation. The dolfin-adjoint project design optimisation and error estimation. The dolfin-adjoint project provides
provides the necessary tools and data structures for cases where the the necessary tools and data structures for cases where the forward model is
forward model is implemented in @code{fenics} or implemented in @code{fenics} or
@url{https://firedrakeproject.org,firedrake}.") @url{https://firedrakeproject.org,firedrake}.")
(license license:lgpl3))) (license license:lgpl3)))