Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tdegeus/gooseepm

Implementation of an Elasto Plastic Model
https://github.com/tdegeus/gooseepm

Last synced: 11 days ago
JSON representation

Implementation of an Elasto Plastic Model

Awesome Lists containing this project

README

        

# GooseEPM

[![CI](https://github.com/tdegeus/GooseEPM/actions/workflows/ci.yml/badge.svg)](https://github.com/tdegeus/GooseEPM/actions/workflows/ci.yml)
[![Doxygen -> gh-pages](https://github.com/tdegeus/GooseEPM/workflows/gh-pages/badge.svg)](https://tdegeus.github.io/GooseEPM)
[![Conda Version](https://img.shields.io/conda/vn/conda-forge/gooseepm.svg)](https://anaconda.org/conda-forge/gooseepm)

Implementation of an Elasto Plastic Model, please consult the documentation:

https://tdegeus.github.io/GooseEPM

# Install the Python module

## conda-forge

```bash
conda install -c conda-forge gooseepm
```

## From source

```bash
# Download GooseEPM
git checkout https://github.com/tdegeus/GooseEPM.git
cd GooseEPM

# Get prerequisites. An example is given using conda, but there are many other ways
conda activate myenv
conda env update --file environment.yaml
# (if you use hardware optimisation, below, you also want)
conda install -c conda-forge xsimd

# Compile and install the Python module
# (-v can be omitted as is controls just the verbosity)
python -m pip install . -v --no-build-isolation

# Or, compile with hardware optimisation (fastest), see scikit-build docs
SKBUILD_CONFIGURE_OPTIONS="-DUSE_SIMD=1" python -m pip install . -v --no-build-isolation

# Note that you can also compile with debug assertions (very slow)
SKBUILD_CONFIGURE_OPTIONS="-USE_DEBUG=1" python -m pip install . -v --no-build-isolation

# Or, without any assertions (slightly faster, but more dangerous)
SKBUILD_CONFIGURE_OPTIONS="-USE_ASSERT=0" python -m pip install . -v --no-build-isolation
```