Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix scheme interface to DFT freqs #1186

Merged
merged 1 commit into from
Apr 18, 2020
Merged

fix scheme interface to DFT freqs #1186

merged 1 commit into from
Apr 18, 2020

Conversation

stevengj
Copy link
Collaborator

Fixes #1185.

@stevengj
Copy link
Collaborator Author

e.g. the output of the bend-flux.ctl example is now:

flux1:, 0.09999999999999999, 1.8392235204829645e-5, -7.259467687598069e-6
flux1:, 0.10101010101010101, 2.762993255823636e-5, -1.1107162110079589e-5
flux1:, 0.10202020202020201, 4.100122894678214e-5, -1.687561915798038e-5
flux1:, 0.10303030303030303, 6.0189660761225055e-5, -2.5425779493708866e-5
flux1:, 0.10404040404040403, 8.758554071933204e-5, -3.794958119189657e-5
flux1:, 0.10505050505050505, 1.2656696778129092e-4, -5.612512808927951e-5
flux1:, 0.10606060606060605, 1.8179488598714017e-4, -8.232188174308912e-5
flux1:, 0.10707070707070707, 2.5945140949028414e-4, -1.1981531280672825e-4
flux1:, 0.10808080808080807, 3.673616483769483e-4, -1.7300125173897116e-4
flux1:, 0.10909090909090909, 5.150131339048215e-4, -2.4767309403854416e-4
flux1:, 0.11010101010101009, 7.136181099374143e-4, -3.5145561406042336e-4
flux1:, 0.1111111111111111, 9.764917657819447e-4, -4.944142331545971e-4
flux1:, 0.11212121212121212, 0.0013200336378822463, -6.897357105189391e-4
flux1:, 0.11313131313131312, 0.0017653940714397113, -9.543556354451647e-4
flux1:, 0.11414141414141414, 0.002340472779635289, -0.0013095604571818267
flux1:, 0.11515151515151514, 0.0030813962415392132, -0.001781769426354859
flux1:, 0.11616161616161616, 0.0040323864898247795, -0.0024036650652026134
flux1:, 0.11717171717171716, 0.005243320443599315, -0.0032155298454957294
flux1:, 0.11818181818181818, 0.006765401932606791, -0.004266367104375333
flux1:, 0.11919191919191918, 0.008646855439680502, -0.005614491919262779
flux1:, 0.1202020202020202, 0.010931519192164299, -0.0073277653343258335
flux1:, 0.12121212121212122, 0.01366264573057485, -0.009483956648205711
flux1:, 0.12222222222222222, 0.016891656214045495, -0.012171369840123668
flux1:, 0.12323232323232322, 0.020687811926714896, -0.01548908210005271
flux1:, 0.12424242424242424, 0.02514183325010149, -0.0195457909602925
flux1:, 0.12525252525252525, 0.03035690892409533, -0.024456975618256518
flux1:, 0.12626262626262627, 0.03642559821895537, -0.030341193060385657
flux1:, 0.12727272727272726, 0.04339945413986848, -0.03731659448223943
flux1:, 0.12828282828282828, 0.051265553966074316, -0.04549752822894061
flux1:, 0.1292929292929293, 0.059945264552175255, -0.05498969063508954
flux1:, 0.1303030303030303, 0.06932247771247439, -0.06588244473333478
flux1:, 0.13131313131313133, 0.07929324667298408, -0.0782389569111214
flux1:, 0.13232323232323231, 0.0898135523595967, -0.09208689606441034
flux1:, 0.13333333333333333, 0.10091627111391402, -0.10741201812358195
flux1:, 0.13434343434343435, 0.11267847994816825, -0.12415453197962406
flux1:, 0.13535353535353534, 0.12514418138822458, -0.14220605058369962
flux1:, 0.13636363636363635, 0.13823455556291075, -0.16140597707469082
flux1:, 0.13737373737373737, 0.1516926670758324, -0.1815392255393786
flux1:, 0.1383838383838384, 0.16510084997659955, -0.20233863551925868
flux1:, 0.1393939393939394, 0.17797726043644954, -0.22349299761648503
flux1:, 0.14040404040404042, 0.18991750028249943, -0.2446575878089217
flux1:, 0.1414141414141414, 0.20071920332089654, -0.2654627443550678
flux1:, 0.14242424242424243, 0.21042904111384902, -0.28551992095648104
flux1:, 0.14343434343434344, 0.21928516639586354, -0.3044289865966565
flux1:, 0.14444444444444443, 0.22757886720927825, -0.3217912377685434
flux1:, 0.14545454545454545, 0.2355016267616578, -0.33722816979319753
flux1:, 0.14646464646464646, 0.24305426682159295, -0.3504010978918973
flux1:, 0.14747474747474748, 0.2500646677935973, -0.3610267607635616
flux1:, 0.1484848484848485, 0.2563025527542379, -0.3688876521232773
flux1:, 0.14949494949494951, 0.2616240401003091, -0.373839500770319
flux1:, 0.1505050505050505, 0.26605722517365316, -0.37581676009419657
flux1:, 0.15151515151515152, 0.2697685582192939, -0.3748343647089721
flux1:, 0.15252525252525254, 0.2729164845895282, -0.3709826544370365
flux1:, 0.15353535353535352, 0.2754690019508238, -0.36441528583368177
flux1:, 0.15454545454545454, 0.27709584861817566, -0.3553345353260335
flux1:, 0.15555555555555556, 0.2772210181000432, -0.3439791654293897
flux1:, 0.15656565656565657, 0.2752443279236436, -0.3306167505565942
flux1:, 0.1575757575757576, 0.2708474096091096, -0.31553783248458106
flux1:, 0.15858585858585858, 0.2642376021467236, -0.29904857196837054
flux1:, 0.1595959595959596, 0.2561895546411047, -0.281460460049132
flux1:, 0.1606060606060606, 0.2478244036169993, -0.26308048215292423
flux1:, 0.16161616161616163, 0.24018818904091088, -0.24420453662081185
flux1:, 0.16262626262626262, 0.23379760856814755, -0.22511445606483044
flux1:, 0.16363636363636364, 0.2283571112954685, -0.20607562166294086
flux1:, 0.16464646464646465, 0.2227922967731971, -0.18733191431320034
flux1:, 0.16565656565656567, 0.21561211435259806, -0.16909824674441218
flux1:, 0.16666666666666669, 0.20546592523493337, -0.15155422960712314
flux1:, 0.1676767676767677, 0.19167036941680857, -0.1348428636185477
flux1:, 0.1686868686868687, 0.17448991720013907, -0.11907513262282785
flux1:, 0.1696969696969697, 0.15506134588015774, -0.10433709705765236
flux1:, 0.1707070707070707, 0.13500658013480457, -0.09069467447106237
flux1:, 0.1717171717171717, 0.11590771736902783, -0.07819381108266803
flux1:, 0.17272727272727273, 0.09886286645719905, -0.06685765637036471
flux1:, 0.17373737373737375, 0.08428485822121594, -0.0566847672616731
flux1:, 0.17474747474747476, 0.07198106236283246, -0.04765079330004489
flux1:, 0.17575757575757578, 0.0614270481143425, -0.03971276829972728
flux1:, 0.1767676767676768, 0.052080207327515345, -0.03281320394838193
flux1:, 0.17777777777777778, 0.04359524656497647, -0.02688239671431951
flux1:, 0.1787878787878788, 0.03587964520808069, -0.021839908899688242
flux1:, 0.1797979797979798, 0.029014605427897782, -0.017597252896130077
flux1:, 0.1808080808080808, 0.023120498167924223, -0.014062461771780431
flux1:, 0.18181818181818182, 0.01824751915120606, -0.011145178994419244
flux1:, 0.18282828282828284, 0.014335099719160228, -0.008760313371297256
flux1:, 0.18383838383838386, 0.011236837607218334, -0.0068295275838792715
flux1:, 0.18484848484848487, 0.008777323075674805, -0.005281404667729953
flux1:, 0.18585858585858586, 0.006803289792251974, -0.004051543237004925
flux1:, 0.18686868686868688, 0.005207475906263294, -0.0030830385018233084
flux1:, 0.1878787878787879, 0.003924704693149373, -0.002326902750537411
flux1:, 0.18888888888888888, 0.0029133960318605805, -0.0017418528146008598
flux1:, 0.1898989898989899, 0.002137596949351873, -0.001293436616047856
flux1:, 0.19090909090909092, 0.001558097238811434, -9.529693807107331e-4
flux1:, 0.19191919191919193, 0.0011329260742095136, -6.96716575632436e-4
flux1:, 0.19292929292929295, 8.225505720890376e-4, -5.05374991283926e-4
flux1:, 0.19393939393939397, 5.94681250411635e-4, -3.6361170262856374e-4
flux1:, 0.19494949494949496, 4.2602015065322654e-4, -2.594701240936465e-4
flux1:, 0.19595959595959597, 3.0104689812291736e-4, -1.836790254101887e-4
flux1:, 0.19696969696969696, 2.094253249831774e-4, -1.290340668599508e-4
flux1:, 0.19797979797979798, 1.4361635473613405e-4, -8.99592453658717e-5
flux1:, 0.198989898989899, 9.747467270481211e-5, -6.221552950805821e-5
flux1:, 0.2, 6.578297912427726e-5, -4.265945365458309e-5

@oskooi
Copy link
Collaborator

oskooi commented Apr 18, 2020

Seems to be working for mode decomposition as well: results for scheme/examples/mode-decomposition.ctl are identical to python/examples/mode_decomposition.py.

@stevengj stevengj merged commit 8f3f9f4 into master Apr 18, 2020
@stevengj stevengj deleted the scheme-dft-freqs branch April 18, 2020 01:51
bencbartlett pushed a commit to bencbartlett/meep that referenced this pull request Sep 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scheme interface for frequency grid member of DFT objects
2 participants