Skip to content

Commit cd0b60a

Browse files
committed
Fix up LaTeX <div class="latex"> envs in Source_custom.comp
1 parent fe651ff commit cd0b60a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

mcstas-comps/contrib/Source_custom.comp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,25 @@
4040
* <b>Model description:</b>
4141
*
4242
* The normalised Maxwellian distribution for moderated neutrons is defined by [1]
43+
* <div class="latex">
4344
* $M(\lambda)=\frac{2a^2}{T^2\lambda^5}\exp\left(-\frac{a}{T\lambda^{2}}\right)$
45+
* </div>
4446
* where
47+
* <div class="latex">
4548
* $a=\left(\frac{h^2}{2m_{N}k_{B}}\right)$
49+
* </div>
4650
* and the joining function for the under-moderated neutrons is given by [1]
51+
* <div class="latex">
4752
* $M(\lambda)_{um}=\frac{1}{\lambda(1+\exp(\lambda\chi-\kappa))}$
53+
* </div>
4854
*
4955
* The normalised time structure of the long pulse is defined by [2]
56+
* <div class="latex">
5057
* $N_{t<=t_p}=1-\exp\left(-\frac{t}{\tau/n}\right)$
58+
* </div>
59+
* <div class="latex">
5160
* $N_{t>t_p}=\exp\left(-\frac{t-t_p}{\tau}\right)-\exp\left(-\frac{t}{\tau/n}\right)$
61+
* </div>
5262
* where tp is the pulse period, tau is the pulse decay time constant, and n is the ratio of decay to ascend time constants.
5363
*
5464
* <b>Parameters for some sources:</b>

0 commit comments

Comments
 (0)