Skip to content

Commit d953623

Browse files
committed
Merge branch 'master' of github.com:entity-toolkit/wiki
2 parents b4faf35 + e7102bf commit d953623

6 files changed

Lines changed: 4 additions & 2 deletions

File tree

1.1 MB
Loading
-572 Bytes
Loading
318 Bytes
Loading
5.12 KB
Loading
129 KB
Loading

docs/content/3-code/6-higherorder.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@ Each column corresponds to a different field stencil from the table above.
243243
To interpolate the current of a particle to the grid and the fields back to the particle, Entity uses a shape function. Before v1.3.0 this shape function was only of first order.
244244
Since v1.3.0 you can use shape functions with up-to 11th order and deposit charges with the scheme introduced by [Esirkepov (2001)](https://ui.adsabs.harvard.edu/abs/2001CoPhC.135..144E/abstract).
245245

246-
![higherorder_shape](../../assets/images/higherorder/shape_functions_dark.png){width=50% align=right class="invertdark"}
246+
![higherorder_shape](../../assets/images/higherorder/shape_functions_dark.png#only-dark){width=50% align=right}
247+
![higherorder_shape](../../assets/images/higherorder/shape_functions_light.png#only-light){width=50% align=right}
247248

248249
You can switch to higher order shape functions by adding the follwoing compile flags to you `cmake` command: `-D deposit=esirkepov -D shape_order=<N>`, where `<N>` can be any number between `1` and `11`.
249250

@@ -253,7 +254,8 @@ We choose the temperature to be very low, in order to purposefully under-resolve
253254
From the top to bottom we uncrease the resolution of the grid to improve resolving the Debye-length.
254255
You can see that with higher order shape functions the numerical heating stops at considerably lower resolution.
255256

256-
![higherorder_shape](../../assets/images/higherorder/heating_dark.png){width=100% align=center class="invertdark"}
257+
![higherorder_shape](../../assets/images/higherorder/heating_dark.png#only-dark){width=100% align=center}
258+
![higherorder_shape](../../assets/images/higherorder/heating_light.png#only-light){width=100% align=center}
257259

258260
This allows you to reduce the numerical resolution when moving to higher order shape functions.
259261
We strongly advise to perform careful convergence tests before reducing numerical resolution in favor of higher order shape functions.

0 commit comments

Comments
 (0)