Debian Codegraph @

hugo/content/ref/sample/particle/ff/ripples/bar.md

raw
1 +++
2 title = "Bar ripple"
3 weight = 20
4 +++
5
6 ## Bar ripple
7
8 A ripple with a symmetric rectangular profile that is uniform in $x$-direction.
9
10 <img src="/img/draw/ff/3d/Box.png" width="30%" >
11 <img src="/img/draw/ff/2d/Box_xy.svg" width="30%">
12 <img src="/img/draw/ff/2d/Box_xz.svg" width="30%">
13
14 #### Constructors
15
16 ```python
17 Box(L, W, H)
18 BarGauss(L, W, H)
19 BarLorentz(L, W, H)
20 ```
21
22 Parameters:
23 - L, length
24 - W, width
25 - H, height
26
27 Bar with rectangular longitudinal profile is equvalent to [Box](/ref/sample/particle/ff/hard/box) particle.
28
29 #### Usage
30
31 As for any other [Form factor](/ref/sample/particle/ff).
32
33 #### Implementation
34
35 Class {{% ref-class "Sample/HardParticle" "Bar" %}} inherits from the interface class
36 {{% ref-class "Sample/Particle" "Formfactor" %}}.
37
38
39 Form factor is computed as
40
41 $$ F(\mathbf{q}) = f_\parallel(q_x) f_\bot(q_y,q_z), $$
42
43 where
44 $$ f_\bot(q_y,q_z) = WH \space \exp\Big(iq_{z}\dfrac{H}{2}\Big) \space \text{sinc}\Big(q_{y}\dfrac{W}{2}\Big) \space \text{sinc}\Big(q_{z}\dfrac{H}{2}\Big).$$
45
46 Corresponding factor $ f_\parallel(q_x) $ is chosen according to [longitudinal profile](/ref/sample/particle/ff/ripples/).
47
48 Volume [has been validated]({{% url-src %}}/Tests/Unit/Sample/FormfactorBasicTest.cpp)
49 against
50 $$V=LWH.$$
51
52 #### Scattering
53
54 Scattering by uncorrelated, oriented "BarLorentz" ripples for horizontal incidence. Rotation around $z$ axis:
55
56 <img src="/img/auto/ff/BarLorentz.png">
57
58 Generated by {{% ref-ex "sas/sas-ff.py" %}} (`particle_geometry=BarLorentz`).