Debian Codegraph @

hugo/content/ref/sample/particle/ff/hard/dodecahedron.md

raw
1 +++
2 title = "Dodecahedron"
3 +++
4
5 ### Dodecahedron
6
7 A regular dodecahedron.
8
9
10 <img src="/img/draw/ff/3d/Dodecahedron.png" width="30%">
11 <img src="/img/draw/ff/2d/Dodecahedron_xy.svg" width="30%">
12 <img src="/img/draw/ff/2d/Dodecahedron_xz.svg" width="30%">
13
14 #### Constructor
15
16 ```python
17 Dodecahedron(a)
18 ```
19
20 Parameters:
21 - a, length of the edge
22
23 #### Usage
24
25 As for any other [Form factor](/ref/sample/particle/ff).
26
27 #### Implementation
28
29 Class [Dodecahedron]({{% url-src %}}/Sample/HardParticle/Polyhedra.h) inherits from the interface class
30 {{% ref-class "Sample/Particle" "Formfactor" %}}.
31
32 Form factor computation is based on the generic form factor of a polyhedron with inversion symmetry provided by {{% link-libformfactor %}}.
33
34 Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp)
35 against
36 $$ V= \dfrac{1}{4}(15+7\sqrt{5})a^3 \approx 7.663 \space a^3. $$
37
38 #### Related shapes
39
40 - [Icosahedron](/ref/sample/particle/ff/hard/icosahedron), a regular icosahedron.
41
42 #### Example
43
44 Scattering by uncorrelated, oriented truncated dodecahedra for horizontal incidence:
45
46 <img src="/img/auto/ff/Dodecahedron.png">
47
48 Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=Dodecahedron`).
49
50 #### History
51
52 Introduced in BornAgain 1.6.