Implementation of an Elasto Plastic Model, please consult the documentation:
https://tdegeus.github.io/GooseEPM
Install the Python module
conda-forge
conda install -c conda-forge gooseepm
From source
# 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