| 1 |
+++ |
| 2 |
title = "Gauss" |
| 3 |
+++ |
| 4 |
|
| 5 |
### Gauss |
| 6 |
|
| 7 |
A soft particle with Gaussian density distribution |
| 8 |
$$n(\mathbf{r})=e^{-r^2/(2R^2)}.$$ |
| 9 |
|
| 10 |
#### Constructor |
| 11 |
|
| 12 |
```python |
| 13 |
GaussSphere(R) |
| 14 |
``` |
| 15 |
|
| 16 |
Parameters: |
| 17 |
- R, mean radius. |
| 18 |
|
| 19 |
#### Usage |
| 20 |
|
| 21 |
As for any other [Form factor](/ref/sample/particle/ff). |
| 22 |
|
| 23 |
#### Implementation |
| 24 |
|
| 25 |
Class {{% ref-class "Sample/SoftParticle" "GaussSphere" %}} inherits |
| 26 |
from the interface class {{% ref-class "Sample/Particle" "Formfactor" %}}. |
| 27 |
|
| 28 |
The form factor is computed as |
| 29 |
$$F(q)=R^3 \exp\left(-|q|^2R^2/(4\pi)\right).$$ |