Spring-block friction model with local disordered potential energy landscape.
conda install -c conda-forge python-frictionpotfem
Note that xsimd and hardware optimisations are not enabled. To enable them you have to compile on your system, as is discussed next.
You need xtensor, xtensor-python and optionally xsimd as prerequisites. Additionally, Python needs to know how to find them. The easiest is to use conda to get the prerequisites:conda install -c conda-forge xtensor-python conda install -c conda-forge xsimd
If you then compile and install with the same environment you should be good to go. Otherwise, a bit of manual labour might be needed to treat the dependencies.
# Download FrictionQPotFEM git checkout https://github.com/tdegeus/FrictionPotFEM.git cd FrictionQPotFEM # Only if you want to use hardware optization: export CMAKE_ARGS="-DUSE_SIMD=1" # Compile and install the Python module # (-vv can be omitted as is controls just the verbosity) python -m pip install . -vv
- [Python] Using scikit-build.
- Avoiding setuptools_scm dependency if SETUPTOOLS_SCM_PRETEND_VERSION is defined
- Python: passing
- Adding time (#33)
- Allowing for extra iterations
- Using simple stop criterion in event driven read (#32)
- Run a series of time-steps until the next plastic event (#31)
- Switching to xtensor-python (no API change).
- Fixing bug in triggering.
- Updating Python API. Minor style updates. (#26)
- Fixing bug in event driven code. (#26)
- Adding advanceElastic.
- Adding debug assertions.
- Renaming "advanceRightElastic" -> "advanceEventRightElastic" (#24)
- Adding function to trigger weakest.
- Adding function to time avalanche.
- Recomputing forces after quench.
- Adding Python test (#21).
- Updating readme.
- Switch to QPot/Chunked and prrng. Drawing the energy landscape is now done manually externally, but it allows much easier reproducibility and customisation.
- Wrapping some QPot::RedrawList function for Python API that has a mysterious bug using the reference (#16)
- Reconstruction using new QPot features (#14)
- Adding redraw customization (#12)
- Updating to new QPot
- Various minor updates
- Using doxygen docs (publishing GH Action)
- Recover configuration to make random simulations deterministic: C++ and Python example
- Updating appropriate forces at the appropriate instances
- Added output "Load" example for future checking
- Adding Python API
- Using setuptools_scm for versioning
- Improving CI