Skip to content

Commit

Permalink
Merge pull request #12 from tumaer/pre-release-010
Browse files Browse the repository at this point in the history
Pre release 010
  • Loading branch information
arturtoshev authored Jun 7, 2024
2 parents c9fe1f1 + bb313a8 commit cf3eb54
Show file tree
Hide file tree
Showing 9 changed files with 490 additions and 485 deletions.
8 changes: 4 additions & 4 deletions .codecov.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
coverage: # TODO: increase required values once proper tests are implemented
range: 2..3 # red color under 50%, yellow at 50%..70%, green over 70%
coverage:
range: 50..60 # red color under 50%, yellow at 50%..60%, green over 60%
precision: 1
status:
project:
default:
target: 2% # coverage success only above X%. Later to be changed to e.g. 60%
target: 60% # coverage success only above X%
threshold: 5% # allow the coverage to drop by X% and being a success
patch:
default:
target: 5% # later to be changed to e.g. 50%
target: 50%
threshold: 5%
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: |
.venv/bin/pytest --cov-report=xml
- name: Upload coverage report to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage.xml
Expand Down
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,26 @@
# JAX-SPH: A Differentiable Smoothed Particle Hydrodynamics Framework

![HT_T.gif](https://s9.gifyu.com/images/SUwUD.gif)
<div align="center">

[![Paper](http://img.shields.io/badge/paper-arxiv.2403.04750-B31B1B.svg)](https://arxiv.org/abs/2403.04750)
[![Docs](https://img.shields.io/readthedocs/jax-sph/latest)](https://jax-sph.readthedocs.io/en/latest/index.html)
[![PyPI - Version](https://img.shields.io/pypi/v/jax-sph)](https://pypi.org/project/jax-sph/)
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/tumaer/jax-sph/blob/main/notebooks/tutorial.ipynb)
[![Discord](https://img.shields.io/badge/Discord-%235865F2?logo=discord&logoColor=white)](https://discord.gg/Ds8jRZ78hU)

[![Tests](https://github.com/tumaer/jax-sph/actions/workflows/tests.yml/badge.svg)](https://github.com/tumaer/jax-sph/actions/workflows/tests.yml)
[![CodeCov](https://codecov.io/gh/tumaer/jax-sph/graph/badge.svg?token=ULMGSY71R1)](https://codecov.io/gh/tumaer/jax-sph)
[![License](https://img.shields.io/pypi/l/jax-sph)](https://github.com/tumaer/jax-sph/blob/main/LICENSE)

</div>

JAX-SPH [(Toshev et al., 2024)](https://arxiv.org/abs/2403.04750) is a modular JAX-based weakly compressible SPH framework, which implements the following SPH routines:
- Standard SPH [(Adami et al., 2012)](https://www.sciencedirect.com/science/article/pii/S002199911200229X)
- Transport velocity SPH [(Adami et al., 2013)](https://www.sciencedirect.com/science/article/pii/S002199911300096X)
- Riemann SPH [(Zhang et al., 2017)](https://www.sciencedirect.com/science/article/abs/pii/S0021999117300438)

![HT_T.gif](https://s9.gifyu.com/images/SUwUD.gif)

## Installation

### Standalone library
Expand Down
Loading

0 comments on commit cf3eb54

Please sign in to comment.