Skip to main content

ARNICA or All Recurrent No-brainers In Cerfacs Applications

We keep there all the simple little things we regularly need, to ease the pain.

For example a cartesian-to-cylindrical conversion around x-axis, with a specific convention

def rtheta2yz(rrr, theta):
    """ return yz fror rtheta ,
    theta in  radians measure of ange in the yz plane,
    - range -pi/pi
    - 0 on the y+ axis (z=0, y>0)
    spanning -pi to pi

                        0pi=0deg
                      Y
                      ^
                      |
                      |
    -0.5pi=-90deg     o------>Z   0.5pi=90deg

    """
    yyy = rrr * np.cos(theta)
    zzz = rrr * np.sin(theta)
    return yyy, zzz

Ok trivial, but I did mention it was a no-brainer no? Having these bits in a single repository adds the following values:

  • Unitary testing.
  • linting.
  • Automatic documentation.
  • Can be used by others in Cerfacs.

In Arnica, useful features related to Computational Fluid Dynamics (CFD) are implemented, namely:

  1. CFD related tools aiming to be used together with the Reactive software suite AVBP.
  2. CFD related bare functionnalities such as ParaView-readable XDMF writers from Numpy arrays, axi-symetric shell generators, 2D finite differences solvers, etc.

Contributors are, for the moment, the CERFACS/COOP Team that can be reached at coop@cerfacs.fr.

Documentation is available on internal Forge arnica at Nitrox or on arnica at ReadTheDocs.

Source code is hoster on internal Forge arnica at Nitrox, where all the devops occur. It is then mirrored at arnica at gitlab.com/cerfacs

If you are willing to contribute, please read carefully the guide in the CONTRIBUTING.md file.

Installation

Arnica can be installed directly in your Python 3 environnement by running the command:

pip install arnica

This command will install Arnica and all its dependencies (if needed). Once this step is over you can use arnica as a Python module in a script:

import arnica

License

CeCILL-B FREE SOFTWARE LICENSE AGREEMENT

Metadata

Release files for arnica 2.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for arnica 2.2.2
File Size Uploaded Provenance Actions
arnica-2.2.2.tar.gz 204.4 kB Without provenance Details for arnica-2.2.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for arnica 2.2.2
File Interpreter ABI Platform Actions
arnica-2.2.2-py3-none-any.whl Python 3 none any Details for arnica-2.2.2-py3-none-any.whl

Total release size: 446.3 kB

Release files / arnica-2.2.2.tar.gz

Download URL arnica-2.2.2.tar.gz
Size 204.4 kB
Tags Source
SHA-256 checksum
How to use checksums
db927ca7ea1833f039b79e93dfab1074637eb7b114410eb44d1c7f15d7d2e591
BLAKE2b-256 checksum
How to use checksums
c4c701477e0b6147d8dddaebde1462ebbf44c06452e5b3c09c3f27736a96830b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Release files / arnica-2.2.2-py3-none-any.whl

Download URL arnica-2.2.2-py3-none-any.whl
Size 241.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f05f7267b3b3270381363ffcb25b7ca22de9e47cf96dce21aa8090da1387557
BLAKE2b-256 checksum
How to use checksums
6531f8664787587404a7e8966a55bbdfbe8853276d25bb3a166e6f977e5a4bb6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.2

Security for arnica 2.2.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.2.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page