Skip to content

Commit 01bd25b

Browse files
authored
fix(cli): fix jascome (#67)
* fix(cli): fix jascome * fix(cli): fix jascome * fix(cli): fix jascome * fix(cli): fix jascome * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add accuracy * feat: add cli for accuracy * test: disable cli test * test: disable cli test * test: disable cli test * test: disable cli test
1 parent be1c546 commit 01bd25b

24 files changed

+8016
-48
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
sudo apt install -y gmsh
5858
- run: uv sync --no-python-downloads
5959
shell: bash
60-
- run: uv run --all-extras pytest
60+
- run: uv run pytest
6161
shell: bash
6262
- uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
6363
with:

README.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,35 @@ and computes the scattered wave at $(0, 0, 0)$.
124124
(-0.741333-0.669657j)
125125
```
126126

127+
## Accuracy
128+
129+
- The radius of spheres is fixed to `1.0`.
130+
- The incident wave is $u_\text{in} (x) = e^{i k x_0}$.
131+
- For `n_balls == 2`, spheres are centered at `(0, 2, 0, ...)` and `(0, -2, 0, ...)`.
132+
- For `n_balls == 4, ...`, spheres are placed in 2D grid pattern with distance of `4.0` between adjacent spheres.
133+
134+
### vs Wavenumber `k`
135+
136+
#### 2D
137+
138+
![k vs error 2D](https://raw.githubusercontent.com/ultrasphere-dev/biem-helmholtz-sphere/main/accuracy/accuracy_heatmap_k_a.jpg)
139+
140+
#### 3D
141+
142+
![k vs error 3D](https://raw.githubusercontent.com/ultrasphere-dev/biem-helmholtz-sphere/main/accuracy/accuracy_heatmap_k_ba.jpg)
143+
144+
### vs Number of Spheres `n_balls`
145+
146+
#### 2D
147+
148+
![n_balls vs error 2D](https://raw.githubusercontent.com/ultrasphere-dev/biem-helmholtz-sphere/main/accuracy/accuracy_heatmap_n_balls_a.jpg)
149+
150+
## Citation
151+
152+
Consider citing the following paper if you use this package in your research:
153+
154+
- [doi.org/10.60443/jascome.25.0_143](https://doi.org/10.60443/jascome.25.0_143)
155+
127156
## Contributors ✨
128157

129158
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):

0 commit comments

Comments
 (0)