PLaSK library
Loading...
Searching...
No Matches
zeros-data.cpp
Go to the documentation of this file.
1/*
2 * This file is part of PLaSK (https://plask.app) by Photonics Group at TUL
3 * Copyright (c) 2022 Lodz University of Technology
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, version 3.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 */
14#include "zeros-data.hpp"
15
16namespace plask { namespace optical { namespace modal {
17
18const double bessel_zeros[][100] = {
19 { // m = 0
20 2.404825557695773,
21 5.520078110286311,
22 8.653727912911011,
23 11.79153443901428,
24 14.93091770848779,
25 18.07106396791092,
26 21.21163662987926,
27 24.35247153074930,
28 27.49347913204025,
29 30.63460646843198,
30 33.77582021357357,
31 36.91709835366404,
32 40.05842576462824,
33 43.19979171317673,
34 46.34118837166181,
35 49.48260989739782,
36 52.62405184111500,
37 55.76551075501998,
38 58.90698392608094,
39 62.04846919022717,
40 65.18996480020686,
41 68.33146932985680,
42 71.47298160359373,
43 74.61450064370184,
44 77.75602563038806,
45 80.89755587113763,
46 84.03909077693819,
47 87.18062984364115,
48 90.32217263721048,
49 93.46371878194477,
50 96.60526795099627,
51 99.74681985868060,
52 102.8883742541948,
53 106.0299309164516,
54 109.1714896498054,
55 112.3130502804949,
56 115.4546126536669,
57 118.5961766308725,
58 121.7377420879510,
59 124.8793089132329,
60 128.0208770060083,
61 131.1624462752139,
62 134.3040166383055,
63 137.4455880202843,
64 140.5871603528543,
65 143.7287335736897,
66 146.8703076257966,
67 150.0118824569548,
68 153.1534580192279,
69 156.2950342685335,
70 159.4366111642631,
71 162.5781886689467,
72 165.7197667479550,
73 168.8613453692358,
74 172.0029245030782,
75 175.1445041219027,
76 178.2860842000738,
77 181.4276647137311,
78 184.5692456406387,
79 187.7108269600494,
80 190.8524086525815,
81 193.9939907001091,
82 197.1355730856614,
83 200.2771557933324,
84 203.4187388081986,
85 206.5603221162445,
86 209.7019057042941,
87 212.8434895599495,
88 215.9850736715340,
89 219.1266580280406,
90 222.2682426190843,
91 225.4098274348593,
92 228.5514124660988,
93 231.6929977040385,
94 234.8345831403832,
95 237.9761687672757,
96 241.1177545772680,
97 244.2593405632957,
98 247.4009267186528,
99 250.5425130369700,
100 253.6840995121931,
101 256.8256861385644,
102 259.9672729106045,
103 263.1088598230955,
104 266.2504468710659,
105 269.3920340497761,
106 272.5336213547049,
107 275.6752087815375,
108 278.8167963261531,
109 281.9583839846149,
110 285.0999717531596,
111 288.2415596281877,
112 291.3831476062552,
113 294.5247356840650,
114 297.6663238584589,
115 300.8079121264111,
116 303.9495004850206,
117 307.0910889315050,
118 310.2326774631950,
119 313.3742660775278
120 },
121 { // m = 1
122 3.831705970207512,
123 7.015586669815613,
124 10.17346813506272,
125 13.32369193631422,
126 16.47063005087763,
127 19.61585851046824,
128 22.76008438059277,
129 25.90367208761838,
130 29.04682853491686,
131 32.18967991097440,
132 35.33230755008387,
133 38.47476623477162,
134 41.61709421281445,
135 44.75931899765282,
136 47.90146088718545,
137 51.04353518357151,
138 54.18555364106132,
139 57.32752543790101,
140 60.46945784534749,
141 63.61135669848123,
142 66.75322673409849,
143 69.89507183749577,
144 73.03689522557383,
145 76.17869958464146,
146 79.32048717547630,
147 82.46225991437356,
148 85.60401943635023,
149 88.74576714492631,
150 91.88750425169499,
151 95.02923180804470,
152 98.17095073079078,
153 101.3126618230387,
154 104.4543657912828,
155 107.5960632595092,
156 110.7377547808992,
157 113.8794408475950,
158 117.0211218988924,
159 120.1627983281490,
160 123.3044704886357,
161 126.4461386985166,
162 129.5878032451040,
163 132.7294643885096,
164 135.8711223647890,
165 139.0127773886597,
166 142.1544296558590,
167 145.2960793451959,
168 148.4377266203422,
169 151.5793716314014,
170 154.7210145162860,
171 157.8626554019303,
172 161.0042944053620,
173 164.1459316346496,
174 167.2875671897441,
175 170.4292011632266,
176 173.5708336409759,
177 176.7124647027638,
178 179.8540944227884,
179 182.9957228701530,
180 186.1373501092955,
181 189.2789762003760,
182 192.4206011996257,
183 195.5622251596626,
184 198.7038481297771,
185 201.8454701561909,
186 204.9870912822923,
187 208.1287115488501,
188 211.2703309942078,
189 214.4119496544620,
190 217.5535675636242,
191 220.6951847537694,
192 223.8368012551717,
193 226.9784170964295,
194 230.1200323045791,
195 233.2616469052006,
196 236.4032609225143,
197 239.5448743794699,
198 242.6864872978287,
199 245.8280996982398,
200 248.9697116003099,
201 252.1113230226686,
202 255.2529339830281,
203 258.3945444982395,
204 261.5361545843441,
205 264.6777642566215,
206 267.8193735296346,
207 270.9609824172707,
208 274.1025909327807,
209 277.2441990888146,
210 280.3858068974556,
211 283.5274143702514,
212 286.6690215182434,
213 289.8106283519944,
214 292.9522348816139,
215 296.0938411167825,
216 299.2354470667741,
217 302.3770527404775,
218 305.5186581464156,
219 308.6602632927644,
220 311.8018681873705,
221 314.9434728377672
222 },
223 { // m = 2
224 5.135622301840683,
225 8.417244140399855,
226 11.61984117214906,
227 14.79595178235126,
228 17.95981949498783,
229 21.11699705302185,
230 24.27011231357310,
231 27.42057354998456,
232 30.56920449551640,
233 33.71651950922270,
234 36.86285651128381,
235 40.00844673347819,
236 43.15345377837146,
237 46.29799667723692,
238 49.44216411041687,
239 52.58602350681596,
240 55.72962705320114,
241 58.87301577261216,
242 62.01622235921765,
243 65.15927319075780,
244 68.30218978418346,
245 71.44498986635785,
246 74.58768817360240,
247 77.73029705697890,
248 80.87282694624476,
249 84.01528670954617,
250 87.15768393520335,
251 90.30002515459292,
252 93.44231602001113,
253 96.58456144778320,
254 99.72676573429280,
255 102.8689326507279,
256 106.0110655209634,
257 109.1531672859820,
258 112.2952405574717,
259 115.4372876626644,
260 118.5793106820416,
261 121.7213114811962,
262 124.8632917378812,
263 128.0052529650732,
264 131.1471965307178,
265 134.2891236747031,
266 137.4310355235027,
267 140.5729331028549,
268 143.7148173487775,
269 146.8566891171685,
270 149.9985491921996,
271 153.1403982936759,
272 156.2822370835081,
273 159.4240661714182,
274 162.5658861199848,
275 165.7076974491122,
276 168.8495006400029,
277 171.9912961386923,
278 175.1330843592040,
279 178.2748656863716,
280 181.4166404783663,
281 184.5584090689669,
282 187.7001717696018,
283 190.8419288711887,
284 193.9836806457961,
285 197.1254273481458,
286 200.2671692169733,
287 203.4089064762631,
288 206.5506393363703,
289 209.6923679950420,
290 212.8340926383481,
291 215.9758134415304,
292 219.1175305697792,
293 222.2592441789439,
294 225.4009544161840,
295 228.5426614205660,
296 231.6843653236132,
297 234.8260662498091,
298 237.9677643170635,
299 241.1094596371395,
300 244.2511523160499,
301 247.3928424544218,
302 250.5345301478347,
303 253.6762154871325,
304 256.8178985587138,
305 259.9595794448002,
306 263.1012582236860,
307 266.2429349699696,
308 269.3846097547690,
309 272.5262826459230,
310 275.6679537081773,
311 278.8096230033594,
312 281.9512905905409,
313 285.0929565261893,
314 288.2346208643102,
315 291.3762836565799,
316 294.5179449524694,
317 297.6596047993613,
318 300.8012632426584,
319 303.9429203258862,
320 307.0845760907891,
321 310.2262305774202,
322 313.3678838242265,
323 316.5095358681284
324 },
325 { // m = 3
326 6.380161895923984,
327 9.761023129981667,
328 13.01520072169843,
329 16.22346616031877,
330 19.40941522643501,
331 22.58272959310444,
332 25.74816669929498,
333 28.90835078092176,
334 32.06485240709771,
335 35.21867073861011,
336 38.37047243475694,
337 41.52071967040678,
338 44.66974311661725,
339 47.81778569153330,
340 50.96502990620518,
341 54.11161556982187,
342 57.25765160449901,
343 60.40322413847212,
344 63.54840217856721,
345 66.69324166737268,
346 69.83778843790434,
347 72.98208040043201,
348 76.12614918477410,
349 79.27002139005586,
350 82.41371954726788,
351 85.55726286883000,
352 88.70066783822206,
353 91.84394867814709,
354 94.98711772546561,
355 98.13018573387489,
356 101.2731621200798,
357 104.4160551653968,
358 107.5588721819325,
359 110.7016196503949,
360 113.8443033350319,
361 116.9869283800093,
362 120.1294993906337,
363 123.2720205021307,
364 126.4144954381477,
365 129.5569275607296,
366 132.6993199131840,
367 135.8416752569877,
368 138.9839961036805,
369 142.1262847425225,
370 145.2685432645577,
371 148.4107735836172,
372 151.5529774547062,
373 154.6951564901485,
374 157.8373121738001,
375 160.9794458735966,
376 164.1215588526579,
377 167.2636522791409,
378 170.4057272349997,
379 173.5477847237951,
380 176.6898256776687,
381 179.8318509635862,
382 182.9738613889370,
383 186.1158577065655,
384 189.2578406193015,
385 192.3998107840462,
386 195.5417688154639,
387 198.6837152893237,
388 201.8256507455279,
389 204.9675756908628,
390 208.1094906014995,
391 211.2513959252716,
392 214.3932920837524,
393 217.5351794741522,
394 220.6770584710535,
395 223.8189294279994,
396 226.9607926789509,
397 230.1026485396240,
398 233.2444973087189,
399 236.3863392690516,
400 239.5281746885954,
401 242.6700038214426,
402 245.8118269086917,
403 248.9536441792675,
404 252.0954558506799,
405 255.2372621297268,
406 258.3790632131455,
407 261.5208592882173,
408 264.6626505333286,
409 267.8044371184931,
410 270.9462192058375,
411 274.0879969500530,
412 277.2297704988175,
413 280.3715399931881,
414 283.5133055679684,
415 286.6550673520509,
416 289.7968254687379,
417 292.9385800360411,
418 296.0803311669622,
419 299.2220789697565,
420 302.3638235481789,
421 305.5055650017159,
422 308.6473034258026,
423 311.7890389120269,
424 314.9307715483214,
425 318.0725014191441
426 },
427 { // m = 4
428 7.588342434503804,
429 11.06470948850119,
430 14.37253667161759,
431 17.61596604980483,
432 20.82693295696239,
433 24.01901952477111,
434 27.19908776598125,
435 30.37100766711725,
436 33.53713771181922,
437 36.69900112874465,
438 39.85762730218089,
439 43.01373772335443,
440 46.16785351292437,
441 49.32036068639027,
442 52.47155139845802,
443 55.62165090976798,
444 58.77083574045925,
445 61.91924620409770,
446 65.06699525569557,
447 68.21417486146705,
448 71.36086066529799,
449 74.50711546139641,
450 77.65299181534341,
451 80.79853406792371,
452 83.94377988509808,
453 87.08876146981360,
454 90.23350651879237,
455 93.37803898484892,
456 96.52237968938122,
457 99.66654681832882,
458 102.8105563266903,
459 105.9544222706969,
460 109.0981570823107,
461 112.2417717974093,
462 115.3852762465297,
463 118.5286792151526,
464 121.6719885790571,
465 124.8152114191589,
466 127.9583541193705,
467 131.1014224503452,
468 134.2444216414238,
469 137.3873564426807,
470 140.5302311786232,
471 143.6730497948259,
472 146.8158158985625,
473 149.9585327943162,
474 153.1012035149084,
475 156.2438308488629,
476 159.3864173645263,
477 162.5289654313860,
478 165.6714772389565,
479 168.8139548135532,
480 171.9564000332244,
481 175.0988146410723,
482 178.2412002571628,
483 181.3835583891960,
484 184.5258904420842,
485 187.6681977265669,
486 190.8104814669731,
487 193.9527428082286,
488 197.0949828221911,
489 200.2372025133895,
490 203.3794028242294,
491 206.5215846397236,
492 209.6637487917961,
493 212.8058960632053,
494 215.9480271911235,
495 219.0901428704084,
496 222.2322437565969,
497 225.3743304686482,
498 228.5164035914600,
499 231.6584636781807,
500 234.8005112523345,
501 237.9425468097791,
502 241.0845708205096,
503 244.2265837303231,
504 247.3685859623567,
505 250.5105779185092,
506 253.6525599807571,
507 256.7945325123746,
508 259.9364958590641,
509 263.0784503500062,
510 266.2203962988352,
511 269.3623340045463,
512 272.5042637523399,
513 275.6461858144082,
514 278.7881004506686,
515 281.9300079094478,
516 285.0719084281212,
517 288.2138022337098,
518 291.3556895434388,
519 294.4975705652603,
520 297.6394454983431,
521 300.7813145335317,
522 303.9231778537763,
523 307.0650356345373,
524 310.2068880441645,
525 313.3487352442539,
526 316.4905773899829,
527 319.6324146304257
528 }
529};
530
531}}} // namespace plask::optical::modal