Stuff
20
README.md
@ -1,9 +1,13 @@
|
||||
# Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
|
||||
[Repo](https://github.uio.no/FYS3150-G2-2023/Project-5)
|
||||
[Gitea repo](https://gitea.balaton.dev/FYS3150/Project-5)
|
||||
|
||||
[GitHub repo](https://github.uio.no/FYS3150-G2-2023/Project-5)
|
||||
|
||||
[Documentation](https://pages.github.uio.no/FYS3150-G2-2023/Project-5/)
|
||||
|
||||

|
||||
|
||||
## Requirements
|
||||
|
||||
### Operating systems
|
||||
@ -60,12 +64,16 @@ To run any of the programs, just use the following command:
|
||||
./<bin|debug>/<program-name> <args>
|
||||
```
|
||||
|
||||
If you need help with any of the programs, you can use the **-h** or **--help**
|
||||
flag to show you how to use the programs. Here is an example:
|
||||
For the **wave_simulation** program, you can use a file where each line contains
|
||||
a configuration for the WaveSimulation class and what to output to a file.
|
||||
This different values should be separated by semicolons.
|
||||
Here is the order of what variables should be in one line:
|
||||
|
||||
```shell
|
||||
./bin/main --help
|
||||
```
|
||||
h; dt; T; x_c; y_c; sigma_x; sigma_y; p_x; p_y; <thickness; pos_x; ap_sep; ap; slits>; <write_each step || the steps to write to file>
|
||||
|
||||
where <> is optional.
|
||||
|
||||
An example of a file can be found under the args directory.
|
||||
|
||||
### Python scripts
|
||||
|
||||
|
||||
3
args/args.txt
Normal file
@ -0,0 +1,3 @@
|
||||
deviation; test/probability_deviation_no_slits.txt; .005; 2.5e-5; .008; .25; .5; .05; .05; 200.; 0.; true
|
||||
deviation; test/probability_deviation_slits.txt; .005; 2.5e-5; .008; .25; .5; .05; .10; 200.; 0.; .02; .5; .05; .05; 2; true
|
||||
simulate; test/color_map.txt; .005; 2.5e-5; .002; .25; .5; .05; .20; 200.; 0.; 0.02; .5; .05; .05; 2; 0.; .001; .002
|
||||
@ -0,0 +1,321 @@
|
||||
0 1.19904e-14
|
||||
2.5e-05 1.31006e-14
|
||||
5e-05 1.22125e-14
|
||||
7.5e-05 1.19904e-14
|
||||
0.0001 1.28786e-14
|
||||
0.000125 1.06581e-14
|
||||
0.00015 1.19904e-14
|
||||
0.000175 1.24345e-14
|
||||
0.0002 1.24345e-14
|
||||
0.000225 9.76996e-15
|
||||
0.00025 1.02141e-14
|
||||
0.000275 1.11022e-14
|
||||
0.0003 8.43769e-15
|
||||
0.000325 1.11022e-14
|
||||
0.00035 9.32587e-15
|
||||
0.000375 8.88178e-15
|
||||
0.0004 1.33227e-14
|
||||
0.000425 9.76996e-15
|
||||
0.00045 1.33227e-14
|
||||
0.000475 1.24345e-14
|
||||
0.0005 8.88178e-15
|
||||
0.000525 9.76996e-15
|
||||
0.00055 1.33227e-14
|
||||
0.000575 1.19904e-14
|
||||
0.0006 1.11022e-14
|
||||
0.000625 9.10383e-15
|
||||
0.00065 9.99201e-15
|
||||
0.000675 1.15463e-14
|
||||
0.0007 1.04361e-14
|
||||
0.000725 9.32587e-15
|
||||
0.00075 9.10383e-15
|
||||
0.000775 1.15463e-14
|
||||
0.0008 8.43769e-15
|
||||
0.000825 7.77156e-15
|
||||
0.00085 9.32587e-15
|
||||
0.000875 7.54952e-15
|
||||
0.0009 1.24345e-14
|
||||
0.000925 1.31006e-14
|
||||
0.00095 7.77156e-15
|
||||
0.000975 7.10543e-15
|
||||
0.001 7.99361e-15
|
||||
0.001025 7.99361e-15
|
||||
0.00105 1.11022e-14
|
||||
0.001075 8.88178e-15
|
||||
0.0011 1.04361e-14
|
||||
0.001125 7.10543e-15
|
||||
0.00115 1.24345e-14
|
||||
0.001175 9.54792e-15
|
||||
0.0012 9.76996e-15
|
||||
0.001225 9.32587e-15
|
||||
0.00125 1.22125e-14
|
||||
0.001275 8.88178e-15
|
||||
0.0013 9.76996e-15
|
||||
0.001325 7.77156e-15
|
||||
0.00135 8.43769e-15
|
||||
0.001375 9.76996e-15
|
||||
0.0014 9.54792e-15
|
||||
0.001425 7.10543e-15
|
||||
0.00145 7.99361e-15
|
||||
0.001475 5.77316e-15
|
||||
0.0015 9.99201e-15
|
||||
0.001525 1.35447e-14
|
||||
0.00155 1.11022e-14
|
||||
0.001575 1.11022e-14
|
||||
0.0016 1.24345e-14
|
||||
0.001625 1.15463e-14
|
||||
0.00165 1.06581e-14
|
||||
0.001675 1.26565e-14
|
||||
0.0017 1.37668e-14
|
||||
0.001725 1.33227e-14
|
||||
0.00175 1.13243e-14
|
||||
0.001775 1.15463e-14
|
||||
0.0018 1.02141e-14
|
||||
0.001825 1.28786e-14
|
||||
0.00185 1.33227e-14
|
||||
0.001875 1.06581e-14
|
||||
0.0019 1.28786e-14
|
||||
0.001925 1.11022e-14
|
||||
0.00195 1.24345e-14
|
||||
0.001975 1.17684e-14
|
||||
0.002 1.15463e-14
|
||||
0.002025 1.39888e-14
|
||||
0.00205 1.4877e-14
|
||||
0.002075 1.24345e-14
|
||||
0.0021 1.28786e-14
|
||||
0.002125 1.5099e-14
|
||||
0.00215 1.35447e-14
|
||||
0.002175 1.64313e-14
|
||||
0.0022 1.15463e-14
|
||||
0.002225 1.37668e-14
|
||||
0.00225 1.33227e-14
|
||||
0.002275 1.70974e-14
|
||||
0.0023 1.73195e-14
|
||||
0.002325 1.86517e-14
|
||||
0.00235 1.55431e-14
|
||||
0.002375 1.53211e-14
|
||||
0.0024 1.59872e-14
|
||||
0.002425 1.59872e-14
|
||||
0.00245 1.59872e-14
|
||||
0.002475 1.57652e-14
|
||||
0.0025 1.53211e-14
|
||||
0.002525 1.59872e-14
|
||||
0.00255 1.5099e-14
|
||||
0.002575 1.5099e-14
|
||||
0.0026 1.73195e-14
|
||||
0.002625 1.44329e-14
|
||||
0.00265 1.4877e-14
|
||||
0.002675 1.53211e-14
|
||||
0.0027 1.64313e-14
|
||||
0.002725 1.42109e-14
|
||||
0.00275 1.5099e-14
|
||||
0.002775 1.59872e-14
|
||||
0.0028 1.5099e-14
|
||||
0.002825 1.55431e-14
|
||||
0.00285 1.28786e-14
|
||||
0.002875 1.44329e-14
|
||||
0.0029 1.53211e-14
|
||||
0.002925 1.4877e-14
|
||||
0.00295 1.44329e-14
|
||||
0.002975 1.42109e-14
|
||||
0.003 1.5099e-14
|
||||
0.003025 1.26565e-14
|
||||
0.00305 1.42109e-14
|
||||
0.003075 1.59872e-14
|
||||
0.0031 1.33227e-14
|
||||
0.003125 1.59872e-14
|
||||
0.00315 1.53211e-14
|
||||
0.003175 1.39888e-14
|
||||
0.0032 1.46549e-14
|
||||
0.003225 1.68754e-14
|
||||
0.00325 1.77636e-14
|
||||
0.003275 1.68754e-14
|
||||
0.0033 1.46549e-14
|
||||
0.003325 1.62093e-14
|
||||
0.00335 1.28786e-14
|
||||
0.003375 1.42109e-14
|
||||
0.0034 1.73195e-14
|
||||
0.003425 1.28786e-14
|
||||
0.00345 1.55431e-14
|
||||
0.003475 1.31006e-14
|
||||
0.0035 1.5099e-14
|
||||
0.003525 1.46549e-14
|
||||
0.00355 1.68754e-14
|
||||
0.003575 1.55431e-14
|
||||
0.0036 1.26565e-14
|
||||
0.003625 1.5099e-14
|
||||
0.00365 1.66533e-14
|
||||
0.003675 1.46549e-14
|
||||
0.0037 1.86517e-14
|
||||
0.003725 1.62093e-14
|
||||
0.00375 1.37668e-14
|
||||
0.003775 1.68754e-14
|
||||
0.0038 1.15463e-14
|
||||
0.003825 1.39888e-14
|
||||
0.00385 1.5099e-14
|
||||
0.003875 1.79856e-14
|
||||
0.0039 1.5099e-14
|
||||
0.003925 1.55431e-14
|
||||
0.00395 2.17604e-14
|
||||
0.003975 1.15463e-14
|
||||
0.004 9.76996e-15
|
||||
0.004025 1.59872e-14
|
||||
0.00405 1.46549e-14
|
||||
0.004075 1.08802e-14
|
||||
0.0041 1.28786e-14
|
||||
0.004125 1.4877e-14
|
||||
0.00415 1.33227e-14
|
||||
0.004175 1.22125e-14
|
||||
0.0042 2.04281e-14
|
||||
0.004225 1.4877e-14
|
||||
0.00425 1.86517e-14
|
||||
0.004275 1.46549e-14
|
||||
0.0043 1.28786e-14
|
||||
0.004325 1.73195e-14
|
||||
0.00435 7.10543e-15
|
||||
0.004375 1.33227e-14
|
||||
0.0044 1.28786e-14
|
||||
0.004425 1.46549e-14
|
||||
0.00445 8.88178e-15
|
||||
0.004475 1.02141e-14
|
||||
0.0045 4.88498e-15
|
||||
0.004525 1.08802e-14
|
||||
0.00455 1.11022e-14
|
||||
0.004575 3.9968e-15
|
||||
0.0046 5.55112e-15
|
||||
0.004625 9.32587e-15
|
||||
0.00465 7.10543e-15
|
||||
0.004675 4.88498e-15
|
||||
0.0047 4.66294e-15
|
||||
0.004725 3.10862e-15
|
||||
0.00475 6.21725e-15
|
||||
0.004775 5.32907e-15
|
||||
0.0048 4.44089e-15
|
||||
0.004825 2.22045e-16
|
||||
0.00485 1.33227e-15
|
||||
0.004875 8.88178e-16
|
||||
0.0049 3.55271e-15
|
||||
0.004925 0
|
||||
0.00495 9.99201e-16
|
||||
0.004975 3.21965e-15
|
||||
0.005 8.88178e-16
|
||||
0.005025 2.44249e-15
|
||||
0.00505 1.11022e-15
|
||||
0.005075 4.66294e-15
|
||||
0.0051 2.66454e-15
|
||||
0.005125 4.77396e-15
|
||||
0.00515 3.33067e-15
|
||||
0.005175 6.88338e-15
|
||||
0.0052 6.66134e-15
|
||||
0.005225 9.76996e-15
|
||||
0.00525 1.08802e-14
|
||||
0.005275 7.99361e-15
|
||||
0.0053 6.43929e-15
|
||||
0.005325 2.22045e-15
|
||||
0.00535 3.33067e-15
|
||||
0.005375 1.02141e-14
|
||||
0.0054 8.43769e-15
|
||||
0.005425 6.88338e-15
|
||||
0.00545 1.25455e-14
|
||||
0.005475 1.06581e-14
|
||||
0.0055 2.44249e-15
|
||||
0.005525 1.59872e-14
|
||||
0.00555 9.21485e-15
|
||||
0.005575 1.07692e-14
|
||||
0.0056 1.55431e-14
|
||||
0.005625 1.07692e-14
|
||||
0.00565 7.10543e-15
|
||||
0.005675 1.57652e-14
|
||||
0.0057 2.08722e-14
|
||||
0.005725 9.10383e-15
|
||||
0.00575 4.88498e-15
|
||||
0.005775 2.02061e-14
|
||||
0.0058 1.4877e-14
|
||||
0.005825 1.25455e-14
|
||||
0.00585 1.31006e-14
|
||||
0.005875 1.46549e-14
|
||||
0.0059 1.84297e-14
|
||||
0.005925 1.73195e-14
|
||||
0.00595 1.75415e-14
|
||||
0.005975 1.62093e-14
|
||||
0.006 1.37668e-14
|
||||
0.006025 1.62093e-14
|
||||
0.00605 1.66533e-14
|
||||
0.006075 1.90958e-14
|
||||
0.0061 1.83187e-14
|
||||
0.006125 1.40998e-14
|
||||
0.00615 1.75415e-14
|
||||
0.006175 1.02141e-14
|
||||
0.0062 1.70974e-14
|
||||
0.006225 1.58762e-14
|
||||
0.00625 3.01981e-14
|
||||
0.006275 3.33067e-14
|
||||
0.0063 2.26485e-14
|
||||
0.006325 2.28706e-14
|
||||
0.00635 2.77556e-14
|
||||
0.006375 3.64153e-14
|
||||
0.0064 3.01981e-14
|
||||
0.006425 2.68674e-14
|
||||
0.00645 2.54241e-14
|
||||
0.006475 2.27596e-14
|
||||
0.0065 3.09752e-14
|
||||
0.006525 2.5091e-14
|
||||
0.00655 3.01981e-14
|
||||
0.006575 4.10783e-14
|
||||
0.0066 2.74225e-14
|
||||
0.006625 3.10862e-14
|
||||
0.00665 3.19744e-14
|
||||
0.006675 2.42029e-14
|
||||
0.0067 2.67564e-14
|
||||
0.006725 4.01901e-14
|
||||
0.00675 3.03091e-14
|
||||
0.006775 3.21965e-14
|
||||
0.0068 3.78586e-14
|
||||
0.006825 4.06342e-14
|
||||
0.00685 4.4742e-14
|
||||
0.006875 2.95319e-14
|
||||
0.0069 3.37508e-14
|
||||
0.006925 3.06422e-14
|
||||
0.00695 3.10862e-14
|
||||
0.006975 2.43139e-14
|
||||
0.007 2.02061e-14
|
||||
0.007025 2.16493e-14
|
||||
0.00705 1.35447e-14
|
||||
0.007075 1.79856e-14
|
||||
0.0071 1.96509e-14
|
||||
0.007125 2.26485e-14
|
||||
0.00715 1.57652e-14
|
||||
0.007175 2.44249e-14
|
||||
0.0072 1.70974e-14
|
||||
0.007225 1.70974e-14
|
||||
0.00725 2.12053e-14
|
||||
0.007275 1.73195e-14
|
||||
0.0073 1.55431e-14
|
||||
0.007325 1.11022e-14
|
||||
0.00735 1.75415e-14
|
||||
0.007375 4.996e-15
|
||||
0.0074 1.56541e-14
|
||||
0.007425 2.19824e-14
|
||||
0.00745 1.13243e-14
|
||||
0.007475 1.02141e-14
|
||||
0.0075 1.32117e-14
|
||||
0.007525 8.21565e-15
|
||||
0.00755 5.10703e-15
|
||||
0.007575 1.28786e-14
|
||||
0.0076 1.05471e-14
|
||||
0.007625 0
|
||||
0.00765 9.32587e-15
|
||||
0.007675 1.02141e-14
|
||||
0.0077 6.66134e-16
|
||||
0.007725 4.44089e-15
|
||||
0.00775 7.43849e-15
|
||||
0.007775 2.22045e-16
|
||||
0.0078 0
|
||||
0.007825 2.10942e-15
|
||||
0.00785 1.9984e-15
|
||||
0.007875 2.22045e-16
|
||||
0.0079 4.44089e-16
|
||||
0.007925 4.44089e-16
|
||||
0.00795 0
|
||||
0.007975 6.66134e-16
|
||||
0.008 3.10862e-15
|
||||
@ -1,321 +1,321 @@
|
||||
0 -4.88498e-15
|
||||
2.5e-05 -8.88178e-15
|
||||
5e-05 -7.54952e-15
|
||||
7.5e-05 -9.10383e-15
|
||||
0.0001 -5.9952e-15
|
||||
0.000125 -9.76996e-15
|
||||
0.00015 -7.10543e-15
|
||||
0.000175 -6.66134e-15
|
||||
0.0002 -8.65974e-15
|
||||
0.000225 -5.32907e-15
|
||||
0.00025 -6.88338e-15
|
||||
0.000275 -6.21725e-15
|
||||
0.0003 -7.10543e-15
|
||||
0.000325 -5.77316e-15
|
||||
0.00035 -6.21725e-15
|
||||
0.000375 -6.88338e-15
|
||||
0.0004 -7.99361e-15
|
||||
0.000425 -8.88178e-15
|
||||
0.00045 -6.21725e-15
|
||||
0.000475 -8.21565e-15
|
||||
0.0005 -1.19904e-14
|
||||
0.000525 -7.54952e-15
|
||||
0.00055 -6.88338e-15
|
||||
0.000575 -4.88498e-15
|
||||
0.0006 -1.02141e-14
|
||||
0.000625 -6.21725e-15
|
||||
0.00065 -6.21725e-15
|
||||
0.000675 -7.32747e-15
|
||||
0.0007 -4.66294e-15
|
||||
0.000725 -5.10703e-15
|
||||
0.00075 -8.21565e-15
|
||||
0.000775 -5.32907e-15
|
||||
0.0008 -8.21565e-15
|
||||
0.000825 -7.10543e-15
|
||||
0.00085 -7.54952e-15
|
||||
0.000875 -6.21725e-15
|
||||
0.0009 -3.55271e-15
|
||||
0.000925 -9.99201e-15
|
||||
0.00095 -8.21565e-15
|
||||
0.000975 -5.9952e-15
|
||||
0.001 -5.10703e-15
|
||||
0.001025 -6.88338e-15
|
||||
0.00105 -6.21725e-15
|
||||
0.001075 -3.55271e-15
|
||||
0.0011 -7.32747e-15
|
||||
0.001125 -8.21565e-15
|
||||
0.00115 -4.88498e-15
|
||||
0.001175 -2.44249e-15
|
||||
0.0012 2.22045e-16
|
||||
0.001225 -6.66134e-15
|
||||
0.00125 -3.10862e-15
|
||||
0.001275 -5.32907e-15
|
||||
0.0013 -5.9952e-15
|
||||
0.001325 -5.77316e-15
|
||||
0.00135 1.66533e-15
|
||||
0.001375 -1.55431e-15
|
||||
0.0014 1.11022e-15
|
||||
0.001425 -8.43769e-15
|
||||
0.00145 -8.88178e-16
|
||||
0.001475 -5.77316e-15
|
||||
0.0015 -1.55431e-15
|
||||
0.001525 -2.66454e-15
|
||||
0.00155 -7.77156e-15
|
||||
0.001575 -7.99361e-15
|
||||
0.0016 -5.77316e-15
|
||||
0.001625 -5.10703e-15
|
||||
0.00165 -1.17684e-14
|
||||
0.001675 -9.10383e-15
|
||||
0.0017 -1.15463e-14
|
||||
0.001725 -1.22125e-14
|
||||
0.00175 -1.02141e-14
|
||||
0.001775 -7.77156e-15
|
||||
0.0018 -1.06581e-14
|
||||
0.001825 -1.02141e-14
|
||||
0.00185 -7.10543e-15
|
||||
0.001875 -7.10543e-15
|
||||
0.0019 -9.54792e-15
|
||||
0.001925 -1.08802e-14
|
||||
0.00195 -1.9762e-14
|
||||
0.001975 -1.19904e-14
|
||||
0.002 -1.42109e-14
|
||||
0.002025 -9.76996e-15
|
||||
0.00205 -1.35447e-14
|
||||
0.002075 -1.17684e-14
|
||||
0.0021 -8.43769e-15
|
||||
0.002125 -1.24345e-14
|
||||
0.00215 -1.70974e-14
|
||||
0.002175 -1.17684e-14
|
||||
0.0022 -7.10543e-15
|
||||
0.002225 -1.26565e-14
|
||||
0.00225 -1.73195e-14
|
||||
0.002275 -1.82077e-14
|
||||
0.0023 -1.13243e-14
|
||||
0.002325 -1.88738e-14
|
||||
0.00235 -1.37668e-14
|
||||
0.002375 -1.28786e-14
|
||||
0.0024 -1.90958e-14
|
||||
0.002425 -1.5099e-14
|
||||
0.00245 -1.37668e-14
|
||||
0.002475 -2.04281e-14
|
||||
0.0025 -1.31006e-14
|
||||
0.002525 -1.24345e-14
|
||||
0.00255 -1.39888e-14
|
||||
0.002575 -1.26565e-14
|
||||
0.0026 -1.11022e-14
|
||||
0.002625 -1.35447e-14
|
||||
0.00265 -1.77636e-14
|
||||
0.002675 -1.88738e-14
|
||||
0.0027 -1.17684e-14
|
||||
0.002725 -1.22125e-14
|
||||
0.00275 -1.22125e-14
|
||||
0.002775 -1.55431e-14
|
||||
0.0028 -1.33227e-14
|
||||
0.002825 -9.99201e-15
|
||||
0.00285 -1.59872e-14
|
||||
0.002875 -1.59872e-14
|
||||
0.0029 -1.57652e-14
|
||||
0.002925 -1.19904e-14
|
||||
0.00295 -1.39888e-14
|
||||
0.002975 -9.99201e-15
|
||||
0.003 -1.31006e-14
|
||||
0.003025 -1.62093e-14
|
||||
0.00305 -1.37668e-14
|
||||
0.003075 -1.79856e-14
|
||||
0.0031 -1.35447e-14
|
||||
0.003125 -1.59872e-14
|
||||
0.00315 -1.35447e-14
|
||||
0.003175 -1.35447e-14
|
||||
0.0032 -1.77636e-14
|
||||
0.003225 -1.31006e-14
|
||||
0.00325 -1.02141e-14
|
||||
0.003275 -1.11022e-14
|
||||
0.0033 -1.37668e-14
|
||||
0.003325 -1.44329e-14
|
||||
0.00335 -1.06581e-14
|
||||
0.003375 -1.39888e-14
|
||||
0.0034 -1.55431e-14
|
||||
0.003425 -9.32587e-15
|
||||
0.00345 -1.31006e-14
|
||||
0.003475 -1.02141e-14
|
||||
0.0035 -1.17684e-14
|
||||
0.003525 -1.68754e-14
|
||||
0.00355 -1.64313e-14
|
||||
0.003575 -1.39888e-14
|
||||
0.0036 -1.62093e-14
|
||||
0.003625 -1.15463e-14
|
||||
0.00365 -1.28786e-14
|
||||
0.003675 -2.06501e-14
|
||||
0.0037 -1.62093e-14
|
||||
0.003725 -1.33227e-14
|
||||
0.00375 -1.55431e-14
|
||||
0.003775 -1.64313e-14
|
||||
0.0038 -1.4877e-14
|
||||
0.003825 -1.02141e-14
|
||||
0.00385 -1.28786e-14
|
||||
0.003875 -1.68754e-14
|
||||
0.0039 -1.31006e-14
|
||||
0.003925 -1.15463e-14
|
||||
0.00395 -1.68754e-14
|
||||
0.003975 -1.44329e-14
|
||||
0.004 -1.44329e-14
|
||||
0.004025 -1.84297e-14
|
||||
0.00405 -1.17684e-14
|
||||
0.004075 -1.44329e-14
|
||||
0.0041 -1.59872e-14
|
||||
0.004125 -1.39888e-14
|
||||
0.00415 -1.28786e-14
|
||||
0.004175 -1.35447e-14
|
||||
0.0042 -1.04361e-14
|
||||
0.004225 -1.15463e-14
|
||||
0.00425 -1.31006e-14
|
||||
0.004275 -8.88178e-15
|
||||
0.0043 -1.46549e-14
|
||||
0.004325 -1.9762e-14
|
||||
0.00435 -1.4877e-14
|
||||
0.004375 -1.06581e-14
|
||||
0.0044 -1.19904e-14
|
||||
0.004425 -1.19904e-14
|
||||
0.00445 -1.28786e-14
|
||||
0.004475 -1.93179e-14
|
||||
0.0045 -1.02141e-14
|
||||
0.004525 -1.37668e-14
|
||||
0.00455 -1.55431e-14
|
||||
0.004575 -1.22125e-14
|
||||
0.0046 -1.68754e-14
|
||||
0.004625 -1.66533e-14
|
||||
0.00465 -1.19904e-14
|
||||
0.004675 -1.5099e-14
|
||||
0.0047 -1.66533e-14
|
||||
0.004725 -1.86517e-14
|
||||
0.00475 -1.44329e-14
|
||||
0.004775 -1.04361e-14
|
||||
0.0048 -1.28786e-14
|
||||
0.004825 -1.53211e-14
|
||||
0.00485 -1.79856e-14
|
||||
0.004875 -1.37668e-14
|
||||
0.0049 -1.57652e-14
|
||||
0.004925 -1.82077e-14
|
||||
0.00495 -1.86517e-14
|
||||
0.004975 -1.13243e-14
|
||||
0.005 -1.42109e-14
|
||||
0.005025 -9.76996e-15
|
||||
0.00505 -9.76996e-15
|
||||
0.005075 -9.76996e-15
|
||||
0.0051 -1.11022e-14
|
||||
0.005125 -1.11022e-14
|
||||
0.00515 -1.62093e-14
|
||||
0.005175 -1.02141e-14
|
||||
0.0052 -1.55431e-14
|
||||
0.005225 -1.37668e-14
|
||||
0.00525 -1.46549e-14
|
||||
0.005275 -1.24345e-14
|
||||
0.0053 -1.77636e-14
|
||||
0.005325 -7.99361e-15
|
||||
0.00535 -1.02141e-14
|
||||
0.005375 -1.53211e-14
|
||||
0.0054 -1.11022e-14
|
||||
0.005425 -1.64313e-14
|
||||
0.00545 -1.66533e-14
|
||||
0.005475 -1.55431e-14
|
||||
0.0055 -1.22125e-14
|
||||
0.005525 -1.59872e-14
|
||||
0.00555 -1.42109e-14
|
||||
0.005575 -1.37668e-14
|
||||
0.0056 -1.33227e-14
|
||||
0.005625 -1.24345e-14
|
||||
0.00565 -1.5099e-14
|
||||
0.005675 -9.54792e-15
|
||||
0.0057 -1.68754e-14
|
||||
0.005725 -1.42109e-14
|
||||
0.00575 -1.68754e-14
|
||||
0.005775 -1.73195e-14
|
||||
0.0058 -1.35447e-14
|
||||
0.005825 -1.26565e-14
|
||||
0.00585 -1.11022e-14
|
||||
0.005875 -1.08802e-14
|
||||
0.0059 -1.86517e-14
|
||||
0.005925 -1.11022e-14
|
||||
0.00595 -1.39888e-14
|
||||
0.005975 -1.75415e-14
|
||||
0.006 -1.5099e-14
|
||||
0.006025 -1.33227e-14
|
||||
0.00605 -1.19904e-14
|
||||
0.006075 -1.37668e-14
|
||||
0.0061 -1.57652e-14
|
||||
0.006125 -1.77636e-14
|
||||
0.00615 -1.11022e-14
|
||||
0.006175 -1.75415e-14
|
||||
0.0062 -1.68754e-14
|
||||
0.006225 -1.79856e-14
|
||||
0.00625 -1.44329e-14
|
||||
0.006275 -1.19904e-14
|
||||
0.0063 -1.06581e-14
|
||||
0.006325 -1.22125e-14
|
||||
0.00635 -1.70974e-14
|
||||
0.006375 -1.70974e-14
|
||||
0.0064 -1.55431e-14
|
||||
0.006425 -1.68754e-14
|
||||
0.00645 -1.5099e-14
|
||||
0.006475 -1.39888e-14
|
||||
0.0065 -1.64313e-14
|
||||
0.006525 -1.46549e-14
|
||||
0.00655 -1.93179e-14
|
||||
0.006575 -1.24345e-14
|
||||
0.0066 -1.31006e-14
|
||||
0.006625 -1.26565e-14
|
||||
0.00665 -1.37668e-14
|
||||
0.006675 -1.39888e-14
|
||||
0.0067 -1.37668e-14
|
||||
0.006725 -1.59872e-14
|
||||
0.00675 -1.64313e-14
|
||||
0.006775 -1.77636e-14
|
||||
0.0068 -1.42109e-14
|
||||
0.006825 -1.59872e-14
|
||||
0.00685 -1.37668e-14
|
||||
0.006875 -1.57652e-14
|
||||
0.0069 -1.59872e-14
|
||||
0.006925 -1.22125e-14
|
||||
0.00695 -1.19904e-14
|
||||
0.006975 -1.02141e-14
|
||||
0.007 -1.33227e-14
|
||||
0.007025 -1.28786e-14
|
||||
0.00705 -1.82077e-14
|
||||
0.007075 -1.79856e-14
|
||||
0.0071 -1.42109e-14
|
||||
0.007125 -1.73195e-14
|
||||
0.00715 -1.64313e-14
|
||||
0.007175 -1.13243e-14
|
||||
0.0072 -1.5099e-14
|
||||
0.007225 -1.42109e-14
|
||||
0.00725 -1.24345e-14
|
||||
0.007275 -1.08802e-14
|
||||
0.0073 -1.70974e-14
|
||||
0.007325 -1.44329e-14
|
||||
0.00735 -1.55431e-14
|
||||
0.007375 -1.5099e-14
|
||||
0.0074 -1.42109e-14
|
||||
0.007425 -1.24345e-14
|
||||
0.00745 -1.19904e-14
|
||||
0.007475 -1.59872e-14
|
||||
0.0075 -1.37668e-14
|
||||
0.007525 -1.39888e-14
|
||||
0.00755 -1.75415e-14
|
||||
0.007575 -1.62093e-14
|
||||
0.0076 -1.90958e-14
|
||||
0.007625 -1.33227e-14
|
||||
0.00765 -1.19904e-14
|
||||
0.007675 -1.44329e-14
|
||||
0.0077 -1.64313e-14
|
||||
0.007725 -2.26485e-14
|
||||
0.00775 -1.55431e-14
|
||||
0.007775 -1.68754e-14
|
||||
0.0078 -1.59872e-14
|
||||
0.007825 -1.42109e-14
|
||||
0.00785 -1.59872e-14
|
||||
0.007875 -1.46549e-14
|
||||
0.0079 -1.5099e-14
|
||||
0.007925 -1.15463e-14
|
||||
0.00795 -1.64313e-14
|
||||
0.007975 -1.35447e-14
|
||||
0.008 -1.37668e-14
|
||||
0 8.43769e-15
|
||||
2.5e-05 1.02141e-14
|
||||
5e-05 1.13243e-14
|
||||
7.5e-05 8.43769e-15
|
||||
0.0001 3.9968e-15
|
||||
0.000125 1.08802e-14
|
||||
0.00015 6.88338e-15
|
||||
0.000175 5.9952e-15
|
||||
0.0002 6.66134e-15
|
||||
0.000225 6.88338e-15
|
||||
0.00025 6.66134e-15
|
||||
0.000275 7.99361e-15
|
||||
0.0003 6.88338e-15
|
||||
0.000325 5.77316e-15
|
||||
0.00035 7.54952e-15
|
||||
0.000375 6.88338e-15
|
||||
0.0004 9.76996e-15
|
||||
0.000425 8.65974e-15
|
||||
0.00045 6.66134e-15
|
||||
0.000475 7.77156e-15
|
||||
0.0005 9.32587e-15
|
||||
0.000525 1.15463e-14
|
||||
0.00055 9.32587e-15
|
||||
0.000575 5.9952e-15
|
||||
0.0006 7.99361e-15
|
||||
0.000625 6.88338e-15
|
||||
0.00065 1.02141e-14
|
||||
0.000675 7.32747e-15
|
||||
0.0007 9.76996e-15
|
||||
0.000725 8.65974e-15
|
||||
0.00075 9.76996e-15
|
||||
0.000775 8.88178e-15
|
||||
0.0008 3.33067e-15
|
||||
0.000825 9.54792e-15
|
||||
0.00085 5.55112e-15
|
||||
0.000875 9.54792e-15
|
||||
0.0009 4.88498e-15
|
||||
0.000925 8.43769e-15
|
||||
0.00095 7.32747e-15
|
||||
0.000975 6.21725e-15
|
||||
0.001 6.66134e-15
|
||||
0.001025 7.77156e-15
|
||||
0.00105 5.9952e-15
|
||||
0.001075 5.10703e-15
|
||||
0.0011 6.88338e-15
|
||||
0.001125 7.10543e-15
|
||||
0.00115 8.21565e-15
|
||||
0.001175 3.55271e-15
|
||||
0.0012 3.77476e-15
|
||||
0.001225 5.77316e-15
|
||||
0.00125 6.66134e-16
|
||||
0.001275 6.66134e-15
|
||||
0.0013 6.21725e-15
|
||||
0.001325 8.21565e-15
|
||||
0.00135 2.22045e-15
|
||||
0.001375 5.55112e-15
|
||||
0.0014 3.10862e-15
|
||||
0.001425 4.88498e-15
|
||||
0.00145 5.32907e-15
|
||||
0.001475 4.88498e-15
|
||||
0.0015 4.44089e-15
|
||||
0.001525 3.33067e-15
|
||||
0.00155 5.77316e-15
|
||||
0.001575 3.77476e-15
|
||||
0.0016 1.08802e-14
|
||||
0.001625 9.32587e-15
|
||||
0.00165 1.22125e-14
|
||||
0.001675 1.26565e-14
|
||||
0.0017 1.11022e-14
|
||||
0.001725 1.17684e-14
|
||||
0.00175 1.33227e-14
|
||||
0.001775 8.43769e-15
|
||||
0.0018 7.54952e-15
|
||||
0.001825 1.17684e-14
|
||||
0.00185 8.65974e-15
|
||||
0.001875 1.4877e-14
|
||||
0.0019 1.53211e-14
|
||||
0.001925 1.33227e-14
|
||||
0.00195 1.46549e-14
|
||||
0.001975 1.5099e-14
|
||||
0.002 7.99361e-15
|
||||
0.002025 1.55431e-14
|
||||
0.00205 1.73195e-14
|
||||
0.002075 1.33227e-14
|
||||
0.0021 1.53211e-14
|
||||
0.002125 1.55431e-14
|
||||
0.00215 1.44329e-14
|
||||
0.002175 1.28786e-14
|
||||
0.0022 1.9762e-14
|
||||
0.002225 1.02141e-14
|
||||
0.00225 1.55431e-14
|
||||
0.002275 1.55431e-14
|
||||
0.0023 1.19904e-14
|
||||
0.002325 1.66533e-14
|
||||
0.00235 1.64313e-14
|
||||
0.002375 1.59872e-14
|
||||
0.0024 1.95399e-14
|
||||
0.002425 1.77636e-14
|
||||
0.00245 2.04281e-14
|
||||
0.002475 1.5099e-14
|
||||
0.0025 1.06581e-14
|
||||
0.002525 1.42109e-14
|
||||
0.00255 1.44329e-14
|
||||
0.002575 1.53211e-14
|
||||
0.0026 1.95399e-14
|
||||
0.002625 1.37668e-14
|
||||
0.00265 1.11022e-14
|
||||
0.002675 1.55431e-14
|
||||
0.0027 1.39888e-14
|
||||
0.002725 1.62093e-14
|
||||
0.00275 1.42109e-14
|
||||
0.002775 1.19904e-14
|
||||
0.0028 8.65974e-15
|
||||
0.002825 1.37668e-14
|
||||
0.00285 1.73195e-14
|
||||
0.002875 1.64313e-14
|
||||
0.0029 1.11022e-14
|
||||
0.002925 1.62093e-14
|
||||
0.00295 1.31006e-14
|
||||
0.002975 1.5099e-14
|
||||
0.003 1.46549e-14
|
||||
0.003025 1.55431e-14
|
||||
0.00305 1.22125e-14
|
||||
0.003075 1.4877e-14
|
||||
0.0031 1.64313e-14
|
||||
0.003125 1.26565e-14
|
||||
0.00315 1.15463e-14
|
||||
0.003175 1.46549e-14
|
||||
0.0032 1.19904e-14
|
||||
0.003225 1.04361e-14
|
||||
0.00325 2.08722e-14
|
||||
0.003275 1.70974e-14
|
||||
0.0033 1.42109e-14
|
||||
0.003325 1.08802e-14
|
||||
0.00335 1.62093e-14
|
||||
0.003375 1.42109e-14
|
||||
0.0034 1.4877e-14
|
||||
0.003425 1.22125e-14
|
||||
0.00345 1.5099e-14
|
||||
0.003475 1.55431e-14
|
||||
0.0035 1.64313e-14
|
||||
0.003525 1.26565e-14
|
||||
0.00355 1.5099e-14
|
||||
0.003575 1.59872e-14
|
||||
0.0036 1.90958e-14
|
||||
0.003625 1.24345e-14
|
||||
0.00365 1.06581e-14
|
||||
0.003675 1.4877e-14
|
||||
0.0037 1.53211e-14
|
||||
0.003725 1.26565e-14
|
||||
0.00375 1.59872e-14
|
||||
0.003775 1.35447e-14
|
||||
0.0038 1.22125e-14
|
||||
0.003825 1.26565e-14
|
||||
0.00385 1.53211e-14
|
||||
0.003875 1.24345e-14
|
||||
0.0039 1.37668e-14
|
||||
0.003925 1.33227e-14
|
||||
0.00395 1.68754e-14
|
||||
0.003975 1.35447e-14
|
||||
0.004 1.35447e-14
|
||||
0.004025 1.53211e-14
|
||||
0.00405 1.37668e-14
|
||||
0.004075 1.15463e-14
|
||||
0.0041 1.31006e-14
|
||||
0.004125 1.68754e-14
|
||||
0.00415 1.46549e-14
|
||||
0.004175 1.15463e-14
|
||||
0.0042 1.66533e-14
|
||||
0.004225 1.55431e-14
|
||||
0.00425 1.06581e-14
|
||||
0.004275 1.59872e-14
|
||||
0.0043 1.59872e-14
|
||||
0.004325 1.46549e-14
|
||||
0.00435 1.66533e-14
|
||||
0.004375 1.66533e-14
|
||||
0.0044 1.33227e-14
|
||||
0.004425 1.5099e-14
|
||||
0.00445 1.37668e-14
|
||||
0.004475 1.13243e-14
|
||||
0.0045 1.44329e-14
|
||||
0.004525 1.46549e-14
|
||||
0.00455 1.64313e-14
|
||||
0.004575 1.13243e-14
|
||||
0.0046 1.64313e-14
|
||||
0.004625 1.75415e-14
|
||||
0.00465 1.44329e-14
|
||||
0.004675 1.28786e-14
|
||||
0.0047 1.33227e-14
|
||||
0.004725 1.44329e-14
|
||||
0.00475 1.68754e-14
|
||||
0.004775 1.5099e-14
|
||||
0.0048 1.68754e-14
|
||||
0.004825 1.5099e-14
|
||||
0.00485 1.24345e-14
|
||||
0.004875 1.33227e-14
|
||||
0.0049 1.24345e-14
|
||||
0.004925 1.59872e-14
|
||||
0.00495 1.53211e-14
|
||||
0.004975 1.75415e-14
|
||||
0.005 1.46549e-14
|
||||
0.005025 1.53211e-14
|
||||
0.00505 1.37668e-14
|
||||
0.005075 1.19904e-14
|
||||
0.0051 9.32587e-15
|
||||
0.005125 1.64313e-14
|
||||
0.00515 1.70974e-14
|
||||
0.005175 1.37668e-14
|
||||
0.0052 1.37668e-14
|
||||
0.005225 1.06581e-14
|
||||
0.00525 1.19904e-14
|
||||
0.005275 1.17684e-14
|
||||
0.0053 1.5099e-14
|
||||
0.005325 1.33227e-14
|
||||
0.00535 1.55431e-14
|
||||
0.005375 1.11022e-14
|
||||
0.0054 6.21725e-15
|
||||
0.005425 1.39888e-14
|
||||
0.00545 1.57652e-14
|
||||
0.005475 1.11022e-14
|
||||
0.0055 1.79856e-14
|
||||
0.005525 1.64313e-14
|
||||
0.00555 1.88738e-14
|
||||
0.005575 1.46549e-14
|
||||
0.0056 1.90958e-14
|
||||
0.005625 1.4877e-14
|
||||
0.00565 1.77636e-14
|
||||
0.005675 1.39888e-14
|
||||
0.0057 1.5099e-14
|
||||
0.005725 1.24345e-14
|
||||
0.00575 1.70974e-14
|
||||
0.005775 1.5099e-14
|
||||
0.0058 1.46549e-14
|
||||
0.005825 1.64313e-14
|
||||
0.00585 1.26565e-14
|
||||
0.005875 1.39888e-14
|
||||
0.0059 1.5099e-14
|
||||
0.005925 2.04281e-14
|
||||
0.00595 1.57652e-14
|
||||
0.005975 1.37668e-14
|
||||
0.006 1.75415e-14
|
||||
0.006025 1.79856e-14
|
||||
0.00605 1.26565e-14
|
||||
0.006075 1.46549e-14
|
||||
0.0061 1.5099e-14
|
||||
0.006125 1.73195e-14
|
||||
0.00615 1.02141e-14
|
||||
0.006175 9.54792e-15
|
||||
0.0062 1.5099e-14
|
||||
0.006225 1.4877e-14
|
||||
0.00625 1.46549e-14
|
||||
0.006275 9.99201e-15
|
||||
0.0063 1.59872e-14
|
||||
0.006325 1.82077e-14
|
||||
0.00635 1.66533e-14
|
||||
0.006375 1.73195e-14
|
||||
0.0064 1.55431e-14
|
||||
0.006425 8.21565e-15
|
||||
0.00645 1.88738e-14
|
||||
0.006475 1.39888e-14
|
||||
0.0065 1.17684e-14
|
||||
0.006525 1.70974e-14
|
||||
0.00655 1.55431e-14
|
||||
0.006575 9.76996e-15
|
||||
0.0066 1.68754e-14
|
||||
0.006625 1.73195e-14
|
||||
0.00665 9.54792e-15
|
||||
0.006675 1.13243e-14
|
||||
0.0067 1.39888e-14
|
||||
0.006725 1.37668e-14
|
||||
0.00675 2.04281e-14
|
||||
0.006775 1.57652e-14
|
||||
0.0068 1.57652e-14
|
||||
0.006825 1.44329e-14
|
||||
0.00685 1.5099e-14
|
||||
0.006875 8.88178e-15
|
||||
0.0069 1.11022e-14
|
||||
0.006925 1.11022e-14
|
||||
0.00695 1.88738e-14
|
||||
0.006975 1.57652e-14
|
||||
0.007 1.28786e-14
|
||||
0.007025 1.5099e-14
|
||||
0.00705 1.59872e-14
|
||||
0.007075 1.90958e-14
|
||||
0.0071 1.33227e-14
|
||||
0.007125 1.55431e-14
|
||||
0.00715 1.5099e-14
|
||||
0.007175 1.42109e-14
|
||||
0.0072 1.08802e-14
|
||||
0.007225 1.5099e-14
|
||||
0.00725 1.44329e-14
|
||||
0.007275 1.08802e-14
|
||||
0.0073 1.33227e-14
|
||||
0.007325 1.4877e-14
|
||||
0.00735 1.73195e-14
|
||||
0.007375 1.28786e-14
|
||||
0.0074 1.26565e-14
|
||||
0.007425 1.68754e-14
|
||||
0.00745 1.95399e-14
|
||||
0.007475 7.54952e-15
|
||||
0.0075 1.26565e-14
|
||||
0.007525 1.33227e-14
|
||||
0.00755 1.68754e-14
|
||||
0.007575 1.64313e-14
|
||||
0.0076 1.35447e-14
|
||||
0.007625 1.55431e-14
|
||||
0.00765 1.44329e-14
|
||||
0.007675 1.57652e-14
|
||||
0.0077 1.24345e-14
|
||||
0.007725 1.15463e-14
|
||||
0.00775 1.62093e-14
|
||||
0.007775 9.76996e-15
|
||||
0.0078 1.42109e-14
|
||||
0.007825 1.33227e-14
|
||||
0.00785 1.42109e-14
|
||||
0.007875 1.4877e-14
|
||||
0.0079 1.35447e-14
|
||||
0.007925 1.31006e-14
|
||||
0.00795 1.59872e-14
|
||||
0.007975 1.62093e-14
|
||||
0.008 1.70974e-14
|
||||
|
||||
141
docs/WaveSimulation_8hpp.html
Normal file
@ -0,0 +1,141 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/WaveSimulation.hpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('WaveSimulation_8hpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#nested-classes">Classes</a> </div>
|
||||
<div class="headertitle"><div class="title">WaveSimulation.hpp File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The definition of the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class.
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include "<a class="el" href="constants_8hpp_source.html">constants.hpp</a>"</code><br />
|
||||
<code>#include "<a class="el" href="literals_8hpp_source.html">literals.hpp</a>"</code><br />
|
||||
<code>#include <armadillo></code><br />
|
||||
<code>#include <cstdint></code><br />
|
||||
</div>
|
||||
<p><a href="WaveSimulation_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="nested-classes" name="nested-classes"></a>
|
||||
Classes</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class  </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td></tr>
|
||||
<tr class="memdesc:"><td class="mdescLeft"> </td><td class="mdescRight">Simulate the evolution of a wave packet in 2 + 1 domensions. <a href="classWaveSimulation.html#details">More...</a><br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>The definition of the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class. </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Cory Alexander Balaton (coryab) </dd>
|
||||
<dd>
|
||||
Janita Ovidie Sandtrøen Willumsen (janitaws)</dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>0.1</dd></dl>
|
||||
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000005">Bug:</a></b></dt><dd>No known bugs </dd></dl>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
4
docs/WaveSimulation_8hpp.js
Normal file
@ -0,0 +1,4 @@
|
||||
var WaveSimulation_8hpp =
|
||||
[
|
||||
[ "WaveSimulation", "classWaveSimulation.html", "classWaveSimulation" ]
|
||||
];
|
||||
194
docs/WaveSimulation_8hpp_source.html
Normal file
@ -0,0 +1,194 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/WaveSimulation.hpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('WaveSimulation_8hpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">WaveSimulation.hpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="WaveSimulation_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifndef __WAVE_SIMULATION__</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define __WAVE_SIMULATION__</span></div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include "<a class="code" href="constants_8hpp.html">constants.hpp</a>"</span></div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span><span class="preprocessor">#include "<a class="code" href="literals_8hpp.html">literals.hpp</a>"</span></div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span> </div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span><span class="preprocessor">#include <armadillo></span></div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#include <cstdint></span></div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> </div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"><a class="line" href="classWaveSimulation.html"> 22</a></span><span class="keyword">class </span><a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> {</div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span><span class="keyword">private</span>:</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9"> 24</a></span> int32_t <a class="code hl_variable" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">M</a>; </div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d"> 25</a></span> int32_t <a class="code hl_variable" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">N</a>; </div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6"> 26</a></span> arma::cx_mat <a class="code hl_variable" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">V</a>; </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814"> 27</a></span> arma::cx_mat <a class="code hl_variable" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">U</a>; </div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1"> 28</a></span> arma::sp_cx_mat <a class="code hl_variable" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">B</a>; </div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7"> 29</a></span> arma::sp_cx_mat <a class="code hl_variable" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">A</a>; </div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38"> 30</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a>; </div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6"> 31</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a>; </div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e"> 32</a></span> <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a>; </div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span> </div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e"> 44</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">initialize_U</a>(<span class="keywordtype">double</span> x_c, <span class="keywordtype">double</span> y_c, <span class="keywordtype">double</span> sigma_x, <span class="keywordtype">double</span> sigma_y,</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span> <span class="keywordtype">double</span> p_x, <span class="keywordtype">double</span> p_y);</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> </div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498"> 55</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">initialize_V</a>(<span class="keywordtype">double</span> thickness, <span class="keywordtype">double</span> pos_x,</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> <span class="keywordtype">double</span> aperture_separation, <span class="keywordtype">double</span> aperture,</div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> uint32_t slits);</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> </div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca"> 61</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca">initialize_V</a>();</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span> </div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0"> 65</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0">initialize_A</a>();</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> </div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7"> 69</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7">initialize_B</a>();</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> </div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d"> 75</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">write_U</a>(std::ofstream &ofile);</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span><span class="keyword">public</span>:</div>
|
||||
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076"> 94</a></span> <a class="code hl_function" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a>, <span class="keywordtype">double</span> x_c, <span class="keywordtype">double</span> y_c,</div>
|
||||
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno"> 95</span> <span class="keywordtype">double</span> sigma_x, <span class="keywordtype">double</span> sigma_y, <span class="keywordtype">double</span> p_x, <span class="keywordtype">double</span> p_y,</div>
|
||||
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno"> 96</span> <span class="keywordtype">double</span> thickness, <span class="keywordtype">double</span> pos_x, <span class="keywordtype">double</span> ap_sep, <span class="keywordtype">double</span> ap,</div>
|
||||
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno"> 97</span> uint32_t slits);</div>
|
||||
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno"> 98</span> </div>
|
||||
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4"> 111</a></span> <a class="code hl_function" href="classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4">WaveSimulation</a>(<span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a>, <span class="keywordtype">double</span> <a class="code hl_variable" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a>, <span class="keywordtype">double</span> x_c, <span class="keywordtype">double</span> y_c,</div>
|
||||
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno"> 112</span> <span class="keywordtype">double</span> sigma_x, <span class="keywordtype">double</span> sigma_y, <span class="keywordtype">double</span> p_x, <span class="keywordtype">double</span> p_y);</div>
|
||||
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"> 113</span> </div>
|
||||
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f"> 116</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f">step</a>();</div>
|
||||
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno"> 117</span> </div>
|
||||
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c"> 125</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(std::string outfile, <span class="keywordtype">bool</span> write_each_step = <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno"> 126</span> </div>
|
||||
<div class="line"><a id="l00133" name="l00133"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4"> 133</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4">simulate</a>(std::string outfile, std::vector<double> &steps);</div>
|
||||
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno"> 134</span> </div>
|
||||
<div class="line"><a id="l00139" name="l00139"></a><span class="lineno"><a class="line" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9"> 139</a></span> <span class="keywordtype">void</span> <a class="code hl_function" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">probability_deviation</a>(std::string outfile,</div>
|
||||
<div class="line"><a id="l00140" name="l00140"></a><span class="lineno"> 140</span> <span class="keywordtype">bool</span> write_each_step = <span class="keyword">false</span>);</div>
|
||||
<div class="line"><a id="l00141" name="l00141"></a><span class="lineno"> 141</span>};</div>
|
||||
<div class="line"><a id="l00142" name="l00142"></a><span class="lineno"> 142</span> </div>
|
||||
<div class="line"><a id="l00143" name="l00143"></a><span class="lineno"> 143</span><span class="preprocessor">#endif</span></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html"><div class="ttname"><a href="classWaveSimulation.html">WaveSimulation</a></div><div class="ttdoc">Simulate the evolution of a wave packet in 2 + 1 domensions.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00022">WaveSimulation.hpp:22</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a02052a447cf7fb49001e231d3a856814"><div class="ttname"><a href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">WaveSimulation::U</a></div><div class="ttdeci">arma::cx_mat U</div><div class="ttdoc">The particle wave matrix.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00027">WaveSimulation.hpp:27</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a07dbefef86c9ed894d526eea4b039be6"><div class="ttname"><a href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">WaveSimulation::dt</a></div><div class="ttdeci">double dt</div><div class="ttdoc">The step size int the time direction.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00031">WaveSimulation.hpp:31</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a09e997b44ad67b6e3497d77704cd47e7"><div class="ttname"><a href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">WaveSimulation::A</a></div><div class="ttdeci">arma::sp_cx_mat A</div><div class="ttdoc">The A matrix.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00029">WaveSimulation.hpp:29</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a25100ad1ffbb0ba16e4928f0c2d58ae7"><div class="ttname"><a href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7">WaveSimulation::initialize_B</a></div><div class="ttdeci">void initialize_B()</div><div class="ttdoc">Initialize the B matrix according to the Crank-Nicolson method.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a2e7becba595a864b5754be9e858ac3e9"><div class="ttname"><a href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">WaveSimulation::M</a></div><div class="ttdeci">int32_t M</div><div class="ttdoc">The size.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00024">WaveSimulation.hpp:24</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a36dda9ea37cc41e36c27f9729831786d"><div class="ttname"><a href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">WaveSimulation::N</a></div><div class="ttdeci">int32_t N</div><div class="ttdoc">The size of the inner part.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00025">WaveSimulation.hpp:25</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a3e7fa7128020c39d51fa933aa7706fd1"><div class="ttname"><a href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">WaveSimulation::B</a></div><div class="ttdeci">arma::sp_cx_mat B</div><div class="ttdoc">The B matrix.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00028">WaveSimulation.hpp:28</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a657df266bf09298fcb1b901b25fb2498"><div class="ttname"><a href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">WaveSimulation::initialize_V</a></div><div class="ttdeci">void initialize_V(double thickness, double pos_x, double aperture_separation, double aperture, uint32_t slits)</div><div class="ttdoc">Initialize the V matrix.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a66f2d3a7d278888687822bc20df97f38"><div class="ttname"><a href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">WaveSimulation::h</a></div><div class="ttdeci">double h</div><div class="ttdoc">The step size in both x and y direction.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00030">WaveSimulation.hpp:30</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a6c1e7fb0526a7f7947beaedeb383d4c0"><div class="ttname"><a href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0">WaveSimulation::initialize_A</a></div><div class="ttdeci">void initialize_A()</div><div class="ttdoc">Initialize the A matrix according to the Crank-Nicolson method.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a82742cffc7c344d705c6a532ed605b0c"><div class="ttname"><a href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">WaveSimulation::simulate</a></div><div class="ttdeci">void simulate(std::string outfile, bool write_each_step=false)</div><div class="ttdoc">Evolve the wave packet until the time T has been reached and write U to file.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a94cf5bb27a79ceefdcc1456704ba17e4"><div class="ttname"><a href="classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4">WaveSimulation::WaveSimulation</a></div><div class="ttdeci">WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</div><div class="ttdoc">Constructor for the WaveSimulation class with no wall.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_aad9e34b8466636b0a346dd30aef35eca"><div class="ttname"><a href="classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca">WaveSimulation::initialize_V</a></div><div class="ttdeci">void initialize_V()</div><div class="ttdoc">Initialize the V matrix with no wall.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_ab142a9563a302f6cd4b015e3a388c1a4"><div class="ttname"><a href="classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4">WaveSimulation::simulate</a></div><div class="ttdeci">void simulate(std::string outfile, std::vector< double > &steps)</div><div class="ttdoc">Evolve the wave packet and write U to fileto file at each time step in the vector given.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_ac40056e5c4b7ae3a022195cb447439b6"><div class="ttname"><a href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">WaveSimulation::V</a></div><div class="ttdeci">arma::cx_mat V</div><div class="ttdoc">The potential matrix.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00026">WaveSimulation.hpp:26</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_acb893267a27945645510d736cba2939d"><div class="ttname"><a href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">WaveSimulation::write_U</a></div><div class="ttdeci">void write_U(std::ofstream &ofile)</div><div class="ttdoc">Write the U matrix in a single line to the file buffer given.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_acb9ed0a8b77ef23ad8682fdef00b5076"><div class="ttname"><a href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation::WaveSimulation</a></div><div class="ttdeci">WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y, double thickness, double pos_x, double ap_sep, double ap, uint32_t slits)</div><div class="ttdoc">Constructor for the WaveSimulation class.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_aebd53edf928035c7a2438cdd3b1d7d7e"><div class="ttname"><a href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">WaveSimulation::T</a></div><div class="ttdeci">double T</div><div class="ttdoc">The end time.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00032">WaveSimulation.hpp:32</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_aed4433e3c80ceaad874471a994b6bf0e"><div class="ttname"><a href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">WaveSimulation::initialize_U</a></div><div class="ttdeci">void initialize_U(double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</div><div class="ttdoc">Initialize the U matrix using an unormalized Gaussian wave packet.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_af0752a10a110644d99ef5c6cab7421c9"><div class="ttname"><a href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">WaveSimulation::probability_deviation</a></div><div class="ttdeci">void probability_deviation(std::string outfile, bool write_each_step=false)</div><div class="ttdoc">Write the deviation of the sum of the probability of U from 1.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_af9d988b741c59e6de3a32d506538019f"><div class="ttname"><a href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f">WaveSimulation::step</a></div><div class="ttdeci">void step()</div><div class="ttdoc">Evolve a step forward in time.</div></div>
|
||||
<div class="ttc" id="aconstants_8hpp_html"><div class="ttname"><a href="constants_8hpp.html">constants.hpp</a></div><div class="ttdoc">Library of constants.</div></div>
|
||||
<div class="ttc" id="aliterals_8hpp_html"><div class="ttname"><a href="literals_8hpp.html">literals.hpp</a></div><div class="ttdoc">Useful literals.</div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
docs/animation.gif
Normal file
|
After Width: | Height: | Size: 14 MiB |
118
docs/annotated.html
Normal file
@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Class List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('annotated.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">Class List</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here are the classes, structs, unions and interfaces with brief descriptions:</div><div class="directory">
|
||||
<table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><span class="icona"><span class="icon">C</span></span><a class="el" href="classWaveSimulation.html" target="_self">WaveSimulation</a></td><td class="desc">Simulate the evolution of a wave packet in 2 + 1 domensions </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
4
docs/annotated_dup.js
Normal file
@ -0,0 +1,4 @@
|
||||
var annotated_dup =
|
||||
[
|
||||
[ "WaveSimulation", "classWaveSimulation.html", "classWaveSimulation" ]
|
||||
];
|
||||
BIN
docs/bc_s.png
Normal file
|
After Width: | Height: | Size: 676 B |
BIN
docs/bc_sd.png
Normal file
|
After Width: | Height: | Size: 635 B |
BIN
docs/bdwn.png
Normal file
|
After Width: | Height: | Size: 147 B |
130
docs/bug.html
Normal file
@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Bug List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('bug.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">Bug List </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><dl class="reflist">
|
||||
<dt>File <a class="el" href="constants_8hpp.html">constants.hpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000001"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="literals_8hpp.html">literals.hpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000002"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="main_8cpp.html">main.cpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000006"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="testlib_8hpp.html">testlib.hpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000003"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="utils_8hpp.html">utils.hpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000004"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="wave__simulation_8cpp.html">wave_simulation.cpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000007"></a>No known bugs </dd>
|
||||
<dt>File <a class="el" href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a> </dt>
|
||||
<dd><a class="anchor" id="_bug000005"></a>No known bugs </dd>
|
||||
</dl>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- PageDoc -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
137
docs/classWaveSimulation-members.html
Normal file
@ -0,0 +1,137 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Member List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('classWaveSimulation.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">WaveSimulation Member List</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>This is the complete list of members for <a class="el" href="classWaveSimulation.html">WaveSimulation</a>, including all inherited members.</p>
|
||||
<table class="directory">
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">A</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">B</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0">initialize_A</a>()</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7">initialize_B</a>()</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">initialize_U</a>(double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">initialize_V</a>(double thickness, double pos_x, double aperture_separation, double aperture, uint32_t slits)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca">initialize_V</a>()</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">M</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">N</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">probability_deviation</a>(std::string outfile, bool write_each_step=false)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(std::string outfile, bool write_each_step=false)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4">simulate</a>(std::string outfile, std::vector< double > &steps)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f">step</a>()</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">U</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">V</a></td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation</a>(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y, double thickness, double pos_x, double ap_sep, double ap, uint32_t slits)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="odd"><td class="entry"><a class="el" href="classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4">WaveSimulation</a>(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"></td></tr>
|
||||
<tr class="even"><td class="entry"><a class="el" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">write_U</a>(std::ofstream &ofile)</td><td class="entry"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
|
||||
</table></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
935
docs/classWaveSimulation.html
Normal file
@ -0,0 +1,935 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: WaveSimulation Class Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('classWaveSimulation.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#pub-methods">Public Member Functions</a> |
|
||||
<a href="#pri-methods">Private Member Functions</a> |
|
||||
<a href="#pri-attribs">Private Attributes</a> |
|
||||
<a href="classWaveSimulation-members.html">List of all members</a> </div>
|
||||
<div class="headertitle"><div class="title">WaveSimulation Class Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Simulate the evolution of a wave packet in 2 + 1 domensions.
|
||||
<a href="classWaveSimulation.html#details">More...</a></p>
|
||||
|
||||
<p><code>#include <<a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>></code></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
|
||||
Public Member Functions</h2></td></tr>
|
||||
<tr class="memitem:acb9ed0a8b77ef23ad8682fdef00b5076"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation</a> (double <a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a>, double <a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a>, double <a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a>, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y, double thickness, double pos_x, double ap_sep, double ap, uint32_t slits)</td></tr>
|
||||
<tr class="memdesc:acb9ed0a8b77ef23ad8682fdef00b5076"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class. <br /></td></tr>
|
||||
<tr class="separator:acb9ed0a8b77ef23ad8682fdef00b5076"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a94cf5bb27a79ceefdcc1456704ba17e4"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4">WaveSimulation</a> (double <a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a>, double <a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a>, double <a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a>, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</td></tr>
|
||||
<tr class="memdesc:a94cf5bb27a79ceefdcc1456704ba17e4"><td class="mdescLeft"> </td><td class="mdescRight">Constructor for the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class with no wall. <br /></td></tr>
|
||||
<tr class="separator:a94cf5bb27a79ceefdcc1456704ba17e4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af9d988b741c59e6de3a32d506538019f"><td class="memItemLeft" align="right" valign="top"><a id="af9d988b741c59e6de3a32d506538019f" name="af9d988b741c59e6de3a32d506538019f"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>step</b> ()</td></tr>
|
||||
<tr class="memdesc:af9d988b741c59e6de3a32d506538019f"><td class="mdescLeft"> </td><td class="mdescRight">Evolve a step forward in time. <br /></td></tr>
|
||||
<tr class="separator:af9d988b741c59e6de3a32d506538019f"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a82742cffc7c344d705c6a532ed605b0c"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a> (std::string outfile, bool write_each_step=false)</td></tr>
|
||||
<tr class="memdesc:a82742cffc7c344d705c6a532ed605b0c"><td class="mdescLeft"> </td><td class="mdescRight">Evolve the wave packet until the time T has been reached and write U to file. <br /></td></tr>
|
||||
<tr class="separator:a82742cffc7c344d705c6a532ed605b0c"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ab142a9563a302f6cd4b015e3a388c1a4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4">simulate</a> (std::string outfile, std::vector< double > &steps)</td></tr>
|
||||
<tr class="memdesc:ab142a9563a302f6cd4b015e3a388c1a4"><td class="mdescLeft"> </td><td class="mdescRight">Evolve the wave packet and write U to fileto file at each time step in the vector given. <br /></td></tr>
|
||||
<tr class="separator:ab142a9563a302f6cd4b015e3a388c1a4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:af0752a10a110644d99ef5c6cab7421c9"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">probability_deviation</a> (std::string outfile, bool write_each_step=false)</td></tr>
|
||||
<tr class="memdesc:af0752a10a110644d99ef5c6cab7421c9"><td class="mdescLeft"> </td><td class="mdescRight">Write the deviation of the sum of the probability of U from 1. <br /></td></tr>
|
||||
<tr class="separator:af0752a10a110644d99ef5c6cab7421c9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-methods" name="pri-methods"></a>
|
||||
Private Member Functions</h2></td></tr>
|
||||
<tr class="memitem:aed4433e3c80ceaad874471a994b6bf0e"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">initialize_U</a> (double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)</td></tr>
|
||||
<tr class="memdesc:aed4433e3c80ceaad874471a994b6bf0e"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the U matrix using an unormalized Gaussian wave packet. <br /></td></tr>
|
||||
<tr class="separator:aed4433e3c80ceaad874471a994b6bf0e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a657df266bf09298fcb1b901b25fb2498"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">initialize_V</a> (double thickness, double pos_x, double aperture_separation, double aperture, uint32_t slits)</td></tr>
|
||||
<tr class="memdesc:a657df266bf09298fcb1b901b25fb2498"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the V matrix. <br /></td></tr>
|
||||
<tr class="separator:a657df266bf09298fcb1b901b25fb2498"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aad9e34b8466636b0a346dd30aef35eca"><td class="memItemLeft" align="right" valign="top"><a id="aad9e34b8466636b0a346dd30aef35eca" name="aad9e34b8466636b0a346dd30aef35eca"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>initialize_V</b> ()</td></tr>
|
||||
<tr class="memdesc:aad9e34b8466636b0a346dd30aef35eca"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the V matrix with no wall. <br /></td></tr>
|
||||
<tr class="separator:aad9e34b8466636b0a346dd30aef35eca"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a6c1e7fb0526a7f7947beaedeb383d4c0"><td class="memItemLeft" align="right" valign="top"><a id="a6c1e7fb0526a7f7947beaedeb383d4c0" name="a6c1e7fb0526a7f7947beaedeb383d4c0"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>initialize_A</b> ()</td></tr>
|
||||
<tr class="memdesc:a6c1e7fb0526a7f7947beaedeb383d4c0"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the A matrix according to the Crank-Nicolson method. <br /></td></tr>
|
||||
<tr class="separator:a6c1e7fb0526a7f7947beaedeb383d4c0"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a25100ad1ffbb0ba16e4928f0c2d58ae7"><td class="memItemLeft" align="right" valign="top"><a id="a25100ad1ffbb0ba16e4928f0c2d58ae7" name="a25100ad1ffbb0ba16e4928f0c2d58ae7"></a>
|
||||
void </td><td class="memItemRight" valign="bottom"><b>initialize_B</b> ()</td></tr>
|
||||
<tr class="memdesc:a25100ad1ffbb0ba16e4928f0c2d58ae7"><td class="mdescLeft"> </td><td class="mdescRight">Initialize the B matrix according to the Crank-Nicolson method. <br /></td></tr>
|
||||
<tr class="separator:a25100ad1ffbb0ba16e4928f0c2d58ae7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:acb893267a27945645510d736cba2939d"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">write_U</a> (std::ofstream &ofile)</td></tr>
|
||||
<tr class="memdesc:acb893267a27945645510d736cba2939d"><td class="mdescLeft"> </td><td class="mdescRight">Write the U matrix in a single line to the file buffer given. <br /></td></tr>
|
||||
<tr class="separator:acb893267a27945645510d736cba2939d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table><table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pri-attribs" name="pri-attribs"></a>
|
||||
Private Attributes</h2></td></tr>
|
||||
<tr class="memitem:a2e7becba595a864b5754be9e858ac3e9"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">M</a></td></tr>
|
||||
<tr class="memdesc:a2e7becba595a864b5754be9e858ac3e9"><td class="mdescLeft"> </td><td class="mdescRight">The size. <br /></td></tr>
|
||||
<tr class="separator:a2e7becba595a864b5754be9e858ac3e9"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a36dda9ea37cc41e36c27f9729831786d"><td class="memItemLeft" align="right" valign="top">int32_t </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">N</a></td></tr>
|
||||
<tr class="memdesc:a36dda9ea37cc41e36c27f9729831786d"><td class="mdescLeft"> </td><td class="mdescRight">The size of the inner part. <br /></td></tr>
|
||||
<tr class="separator:a36dda9ea37cc41e36c27f9729831786d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ac40056e5c4b7ae3a022195cb447439b6"><td class="memItemLeft" align="right" valign="top">arma::cx_mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">V</a></td></tr>
|
||||
<tr class="memdesc:ac40056e5c4b7ae3a022195cb447439b6"><td class="mdescLeft"> </td><td class="mdescRight">The potential matrix. <br /></td></tr>
|
||||
<tr class="separator:ac40056e5c4b7ae3a022195cb447439b6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a02052a447cf7fb49001e231d3a856814"><td class="memItemLeft" align="right" valign="top">arma::cx_mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">U</a></td></tr>
|
||||
<tr class="memdesc:a02052a447cf7fb49001e231d3a856814"><td class="mdescLeft"> </td><td class="mdescRight">The particle wave matrix. <br /></td></tr>
|
||||
<tr class="separator:a02052a447cf7fb49001e231d3a856814"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a3e7fa7128020c39d51fa933aa7706fd1"><td class="memItemLeft" align="right" valign="top">arma::sp_cx_mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">B</a></td></tr>
|
||||
<tr class="memdesc:a3e7fa7128020c39d51fa933aa7706fd1"><td class="mdescLeft"> </td><td class="mdescRight">The B matrix. <br /></td></tr>
|
||||
<tr class="separator:a3e7fa7128020c39d51fa933aa7706fd1"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a09e997b44ad67b6e3497d77704cd47e7"><td class="memItemLeft" align="right" valign="top">arma::sp_cx_mat </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">A</a></td></tr>
|
||||
<tr class="memdesc:a09e997b44ad67b6e3497d77704cd47e7"><td class="mdescLeft"> </td><td class="mdescRight">The A matrix. <br /></td></tr>
|
||||
<tr class="separator:a09e997b44ad67b6e3497d77704cd47e7"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a66f2d3a7d278888687822bc20df97f38"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">h</a></td></tr>
|
||||
<tr class="memdesc:a66f2d3a7d278888687822bc20df97f38"><td class="mdescLeft"> </td><td class="mdescRight">The step size in both x and y direction. <br /></td></tr>
|
||||
<tr class="separator:a66f2d3a7d278888687822bc20df97f38"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a07dbefef86c9ed894d526eea4b039be6"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">dt</a></td></tr>
|
||||
<tr class="memdesc:a07dbefef86c9ed894d526eea4b039be6"><td class="mdescLeft"> </td><td class="mdescRight">The step size int the time direction. <br /></td></tr>
|
||||
<tr class="separator:a07dbefef86c9ed894d526eea4b039be6"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:aebd53edf928035c7a2438cdd3b1d7d7e"><td class="memItemLeft" align="right" valign="top">double </td><td class="memItemRight" valign="bottom"><a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">T</a></td></tr>
|
||||
<tr class="memdesc:aebd53edf928035c7a2438cdd3b1d7d7e"><td class="mdescLeft"> </td><td class="mdescRight">The end time. <br /></td></tr>
|
||||
<tr class="separator:aebd53edf928035c7a2438cdd3b1d7d7e"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Simulate the evolution of a wave packet in 2 + 1 domensions. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00022">22</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
|
||||
<a id="acb9ed0a8b77ef23ad8682fdef00b5076" name="acb9ed0a8b77ef23ad8682fdef00b5076"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acb9ed0a8b77ef23ad8682fdef00b5076">◆ </a></span>WaveSimulation() <span class="overload">[1/2]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">WaveSimulation::WaveSimulation </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>h</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>dt</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>T</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>x_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>y_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>thickness</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>pos_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>ap_sep</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>ap</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint32_t </td>
|
||||
<td class="paramname"><em>slits</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Constructor for the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">h</td><td>The step size in the x and y direction. </td></tr>
|
||||
<tr><td class="paramname">dt</td><td>The step size in the temporal dimension. </td></tr>
|
||||
<tr><td class="paramname">T</td><td>The total time to simulate. </td></tr>
|
||||
<tr><td class="paramname">x_c</td><td>The center of the packet in the x direction. </td></tr>
|
||||
<tr><td class="paramname">y_c</td><td>The center of the packet in the y direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_x</td><td>The The initial width in the x direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_y</td><td>The The initial width in the y direction. </td></tr>
|
||||
<tr><td class="paramname">p_x</td><td>The wave packet momentum in the x direction. </td></tr>
|
||||
<tr><td class="paramname">p_y</td><td>The wave packet momentum in the y direction. </td></tr>
|
||||
<tr><td class="paramname">thickness</td><td>The thickness of the wall in the x direction. </td></tr>
|
||||
<tr><td class="paramname">pos_x</td><td>The center of the wall in the x direction. </td></tr>
|
||||
<tr><td class="paramname">ap_sep</td><td>The separation between each aperture. </td></tr>
|
||||
<tr><td class="paramname">ap</td><td>The aperture width. </td></tr>
|
||||
<tr><td class="paramname">slits</td><td>The number of slits. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a94cf5bb27a79ceefdcc1456704ba17e4" name="a94cf5bb27a79ceefdcc1456704ba17e4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a94cf5bb27a79ceefdcc1456704ba17e4">◆ </a></span>WaveSimulation() <span class="overload">[2/2]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">WaveSimulation::WaveSimulation </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>h</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>dt</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>T</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>x_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>y_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Constructor for the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class with no wall. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">h</td><td>The step size in the x and y direction. </td></tr>
|
||||
<tr><td class="paramname">dt</td><td>The step size in the temporal dimension. </td></tr>
|
||||
<tr><td class="paramname">T</td><td>The total time to simulate. </td></tr>
|
||||
<tr><td class="paramname">x_c</td><td>The center of the packet in the x direction. </td></tr>
|
||||
<tr><td class="paramname">y_c</td><td>The center of the packet in the y direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_x</td><td>The The initial width in the x direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_y</td><td>The The initial width in the y direction. </td></tr>
|
||||
<tr><td class="paramname">p_x</td><td>The wave packet momentum in the x direction. </td></tr>
|
||||
<tr><td class="paramname">p_y</td><td>The wave packet momentum in the y direction. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Function Documentation</h2>
|
||||
<a id="aed4433e3c80ceaad874471a994b6bf0e" name="aed4433e3c80ceaad874471a994b6bf0e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aed4433e3c80ceaad874471a994b6bf0e">◆ </a></span>initialize_U()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::initialize_U </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>x_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>y_c</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>sigma_y</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>p_y</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Initialize the U matrix using an unormalized Gaussian wave packet. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">x_c</td><td>The center of the packet in the x direction. </td></tr>
|
||||
<tr><td class="paramname">y_c</td><td>The center of the packet in the y direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_x</td><td>The The initial width in the x direction. </td></tr>
|
||||
<tr><td class="paramname">sigma_y</td><td>The The initial width in the y direction. </td></tr>
|
||||
<tr><td class="paramname">p_x</td><td>The wave packet momentum in the x direction. </td></tr>
|
||||
<tr><td class="paramname">p_y</td><td>The wave packet momentum in the y direction. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a657df266bf09298fcb1b901b25fb2498" name="a657df266bf09298fcb1b901b25fb2498"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a657df266bf09298fcb1b901b25fb2498">◆ </a></span>initialize_V()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::initialize_V </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>thickness</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>pos_x</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>aperture_separation</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">double </td>
|
||||
<td class="paramname"><em>aperture</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">uint32_t </td>
|
||||
<td class="paramname"><em>slits</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Initialize the V matrix. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">thickness</td><td>The thickness of the wall in the x direction. </td></tr>
|
||||
<tr><td class="paramname">pos_x</td><td>The center of the wall in the x direction. </td></tr>
|
||||
<tr><td class="paramname">ap_sep</td><td>The separation between each aperture. </td></tr>
|
||||
<tr><td class="paramname">ap</td><td>The aperture width. </td></tr>
|
||||
<tr><td class="paramname">slits</td><td>The number of slits. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="af0752a10a110644d99ef5c6cab7421c9" name="af0752a10a110644d99ef5c6cab7421c9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#af0752a10a110644d99ef5c6cab7421c9">◆ </a></span>probability_deviation()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::probability_deviation </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string </td>
|
||||
<td class="paramname"><em>outfile</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>write_each_step</em> = <code>false</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write the deviation of the sum of the probability of U from 1. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">outfile</td><td>The name of the file to write to to file </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a82742cffc7c344d705c6a532ed605b0c" name="a82742cffc7c344d705c6a532ed605b0c"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a82742cffc7c344d705c6a532ed605b0c">◆ </a></span>simulate() <span class="overload">[1/2]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::simulate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string </td>
|
||||
<td class="paramname"><em>outfile</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">bool </td>
|
||||
<td class="paramname"><em>write_each_step</em> = <code>false</code> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Evolve the wave packet until the time T has been reached and write U to file. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">outfile</td><td>The name of the file to write to </td></tr>
|
||||
<tr><td class="paramname">write_each_step</td><td>Boolean for deciding to write each step to file or just the last step </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ab142a9563a302f6cd4b015e3a388c1a4" name="ab142a9563a302f6cd4b015e3a388c1a4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ab142a9563a302f6cd4b015e3a388c1a4">◆ </a></span>simulate() <span class="overload">[2/2]</span></h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::simulate </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::string </td>
|
||||
<td class="paramname"><em>outfile</em>, </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="paramkey"></td>
|
||||
<td></td>
|
||||
<td class="paramtype">std::vector< double > & </td>
|
||||
<td class="paramname"><em>steps</em> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>)</td>
|
||||
<td></td><td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Evolve the wave packet and write U to fileto file at each time step in the vector given. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">outfile</td><td>The name of the file to write to </td></tr>
|
||||
<tr><td class="paramname">steps</td><td>What time steps to write U to file. </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="acb893267a27945645510d736cba2939d" name="acb893267a27945645510d736cba2939d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#acb893267a27945645510d736cba2939d">◆ </a></span>write_U()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void WaveSimulation::write_U </td>
|
||||
<td>(</td>
|
||||
<td class="paramtype">std::ofstream & </td>
|
||||
<td class="paramname"><em>ofile</em></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>Write the U matrix in a single line to the file buffer given. </p>
|
||||
<dl class="params"><dt>Parameters</dt><dd>
|
||||
<table class="params">
|
||||
<tr><td class="paramname">ofile</td><td>The file buffer to write to </td></tr>
|
||||
</table>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<h2 class="groupheader">Member Data Documentation</h2>
|
||||
<a id="a09e997b44ad67b6e3497d77704cd47e7" name="a09e997b44ad67b6e3497d77704cd47e7"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a09e997b44ad67b6e3497d77704cd47e7">◆ </a></span>A</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">arma::sp_cx_mat WaveSimulation::A</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The A matrix. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00029">29</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a3e7fa7128020c39d51fa933aa7706fd1" name="a3e7fa7128020c39d51fa933aa7706fd1"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a3e7fa7128020c39d51fa933aa7706fd1">◆ </a></span>B</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">arma::sp_cx_mat WaveSimulation::B</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The B matrix. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00028">28</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a07dbefef86c9ed894d526eea4b039be6" name="a07dbefef86c9ed894d526eea4b039be6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a07dbefef86c9ed894d526eea4b039be6">◆ </a></span>dt</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double WaveSimulation::dt</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The step size int the time direction. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00031">31</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a66f2d3a7d278888687822bc20df97f38" name="a66f2d3a7d278888687822bc20df97f38"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a66f2d3a7d278888687822bc20df97f38">◆ </a></span>h</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double WaveSimulation::h</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The step size in both x and y direction. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00030">30</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a2e7becba595a864b5754be9e858ac3e9" name="a2e7becba595a864b5754be9e858ac3e9"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a2e7becba595a864b5754be9e858ac3e9">◆ </a></span>M</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t WaveSimulation::M</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The size. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00024">24</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a36dda9ea37cc41e36c27f9729831786d" name="a36dda9ea37cc41e36c27f9729831786d"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a36dda9ea37cc41e36c27f9729831786d">◆ </a></span>N</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int32_t WaveSimulation::N</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The size of the inner part. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00025">25</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="aebd53edf928035c7a2438cdd3b1d7d7e" name="aebd53edf928035c7a2438cdd3b1d7d7e"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#aebd53edf928035c7a2438cdd3b1d7d7e">◆ </a></span>T</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">double WaveSimulation::T</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The end time. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00032">32</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a02052a447cf7fb49001e231d3a856814" name="a02052a447cf7fb49001e231d3a856814"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a02052a447cf7fb49001e231d3a856814">◆ </a></span>U</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">arma::cx_mat WaveSimulation::U</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The particle wave matrix. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00027">27</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ac40056e5c4b7ae3a022195cb447439b6" name="ac40056e5c4b7ae3a022195cb447439b6"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ac40056e5c4b7ae3a022195cb447439b6">◆ </a></span>V</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="mlabels">
|
||||
<tr>
|
||||
<td class="mlabels-left">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">arma::cx_mat WaveSimulation::V</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
<td class="mlabels-right">
|
||||
<span class="mlabels"><span class="mlabel">private</span></span> </td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p>The potential matrix. </p>
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="WaveSimulation_8hpp_source.html#l00026">26</a> of file <a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<hr/>The documentation for this class was generated from the following file:<ul>
|
||||
<li>include/<a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="classWaveSimulation.html">WaveSimulation</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
24
docs/classWaveSimulation.js
Normal file
@ -0,0 +1,24 @@
|
||||
var classWaveSimulation =
|
||||
[
|
||||
[ "WaveSimulation", "classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076", null ],
|
||||
[ "WaveSimulation", "classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4", null ],
|
||||
[ "initialize_A", "classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0", null ],
|
||||
[ "initialize_B", "classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7", null ],
|
||||
[ "initialize_U", "classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e", null ],
|
||||
[ "initialize_V", "classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca", null ],
|
||||
[ "initialize_V", "classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498", null ],
|
||||
[ "probability_deviation", "classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9", null ],
|
||||
[ "simulate", "classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c", null ],
|
||||
[ "simulate", "classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4", null ],
|
||||
[ "step", "classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f", null ],
|
||||
[ "write_U", "classWaveSimulation.html#acb893267a27945645510d736cba2939d", null ],
|
||||
[ "A", "classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7", null ],
|
||||
[ "B", "classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1", null ],
|
||||
[ "dt", "classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6", null ],
|
||||
[ "h", "classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38", null ],
|
||||
[ "M", "classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9", null ],
|
||||
[ "N", "classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d", null ],
|
||||
[ "T", "classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e", null ],
|
||||
[ "U", "classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814", null ],
|
||||
[ "V", "classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6", null ]
|
||||
];
|
||||
119
docs/classes.html
Normal file
@ -0,0 +1,119 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Class Index</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('classes.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">Class Index</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="qindex"><a class="qindex" href="#letter_W">W</a></div>
|
||||
<div class="classindex">
|
||||
<dl class="classindex even">
|
||||
<dt class="alphachar"><a id="letter_W" name="letter_W">W</a></dt>
|
||||
<dd><a class="el" href="classWaveSimulation.html">WaveSimulation</a></dd></dl>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
BIN
docs/closed.png
Normal file
|
After Width: | Height: | Size: 132 B |
153
docs/constants_8hpp.html
Normal file
@ -0,0 +1,153 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/constants.hpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('constants_8hpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#define-members">Macros</a> </div>
|
||||
<div class="headertitle"><div class="title">constants.hpp File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Library of constants.
|
||||
<a href="#details">More...</a></p>
|
||||
|
||||
<p><a href="constants_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="define-members" name="define-members"></a>
|
||||
Macros</h2></td></tr>
|
||||
<tr class="memitem:a60ef6e1bcfabb95cfeb300e1d03ce470"><td class="memItemLeft" align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8hpp.html#a60ef6e1bcfabb95cfeb300e1d03ce470">I</a>   std::complex<double>{0., 1.}</td></tr>
|
||||
<tr class="separator:a60ef6e1bcfabb95cfeb300e1d03ce470"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Library of constants. </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Cory Alexander Balaton (coryab) </dd>
|
||||
<dd>
|
||||
Janita Ovidie Sandtrøen Willumsen (janitaws)</dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>1.0</dd></dl>
|
||||
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000001">Bug:</a></b></dt><dd>No known bugs </dd></dl>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="constants_8hpp_source.html">constants.hpp</a>.</p>
|
||||
</div><h2 class="groupheader">Macro Definition Documentation</h2>
|
||||
<a id="a60ef6e1bcfabb95cfeb300e1d03ce470" name="a60ef6e1bcfabb95cfeb300e1d03ce470"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a60ef6e1bcfabb95cfeb300e1d03ce470">◆ </a></span>I</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">#define I   std::complex<double>{0., 1.}</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="constants_8hpp_source.html#l00015">15</a> of file <a class="el" href="constants_8hpp_source.html">constants.hpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="constants_8hpp.html">constants.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
121
docs/constants_8hpp_source.html
Normal file
@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/constants.hpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('constants_8hpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">constants.hpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="constants_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifndef __CONST__</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define __CONST__</span></div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#define I std::complex<double>{0., 1.}</span></div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="constants_8hpp.html">constants.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
124
docs/dir_68267d1309a1af8e8297ef4c3efbcdba.html
Normal file
@ -0,0 +1,124 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: src Directory Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('dir_68267d1309a1af8e8297ef4c3efbcdba.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">src Directory Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="files" name="files"></a>
|
||||
Files</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html">main.cpp</a> <a href="main_8cpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:main_8cpp"><td class="mdescLeft"> </td><td class="mdescRight">The main program. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="wave__simulation_8cpp.html">wave_simulation.cpp</a> <a href="wave__simulation_8cpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:wave__simulation_8cpp"><td class="mdescLeft"> </td><td class="mdescRight">A program to generate wave simulation data. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
5
docs/dir_68267d1309a1af8e8297ef4c3efbcdba.js
Normal file
@ -0,0 +1,5 @@
|
||||
var dir_68267d1309a1af8e8297ef4c3efbcdba =
|
||||
[
|
||||
[ "main.cpp", "main_8cpp.html", null ],
|
||||
[ "wave_simulation.cpp", "wave__simulation_8cpp.html", null ]
|
||||
];
|
||||
133
docs/dir_d44c64559bbebec7f509842c48db8b23.html
Normal file
@ -0,0 +1,133 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include Directory Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('dir_d44c64559bbebec7f509842c48db8b23.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">include Directory Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="files" name="files"></a>
|
||||
Files</h2></td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="constants_8hpp.html">constants.hpp</a> <a href="constants_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:constants_8hpp"><td class="mdescLeft"> </td><td class="mdescRight">Library of constants. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="literals_8hpp.html">literals.hpp</a> <a href="literals_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:literals_8hpp"><td class="mdescLeft"> </td><td class="mdescRight">Useful literals. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="testlib_8hpp.html">testlib.hpp</a> <a href="testlib_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:testlib_8hpp"><td class="mdescLeft"> </td><td class="mdescRight">A small test library. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="utils_8hpp.html">utils.hpp</a> <a href="utils_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:utils_8hpp"><td class="mdescLeft"> </td><td class="mdescRight">Function prototypes and macros that are useful. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">file  </td><td class="memItemRight" valign="bottom"><a class="el" href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a> <a href="WaveSimulation_8hpp_source.html">[code]</a></td></tr>
|
||||
<tr class="memdesc:WaveSimulation_8hpp"><td class="mdescLeft"> </td><td class="mdescRight">The definition of the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class. <br /></td></tr>
|
||||
<tr class="separator:"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
8
docs/dir_d44c64559bbebec7f509842c48db8b23.js
Normal file
@ -0,0 +1,8 @@
|
||||
var dir_d44c64559bbebec7f509842c48db8b23 =
|
||||
[
|
||||
[ "constants.hpp", "constants_8hpp.html", null ],
|
||||
[ "literals.hpp", "literals_8hpp.html", null ],
|
||||
[ "testlib.hpp", "testlib_8hpp.html", "testlib_8hpp" ],
|
||||
[ "utils.hpp", "utils_8hpp.html", "utils_8hpp" ],
|
||||
[ "WaveSimulation.hpp", "WaveSimulation_8hpp.html", "WaveSimulation_8hpp" ]
|
||||
];
|
||||
BIN
docs/doc.png
Normal file
|
After Width: | Height: | Size: 746 B |
BIN
docs/docd.png
Normal file
|
After Width: | Height: | Size: 756 B |
2530
docs/doxygen-awesome.css
Normal file
1665
docs/doxygen.css
Normal file
26
docs/doxygen.svg
Normal file
|
After Width: | Height: | Size: 15 KiB |
130
docs/dynsections.js
Normal file
@ -0,0 +1,130 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
function toggleVisibility(linkObj)
|
||||
{
|
||||
var base = $(linkObj).attr('id');
|
||||
var summary = $('#'+base+'-summary');
|
||||
var content = $('#'+base+'-content');
|
||||
var trigger = $('#'+base+'-trigger');
|
||||
var src=$(trigger).attr('src');
|
||||
if (content.is(':visible')===true) {
|
||||
content.hide();
|
||||
summary.show();
|
||||
$(linkObj).addClass('closed').removeClass('opened');
|
||||
$(trigger).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||
} else {
|
||||
content.show();
|
||||
summary.hide();
|
||||
$(linkObj).removeClass('closed').addClass('opened');
|
||||
$(trigger).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function updateStripes()
|
||||
{
|
||||
$('table.directory tr').
|
||||
removeClass('even').filter(':visible:even').addClass('even');
|
||||
$('table.directory tr').
|
||||
removeClass('odd').filter(':visible:odd').addClass('odd');
|
||||
}
|
||||
|
||||
function toggleLevel(level)
|
||||
{
|
||||
$('table.directory tr').each(function() {
|
||||
var l = this.id.split('_').length-1;
|
||||
var i = $('#img'+this.id.substring(3));
|
||||
var a = $('#arr'+this.id.substring(3));
|
||||
if (l<level+1) {
|
||||
i.removeClass('iconfopen iconfclosed').addClass('iconfopen');
|
||||
a.html('▼');
|
||||
$(this).show();
|
||||
} else if (l==level+1) {
|
||||
i.removeClass('iconfclosed iconfopen').addClass('iconfclosed');
|
||||
a.html('►');
|
||||
$(this).show();
|
||||
} else {
|
||||
$(this).hide();
|
||||
}
|
||||
});
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
function toggleFolder(id)
|
||||
{
|
||||
// the clicked row
|
||||
var currentRow = $('#row_'+id);
|
||||
|
||||
// all rows after the clicked row
|
||||
var rows = currentRow.nextAll("tr");
|
||||
|
||||
var re = new RegExp('^row_'+id+'\\d+_$', "i"); //only one sub
|
||||
|
||||
// only match elements AFTER this one (can't hide elements before)
|
||||
var childRows = rows.filter(function() { return this.id.match(re); });
|
||||
|
||||
// first row is visible we are HIDING
|
||||
if (childRows.filter(':first').is(':visible')===true) {
|
||||
// replace down arrow by right arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
currentRowSpans.filter(".arrow").html('►');
|
||||
rows.filter("[id^=row_"+id+"]").hide(); // hide all children
|
||||
} else { // we are SHOWING
|
||||
// replace right arrow by down arrow for current row
|
||||
var currentRowSpans = currentRow.find("span");
|
||||
currentRowSpans.filter(".iconfclosed").removeClass("iconfclosed").addClass("iconfopen");
|
||||
currentRowSpans.filter(".arrow").html('▼');
|
||||
// replace down arrows by right arrows for child rows
|
||||
var childRowsSpans = childRows.find("span");
|
||||
childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed");
|
||||
childRowsSpans.filter(".arrow").html('►');
|
||||
childRows.show(); //show all children
|
||||
}
|
||||
updateStripes();
|
||||
}
|
||||
|
||||
|
||||
function toggleInherit(id)
|
||||
{
|
||||
var rows = $('tr.inherit.'+id);
|
||||
var img = $('tr.inherit_header.'+id+' img');
|
||||
var src = $(img).attr('src');
|
||||
if (rows.filter(':first').is(':visible')===true) {
|
||||
rows.css('display','none');
|
||||
$(img).attr('src',src.substring(0,src.length-8)+'closed.png');
|
||||
} else {
|
||||
rows.css('display','table-row'); // using show() causes jump in firefox
|
||||
$(img).attr('src',src.substring(0,src.length-10)+'open.png');
|
||||
}
|
||||
}
|
||||
/* @license-end */
|
||||
$(document).ready(function() {
|
||||
$('.code,.codeRef').each(function() {
|
||||
$(this).data('powertip',$('#a'+$(this).attr('href').replace(/.*\//,'').replace(/[^a-z_A-Z0-9]/g,'_')).html());
|
||||
$.fn.powerTip.smartPlacementLists.s = [ 's', 'n', 'ne', 'se' ];
|
||||
$(this).powerTip({ placement: 's', smartPlacement: true, mouseOnToPopup: true });
|
||||
});
|
||||
});
|
||||
126
docs/files.html
Normal file
@ -0,0 +1,126 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: File List</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('files.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">File List</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all documented files with brief descriptions:</div><div class="directory">
|
||||
<div class="levels">[detail level <span onclick="javascript:toggleLevel(1);">1</span><span onclick="javascript:toggleLevel(2);">2</span>]</div><table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_0_" class="arrow" onclick="toggleFolder('0_')">▼</span><span id="img_0_" class="iconfopen" onclick="toggleFolder('0_')"> </span><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html" target="_self">include</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_0_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="constants_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="constants_8hpp.html" target="_self">constants.hpp</a></td><td class="desc">Library of constants </td></tr>
|
||||
<tr id="row_0_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="literals_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="literals_8hpp.html" target="_self">literals.hpp</a></td><td class="desc">Useful literals </td></tr>
|
||||
<tr id="row_0_2_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="testlib_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="testlib_8hpp.html" target="_self">testlib.hpp</a></td><td class="desc">A small test library </td></tr>
|
||||
<tr id="row_0_3_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="utils_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="utils_8hpp.html" target="_self">utils.hpp</a></td><td class="desc">Function prototypes and macros that are useful </td></tr>
|
||||
<tr id="row_0_4_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="WaveSimulation_8hpp_source.html"><span class="icondoc"></span></a><a class="el" href="WaveSimulation_8hpp.html" target="_self">WaveSimulation.hpp</a></td><td class="desc">The definition of the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class </td></tr>
|
||||
<tr id="row_1_" class="even"><td class="entry"><span style="width:0px;display:inline-block;"> </span><span id="arr_1_" class="arrow" onclick="toggleFolder('1_')">▼</span><span id="img_1_" class="iconfopen" onclick="toggleFolder('1_')"> </span><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html" target="_self">src</a></td><td class="desc"></td></tr>
|
||||
<tr id="row_1_0_" class="odd"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="main_8cpp_source.html"><span class="icondoc"></span></a><a class="el" href="main_8cpp.html" target="_self">main.cpp</a></td><td class="desc">The main program </td></tr>
|
||||
<tr id="row_1_1_" class="even"><td class="entry"><span style="width:32px;display:inline-block;"> </span><a href="wave__simulation_8cpp_source.html"><span class="icondoc"></span></a><a class="el" href="wave__simulation_8cpp.html" target="_self">wave_simulation.cpp</a></td><td class="desc">A program to generate wave simulation data </td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
5
docs/files_dup.js
Normal file
@ -0,0 +1,5 @@
|
||||
var files_dup =
|
||||
[
|
||||
[ "include", "dir_d44c64559bbebec7f509842c48db8b23.html", "dir_d44c64559bbebec7f509842c48db8b23" ],
|
||||
[ "src", "dir_68267d1309a1af8e8297ef4c3efbcdba.html", "dir_68267d1309a1af8e8297ef4c3efbcdba" ]
|
||||
];
|
||||
BIN
docs/folderclosed.png
Normal file
|
After Width: | Height: | Size: 616 B |
BIN
docs/folderopen.png
Normal file
|
After Width: | Height: | Size: 597 B |
130
docs/functions.html
Normal file
@ -0,0 +1,130 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Class Members</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('functions.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all documented class members with links to the class documentation for each member:</div><ul>
|
||||
<li>A : <a class="el" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">WaveSimulation</a></li>
|
||||
<li>B : <a class="el" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">WaveSimulation</a></li>
|
||||
<li>dt : <a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">WaveSimulation</a></li>
|
||||
<li>h : <a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">WaveSimulation</a></li>
|
||||
<li>initialize_A() : <a class="el" href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0">WaveSimulation</a></li>
|
||||
<li>initialize_B() : <a class="el" href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7">WaveSimulation</a></li>
|
||||
<li>initialize_U() : <a class="el" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">WaveSimulation</a></li>
|
||||
<li>initialize_V() : <a class="el" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">WaveSimulation</a></li>
|
||||
<li>M : <a class="el" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">WaveSimulation</a></li>
|
||||
<li>N : <a class="el" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">WaveSimulation</a></li>
|
||||
<li>probability_deviation() : <a class="el" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">WaveSimulation</a></li>
|
||||
<li>simulate() : <a class="el" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">WaveSimulation</a></li>
|
||||
<li>step() : <a class="el" href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f">WaveSimulation</a></li>
|
||||
<li>T : <a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">WaveSimulation</a></li>
|
||||
<li>U : <a class="el" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">WaveSimulation</a></li>
|
||||
<li>V : <a class="el" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">WaveSimulation</a></li>
|
||||
<li>WaveSimulation() : <a class="el" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation</a></li>
|
||||
<li>write_U() : <a class="el" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">WaveSimulation</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
121
docs/functions_func.html
Normal file
@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Class Members - Functions</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('functions_func.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>initialize_A() : <a class="el" href="classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0">WaveSimulation</a></li>
|
||||
<li>initialize_B() : <a class="el" href="classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7">WaveSimulation</a></li>
|
||||
<li>initialize_U() : <a class="el" href="classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e">WaveSimulation</a></li>
|
||||
<li>initialize_V() : <a class="el" href="classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498">WaveSimulation</a></li>
|
||||
<li>probability_deviation() : <a class="el" href="classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9">WaveSimulation</a></li>
|
||||
<li>simulate() : <a class="el" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">WaveSimulation</a></li>
|
||||
<li>step() : <a class="el" href="classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f">WaveSimulation</a></li>
|
||||
<li>WaveSimulation() : <a class="el" href="classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076">WaveSimulation</a></li>
|
||||
<li>write_U() : <a class="el" href="classWaveSimulation.html#acb893267a27945645510d736cba2939d">WaveSimulation</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
121
docs/functions_vars.html
Normal file
@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Class Members - Variables</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('functions_vars.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>A : <a class="el" href="classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7">WaveSimulation</a></li>
|
||||
<li>B : <a class="el" href="classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1">WaveSimulation</a></li>
|
||||
<li>dt : <a class="el" href="classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6">WaveSimulation</a></li>
|
||||
<li>h : <a class="el" href="classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38">WaveSimulation</a></li>
|
||||
<li>M : <a class="el" href="classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9">WaveSimulation</a></li>
|
||||
<li>N : <a class="el" href="classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d">WaveSimulation</a></li>
|
||||
<li>T : <a class="el" href="classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e">WaveSimulation</a></li>
|
||||
<li>U : <a class="el" href="classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814">WaveSimulation</a></li>
|
||||
<li>V : <a class="el" href="classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6">WaveSimulation</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
115
docs/globals.html
Normal file
@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: File Members</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('globals.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all documented file members with links to the documentation:</div><ul>
|
||||
<li>__METHOD_NAME__ : <a class="el" href="utils_8hpp.html#a60dca3177fb9cb5256609adc7af55168">utils.hpp</a></li>
|
||||
<li>ASSERT : <a class="el" href="testlib_8hpp.html#a73d4f21ad937dbc50a0c0538c78fd4f9">testlib.hpp</a></li>
|
||||
<li>DEBUG : <a class="el" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">utils.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
115
docs/globals_defs.html
Normal file
@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: File Members</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('globals_defs.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="contents">
|
||||
 <ul>
|
||||
<li>__METHOD_NAME__ : <a class="el" href="utils_8hpp.html#a60dca3177fb9cb5256609adc7af55168">utils.hpp</a></li>
|
||||
<li>ASSERT : <a class="el" href="testlib_8hpp.html#a73d4f21ad937dbc50a0c0538c78fd4f9">testlib.hpp</a></li>
|
||||
<li>DEBUG : <a class="el" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">utils.hpp</a></li>
|
||||
</ul>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
192
docs/index.html
Normal file
@ -0,0 +1,192 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('index.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div><div class="header">
|
||||
<div class="headertitle"><div class="title">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions </div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><p><a class="anchor" id="md_README"></a> <a href="https://gitea.balaton.dev/FYS3150/Project-5">Gitea repo</a></p>
|
||||
<p><a href="https://github.uio.no/FYS3150-G2-2023/Project-5">GitHub repo</a></p>
|
||||
<p><a href="https://pages.github.uio.no/FYS3150-G2-2023/Project-5/">Documentation</a></p>
|
||||
<div class="image">
|
||||
<img src="animation.gif" alt=""/>
|
||||
<div class="caption">
|
||||
Double slit animation</div></div>
|
||||
<h1><a class="anchor" id="autotoc_md1"></a>
|
||||
Requirements</h1>
|
||||
<h2><a class="anchor" id="autotoc_md2"></a>
|
||||
Operating systems</h2>
|
||||
<ul>
|
||||
<li>Linux<ul>
|
||||
<li>Has been tested on <a href="https://fedoraproject.org/">Fedora 38</a></li>
|
||||
<li>Will most likely work on other Linux distributions</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>macOS<ul>
|
||||
<li>Will most likely not work due to the use of getopt, which is GNU specific.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Windows<ul>
|
||||
<li>Will most likely not work</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h2><a class="anchor" id="autotoc_md3"></a>
|
||||
Libraries</h2>
|
||||
<ul>
|
||||
<li>Python<ul>
|
||||
<li><a href="https://matplotlib.org/">matplotlib</a></li>
|
||||
<li><a href="https://numpy.org/">numpy</a></li>
|
||||
<li><a href="https://seaborn.pydata.org/">seaborn</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>C++<ul>
|
||||
<li><a href="https://arma.sourceforge.net/">Armadillo</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<h1><a class="anchor" id="autotoc_md4"></a>
|
||||
Compiling</h1>
|
||||
<p>The commands shown here should be run from the root of this project.</p>
|
||||
<h2><a class="anchor" id="autotoc_md5"></a>
|
||||
Normal binaries</h2>
|
||||
<p>Compiling regular binaries is as easy as running this command:</p>
|
||||
<div class="fragment"><div class="line">make</div>
|
||||
</div><!-- fragment --><p>The binaries will then be inside the <b>bin</b> directory.</p>
|
||||
<h2><a class="anchor" id="autotoc_md6"></a>
|
||||
Debugging binaries</h2>
|
||||
<p>If you want to debug the code, then use this command:</p>
|
||||
<div class="fragment"><div class="line">make debug</div>
|
||||
</div><!-- fragment --><p>The binaries will then be inside the <b>debug</b> directory.</p>
|
||||
<h1><a class="anchor" id="autotoc_md7"></a>
|
||||
Running programs</h1>
|
||||
<h2><a class="anchor" id="autotoc_md8"></a>
|
||||
C++ binaries</h2>
|
||||
<p>To run any of the programs, just use the following command:</p>
|
||||
<div class="fragment"><div class="line">./<bin|debug>/<program-name> <args></div>
|
||||
</div><!-- fragment --><p>For the <b>wave_simulation</b> program, you can use a file where each line contains a configuration for the <a class="el" href="classWaveSimulation.html" title="Simulate the evolution of a wave packet in 2 + 1 domensions.">WaveSimulation</a> class and what to output to a file. This different values should be separated by semicolons. Here is the order of what variables should be in one line: </p><pre class="fragment">h; dt; T; x_c; y_c; sigma_x; sigma_y; p_x; p_y; <thickness; pos_x; ap_sep; ap; slits>; <write_each step || the steps to write to file>
|
||||
</pre><p> where <> is optional.</p>
|
||||
<p>An example of a file can be found under the args directory.</p>
|
||||
<h2><a class="anchor" id="autotoc_md9"></a>
|
||||
Python scripts</h2>
|
||||
<h3><a class="anchor" id="autotoc_md10"></a>
|
||||
Install libraries</h3>
|
||||
<p>Before running the scripts, make sure that all libraries are installed. Using pip, you can install all requirements like this:</p>
|
||||
<div class="fragment"><div class="line">pip install -r requirements.txt</div>
|
||||
</div><!-- fragment --><p>This recursively install all the packages that are listed in <b>requirements.txt</b>.</p>
|
||||
<h3><a class="anchor" id="autotoc_md11"></a>
|
||||
Running scripts</h3>
|
||||
<p>For the Python scripts, run them from the root of the project:</p>
|
||||
<div class="fragment"><div class="line">python python_scripts/<script-name></div>
|
||||
</div><!-- fragment --><p>If you have any problems running the scripts, you might have to run this instead:</p>
|
||||
<div class="fragment"><div class="line">python3 python_scripts/<script-name></div>
|
||||
</div><!-- fragment --><h1><a class="anchor" id="autotoc_md12"></a>
|
||||
Credits</h1>
|
||||
<p>The Doxygen theme used here is <a href="https://github.com/jothepro/doxygen-awesome-css">doxygen-awesome-css</a>. </p>
|
||||
</div></div><!-- PageDoc -->
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
34
docs/jquery.js
vendored
Normal file
138
docs/literals_8hpp.html
Normal file
@ -0,0 +1,138 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/literals.hpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('literals_8hpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">literals.hpp File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Useful literals.
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include <complex></code><br />
|
||||
</div>
|
||||
<p><a href="literals_8hpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a8bcf0119443de94dc453c2f2dafefc9d"><td class="memItemLeft" align="right" valign="top"><a id="a8bcf0119443de94dc453c2f2dafefc9d" name="a8bcf0119443de94dc453c2f2dafefc9d"></a>
|
||||
std::complex< double > </td><td class="memItemRight" valign="bottom"><b>operator""_i</b> (long double magnitude)</td></tr>
|
||||
<tr class="separator:a8bcf0119443de94dc453c2f2dafefc9d"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Useful literals. </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Cory Alexander Balaton (coryab) </dd>
|
||||
<dd>
|
||||
Janita Ovidie Sandtrøen Willumsen (janitaws)</dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>1.0</dd></dl>
|
||||
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000002">Bug:</a></b></dt><dd>No known bugs </dd></dl>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="literals_8hpp_source.html">literals.hpp</a>.</p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="literals_8hpp.html">literals.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
123
docs/literals_8hpp_source.html
Normal file
@ -0,0 +1,123 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: include/literals.hpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('literals_8hpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">literals.hpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="literals_8hpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#ifndef __LITERALS__</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#define __LITERALS__</span></div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <complex></span></div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span>std::complex<double> <span class="keyword">operator</span> <span class="stringliteral">""</span>_i(<span class="keywordtype">long</span> <span class="keywordtype">double</span> magnitude);</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span> </div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span><span class="preprocessor">#endif</span></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="literals_8hpp.html">literals.hpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
243
docs/main_8cpp.html
Normal file
@ -0,0 +1,243 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: src/main.cpp File Reference</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('main_8cpp.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="summary">
|
||||
<a href="#func-members">Functions</a> </div>
|
||||
<div class="headertitle"><div class="title">main.cpp File Reference</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>The main program.
|
||||
<a href="#details">More...</a></p>
|
||||
<div class="textblock"><code>#include "<a class="el" href="WaveSimulation_8hpp_source.html">WaveSimulation.hpp</a>"</code><br />
|
||||
<code>#include "<a class="el" href="utils_8hpp_source.html">utils.hpp</a>"</code><br />
|
||||
<code>#include <fstream></code><br />
|
||||
</div>
|
||||
<p><a href="main_8cpp_source.html">Go to the source code of this file.</a></p>
|
||||
<table class="memberdecls">
|
||||
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="func-members" name="func-members"></a>
|
||||
Functions</h2></td></tr>
|
||||
<tr class="memitem:a32f6d94ffc998867c45d4f5c56dfbeab"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a32f6d94ffc998867c45d4f5c56dfbeab">probability_deviation</a> ()</td></tr>
|
||||
<tr class="separator:a32f6d94ffc998867c45d4f5c56dfbeab"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a26ece0f99a529fdc2fff951c15c78eb4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a26ece0f99a529fdc2fff951c15c78eb4">color_map</a> ()</td></tr>
|
||||
<tr class="separator:a26ece0f99a529fdc2fff951c15c78eb4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:accf163fd68bac120403784dd0abb7422"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#accf163fd68bac120403784dd0abb7422">detector_screen</a> ()</td></tr>
|
||||
<tr class="separator:accf163fd68bac120403784dd0abb7422"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:a039d55c986652a41321402fe8e41baa5"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a039d55c986652a41321402fe8e41baa5">animation</a> ()</td></tr>
|
||||
<tr class="separator:a039d55c986652a41321402fe8e41baa5"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
<tr class="memitem:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memItemLeft" align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main</a> ()</td></tr>
|
||||
<tr class="separator:ae66f6b31b5ad750f1fe042a706a4e3d4"><td class="memSeparator" colspan="2"> </td></tr>
|
||||
</table>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>The main program. </p>
|
||||
<dl class="section author"><dt>Author</dt><dd>Cory Alexander Balaton (coryab) </dd>
|
||||
<dd>
|
||||
Janita Ovidie Sandtrøen Willumsen (janitaws)</dd></dl>
|
||||
<dl class="section version"><dt>Version</dt><dd>1.0</dd></dl>
|
||||
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000006">Bug:</a></b></dt><dd>No known bugs </dd></dl>
|
||||
|
||||
<p class="definition">Definition in file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
</div><h2 class="groupheader">Function Documentation</h2>
|
||||
<a id="a039d55c986652a41321402fe8e41baa5" name="a039d55c986652a41321402fe8e41baa5"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a039d55c986652a41321402fe8e41baa5">◆ </a></span>animation()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void animation </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="main_8cpp_source.html#l00064">64</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a26ece0f99a529fdc2fff951c15c78eb4" name="a26ece0f99a529fdc2fff951c15c78eb4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a26ece0f99a529fdc2fff951c15c78eb4">◆ </a></span>color_map()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void color_map </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="main_8cpp_source.html#l00035">35</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="accf163fd68bac120403784dd0abb7422" name="accf163fd68bac120403784dd0abb7422"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#accf163fd68bac120403784dd0abb7422">◆ </a></span>detector_screen()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void detector_screen </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="main_8cpp_source.html#l00044">44</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="ae66f6b31b5ad750f1fe042a706a4e3d4" name="ae66f6b31b5ad750f1fe042a706a4e3d4"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#ae66f6b31b5ad750f1fe042a706a4e3d4">◆ </a></span>main()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">int main </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="main_8cpp_source.html#l00073">73</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<a id="a32f6d94ffc998867c45d4f5c56dfbeab" name="a32f6d94ffc998867c45d4f5c56dfbeab"></a>
|
||||
<h2 class="memtitle"><span class="permalink"><a href="#a32f6d94ffc998867c45d4f5c56dfbeab">◆ </a></span>probability_deviation()</h2>
|
||||
|
||||
<div class="memitem">
|
||||
<div class="memproto">
|
||||
<table class="memname">
|
||||
<tr>
|
||||
<td class="memname">void probability_deviation </td>
|
||||
<td>(</td>
|
||||
<td class="paramname"></td><td>)</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div><div class="memdoc">
|
||||
|
||||
<p class="definition">Definition at line <a class="el" href="main_8cpp_source.html#l00017">17</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="main_8cpp.html">main.cpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
190
docs/main_8cpp_source.html
Normal file
@ -0,0 +1,190 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: src/main.cpp Source File</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('main_8cpp_source.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">main.cpp</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<a href="main_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno"> 1</span> </div>
|
||||
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno"> 12</span><span class="preprocessor">#include "<a class="code" href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a>"</span></div>
|
||||
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno"> 13</span><span class="preprocessor">#include "<a class="code" href="utils_8hpp.html">utils.hpp</a>"</span></div>
|
||||
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"> 14</span> </div>
|
||||
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"> 15</span><span class="preprocessor">#include <fstream></span></div>
|
||||
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno"> 16</span> </div>
|
||||
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno"> 17</span><span class="keywordtype">void</span> probability_deviation()</div>
|
||||
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"> 18</span>{</div>
|
||||
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"> 19</span> <a class="code hl_define" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">DEBUG</a>(<span class="stringliteral">"Sim no slits"</span>);</div>
|
||||
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"> 20</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> sim_no_slits(.005, 2.5e-5, .008, .25, .5, .05, .05, 200.,</div>
|
||||
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"> 21</span> 0.);</div>
|
||||
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno"> 22</span> </div>
|
||||
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno"> 23</span> <a class="code hl_define" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">DEBUG</a>(<span class="stringliteral">"Sim with slits"</span>);</div>
|
||||
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"> 24</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> sim_slits(.005, 2.5e-5, .008, .25, .5, .05, .10, 200., 0.,</div>
|
||||
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno"> 25</span> 0.02, .5, .05, .05, 2);</div>
|
||||
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno"> 26</span> </div>
|
||||
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno"> 27</span> <a class="code hl_define" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">DEBUG</a>(<span class="stringliteral">"Probability deviation"</span>);</div>
|
||||
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno"> 28</span> sim_no_slits.probability_deviation(</div>
|
||||
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno"> 29</span> <span class="stringliteral">"data/probability_deviation_no_slits.txt"</span>, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno"> 30</span> <a class="code hl_define" href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">DEBUG</a>(<span class="stringliteral">"Probability deviation with slits"</span>);</div>
|
||||
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno"> 31</span> sim_slits.probability_deviation(<span class="stringliteral">"data/probability_deviation_slits.txt"</span>,</div>
|
||||
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno"> 32</span> <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno"> 33</span>}</div>
|
||||
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno"> 34</span> </div>
|
||||
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno"> 35</span><span class="keywordtype">void</span> color_map()</div>
|
||||
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno"> 36</span>{</div>
|
||||
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno"> 37</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> sim(.005, 2.5e-5, .002, .25, .5, .05, .20, 200., 0., 0.02,</div>
|
||||
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno"> 38</span> .5, .05, .05, 2);</div>
|
||||
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno"> 39</span> </div>
|
||||
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno"> 40</span> std::vector<double> times{0., .001, .002};</div>
|
||||
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno"> 41</span> sim.simulate(<span class="stringliteral">"data/color_map.txt"</span>, times);</div>
|
||||
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno"> 42</span>}</div>
|
||||
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"> 43</span> </div>
|
||||
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno"> 44</span><span class="keywordtype">void</span> detector_screen()</div>
|
||||
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno"> 45</span>{</div>
|
||||
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno"> 46</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> *sim = <span class="keyword">new</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a>(</div>
|
||||
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno"> 47</span> .005, 2.5e-5, .002, .25, .5, .05, .20, 200., 0., 0.02, .5, .05, .05, 1);</div>
|
||||
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno"> 48</span> </div>
|
||||
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno"> 49</span> sim-><a class="code hl_function" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(<span class="stringliteral">"data/screen/single_slit.txt"</span>);</div>
|
||||
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno"> 50</span> </div>
|
||||
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno"> 51</span> <span class="keyword">delete</span> sim;</div>
|
||||
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno"> 52</span> sim = <span class="keyword">new</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a>(.005, 2.5e-5, .002, .25, .5, .05, .20, 200., 0.,</div>
|
||||
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno"> 53</span> 0.02, .5, .05, .05, 2);</div>
|
||||
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno"> 54</span> </div>
|
||||
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno"> 55</span> sim-><a class="code hl_function" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(<span class="stringliteral">"data/screen/double_slit.txt"</span>);</div>
|
||||
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno"> 56</span> </div>
|
||||
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno"> 57</span> <span class="keyword">delete</span> sim;</div>
|
||||
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno"> 58</span> sim = <span class="keyword">new</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a>(.005, 2.5e-5, .002, .25, .5, .05, .20, 200., 0.,</div>
|
||||
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno"> 59</span> 0.02, .5, .05, .05, 3);</div>
|
||||
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno"> 60</span> </div>
|
||||
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno"> 61</span> sim-><a class="code hl_function" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(<span class="stringliteral">"data/screen/triple_slit.txt"</span>);</div>
|
||||
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno"> 62</span>}</div>
|
||||
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno"> 63</span> </div>
|
||||
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno"> 64</span><span class="keywordtype">void</span> animation()</div>
|
||||
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno"> 65</span>{</div>
|
||||
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno"> 66</span> std::ofstream ofile;</div>
|
||||
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno"> 67</span> ofile.open(<span class="stringliteral">"test.txt"</span>);</div>
|
||||
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno"> 68</span> <a class="code hl_class" href="classWaveSimulation.html">WaveSimulation</a> sim(.005, 2.5e-5, .008, .25, .5, .05, .10, 200., 0., 0.02,</div>
|
||||
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno"> 69</span> .5, .05, .05, 2);</div>
|
||||
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno"> 70</span> sim.<a class="code hl_function" href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">simulate</a>(<span class="stringliteral">"data/animation.txt"</span>, <span class="keyword">true</span>);</div>
|
||||
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno"> 71</span>}</div>
|
||||
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno"> 72</span> </div>
|
||||
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno"> 73</span><span class="keywordtype">int</span> main()</div>
|
||||
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno"> 74</span>{</div>
|
||||
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno"> 75</span> probability_deviation();</div>
|
||||
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno"> 76</span> color_map();</div>
|
||||
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno"> 77</span> detector_screen();</div>
|
||||
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno"> 78</span> animation();</div>
|
||||
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"> 79</span> </div>
|
||||
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno"> 80</span> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno"> 81</span>}</div>
|
||||
<div class="ttc" id="aWaveSimulation_8hpp_html"><div class="ttname"><a href="WaveSimulation_8hpp.html">WaveSimulation.hpp</a></div><div class="ttdoc">The definition of the WaveSimulation class.</div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html"><div class="ttname"><a href="classWaveSimulation.html">WaveSimulation</a></div><div class="ttdoc">Simulate the evolution of a wave packet in 2 + 1 domensions.</div><div class="ttdef"><b>Definition:</b> <a href="WaveSimulation_8hpp_source.html#l00022">WaveSimulation.hpp:22</a></div></div>
|
||||
<div class="ttc" id="aclassWaveSimulation_html_a82742cffc7c344d705c6a532ed605b0c"><div class="ttname"><a href="classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c">WaveSimulation::simulate</a></div><div class="ttdeci">void simulate(std::string outfile, bool write_each_step=false)</div><div class="ttdoc">Evolve the wave packet until the time T has been reached and write U to file.</div></div>
|
||||
<div class="ttc" id="autils_8hpp_html"><div class="ttname"><a href="utils_8hpp.html">utils.hpp</a></div><div class="ttdoc">Function prototypes and macros that are useful.</div></div>
|
||||
<div class="ttc" id="autils_8hpp_html_aecc1f7a8a2493b9e021e5bff76a00a5b"><div class="ttname"><a href="utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b">DEBUG</a></div><div class="ttdeci">#define DEBUG(msg)</div><div class="ttdoc">Writes a debug message.</div><div class="ttdef"><b>Definition:</b> <a href="utils_8hpp_source.html#l00039">utils.hpp:39</a></div></div>
|
||||
</div><!-- fragment --></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="main_8cpp.html">main.cpp</a></li>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
136
docs/menu.js
Normal file
@ -0,0 +1,136 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
function initMenu(relPath,searchEnabled,serverSide,searchPage,search) {
|
||||
function makeTree(data,relPath) {
|
||||
var result='';
|
||||
if ('children' in data) {
|
||||
result+='<ul>';
|
||||
for (var i in data.children) {
|
||||
var url;
|
||||
var link;
|
||||
link = data.children[i].url;
|
||||
if (link.substring(0,1)=='^') {
|
||||
url = link.substring(1);
|
||||
} else {
|
||||
url = relPath+link;
|
||||
}
|
||||
result+='<li><a href="'+url+'">'+
|
||||
data.children[i].text+'</a>'+
|
||||
makeTree(data.children[i],relPath)+'</li>';
|
||||
}
|
||||
result+='</ul>';
|
||||
}
|
||||
return result;
|
||||
}
|
||||
var searchBoxHtml;
|
||||
if (searchEnabled) {
|
||||
if (serverSide) {
|
||||
searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
|
||||
'<div class="left">'+
|
||||
'<form id="FSearchBox" action="'+relPath+searchPage+
|
||||
'" method="get"><span id="MSearchSelectExt"> </span>'+
|
||||
'<input type="text" id="MSearchField" name="query" value="" placeholder="'+search+
|
||||
'" size="20" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)"'+
|
||||
' onblur="searchBox.OnSearchFieldFocus(false)"/>'+
|
||||
'</form>'+
|
||||
'</div>'+
|
||||
'<div class="right"></div>'+
|
||||
'</div>';
|
||||
} else {
|
||||
searchBoxHtml='<div id="MSearchBox" class="MSearchBoxInactive">'+
|
||||
'<span class="left">'+
|
||||
'<span id="MSearchSelect" onmouseover="return searchBox.OnSearchSelectShow()"'+
|
||||
' onmouseout="return searchBox.OnSearchSelectHide()"> </span>'+
|
||||
'<input type="text" id="MSearchField" value="" placeholder="'+search+
|
||||
'" accesskey="S" onfocus="searchBox.OnSearchFieldFocus(true)" '+
|
||||
'onblur="searchBox.OnSearchFieldFocus(false)" '+
|
||||
'onkeyup="searchBox.OnSearchFieldChange(event)"/>'+
|
||||
'</span>'+
|
||||
'<span class="right"><a id="MSearchClose" '+
|
||||
'href="javascript:searchBox.CloseResultsWindow()">'+
|
||||
'<img id="MSearchCloseImg" border="0" src="'+relPath+
|
||||
'search/close.svg" alt=""/></a>'+
|
||||
'</span>'+
|
||||
'</div>';
|
||||
}
|
||||
}
|
||||
|
||||
$('#main-nav').before('<div class="sm sm-dox"><input id="main-menu-state" type="checkbox"/>'+
|
||||
'<label class="main-menu-btn" for="main-menu-state">'+
|
||||
'<span class="main-menu-btn-icon"></span> '+
|
||||
'Toggle main menu visibility</label>'+
|
||||
'<span id="searchBoxPos1" style="position:absolute;right:8px;top:8px;height:36px;"></span>'+
|
||||
'</div>');
|
||||
$('#main-nav').append(makeTree(menudata,relPath));
|
||||
$('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu');
|
||||
if (searchBoxHtml) {
|
||||
$('#main-menu').append('<li id="searchBoxPos2" style="float:right"></li>');
|
||||
}
|
||||
var $mainMenuState = $('#main-menu-state');
|
||||
var prevWidth = 0;
|
||||
if ($mainMenuState.length) {
|
||||
function initResizableIfExists() {
|
||||
if (typeof initResizable==='function') initResizable();
|
||||
}
|
||||
// animate mobile menu
|
||||
$mainMenuState.change(function(e) {
|
||||
var $menu = $('#main-menu');
|
||||
var options = { duration: 250, step: initResizableIfExists };
|
||||
if (this.checked) {
|
||||
options['complete'] = function() { $menu.css('display', 'block') };
|
||||
$menu.hide().slideDown(options);
|
||||
} else {
|
||||
options['complete'] = function() { $menu.css('display', 'none') };
|
||||
$menu.show().slideUp(options);
|
||||
}
|
||||
});
|
||||
// set default menu visibility
|
||||
function resetState() {
|
||||
var $menu = $('#main-menu');
|
||||
var $mainMenuState = $('#main-menu-state');
|
||||
var newWidth = $(window).outerWidth();
|
||||
if (newWidth!=prevWidth) {
|
||||
if ($(window).outerWidth()<768) {
|
||||
$mainMenuState.prop('checked',false); $menu.hide();
|
||||
$('#searchBoxPos1').html(searchBoxHtml);
|
||||
$('#searchBoxPos2').hide();
|
||||
} else {
|
||||
$menu.show();
|
||||
$('#searchBoxPos1').empty();
|
||||
$('#searchBoxPos2').html(searchBoxHtml);
|
||||
$('#searchBoxPos2').show();
|
||||
}
|
||||
if (typeof searchBox!=='undefined') {
|
||||
searchBox.CloseResultsWindow();
|
||||
}
|
||||
prevWidth = newWidth;
|
||||
}
|
||||
}
|
||||
$(window).ready(function() { resetState(); initResizableIfExists(); });
|
||||
$(window).resize(resetState);
|
||||
}
|
||||
$('#main-menu').smartmenus();
|
||||
}
|
||||
/* @license-end */
|
||||
39
docs/menudata.js
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
var menudata={children:[
|
||||
{text:"Main Page",url:"index.html"},
|
||||
{text:"Related Pages",url:"pages.html"},
|
||||
{text:"Classes",url:"annotated.html",children:[
|
||||
{text:"Class List",url:"annotated.html"},
|
||||
{text:"Class Index",url:"classes.html"},
|
||||
{text:"Class Members",url:"functions.html",children:[
|
||||
{text:"All",url:"functions.html"},
|
||||
{text:"Functions",url:"functions_func.html"},
|
||||
{text:"Variables",url:"functions_vars.html"}]}]},
|
||||
{text:"Files",url:"files.html",children:[
|
||||
{text:"File List",url:"files.html"},
|
||||
{text:"File Members",url:"globals.html",children:[
|
||||
{text:"All",url:"globals.html"},
|
||||
{text:"Macros",url:"globals_defs.html"}]}]}]}
|
||||
BIN
docs/nav_f.png
Normal file
|
After Width: | Height: | Size: 153 B |
BIN
docs/nav_fd.png
Normal file
|
After Width: | Height: | Size: 169 B |
BIN
docs/nav_g.png
Normal file
|
After Width: | Height: | Size: 95 B |
BIN
docs/nav_h.png
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
docs/nav_hd.png
Normal file
|
After Width: | Height: | Size: 114 B |
150
docs/navtree.css
Normal file
@ -0,0 +1,150 @@
|
||||
#nav-tree .children_ul {
|
||||
margin:0;
|
||||
padding:4px;
|
||||
}
|
||||
|
||||
#nav-tree ul {
|
||||
list-style:none outside none;
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#nav-tree li {
|
||||
white-space:nowrap;
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#nav-tree .plus {
|
||||
margin:0px;
|
||||
}
|
||||
|
||||
#nav-tree .selected {
|
||||
background-image: url('tab_a.png');
|
||||
background-repeat:repeat-x;
|
||||
color: white;
|
||||
text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0);
|
||||
}
|
||||
|
||||
#nav-tree .selected .arrow {
|
||||
color: #9CAFD4;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
#nav-tree img {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
border:0px;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#nav-tree a {
|
||||
text-decoration:none;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
outline:none;
|
||||
}
|
||||
|
||||
#nav-tree .label {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif;
|
||||
}
|
||||
|
||||
#nav-tree .label a {
|
||||
padding:2px;
|
||||
}
|
||||
|
||||
#nav-tree .selected a {
|
||||
text-decoration:none;
|
||||
color:white;
|
||||
}
|
||||
|
||||
#nav-tree .children_ul {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#nav-tree .item {
|
||||
margin:0px;
|
||||
padding:0px;
|
||||
}
|
||||
|
||||
#nav-tree {
|
||||
padding: 0px 0px;
|
||||
font-size:14px;
|
||||
overflow:auto;
|
||||
}
|
||||
|
||||
#doc-content {
|
||||
overflow:auto;
|
||||
display:block;
|
||||
padding:0px;
|
||||
margin:0px;
|
||||
-webkit-overflow-scrolling : touch; /* iOS 5+ */
|
||||
}
|
||||
|
||||
#side-nav {
|
||||
padding:0 6px 0 0;
|
||||
margin: 0px;
|
||||
display:block;
|
||||
position: absolute;
|
||||
left: 0px;
|
||||
width: $width;
|
||||
overflow : hidden;
|
||||
}
|
||||
|
||||
.ui-resizable .ui-resizable-handle {
|
||||
display:block;
|
||||
}
|
||||
|
||||
.ui-resizable-e {
|
||||
background-image:url('splitbar.png');
|
||||
background-size:100%;
|
||||
background-repeat:repeat-y;
|
||||
background-attachment: scroll;
|
||||
cursor:ew-resize;
|
||||
height:100%;
|
||||
right:0;
|
||||
top:0;
|
||||
width:6px;
|
||||
}
|
||||
|
||||
.ui-resizable-handle {
|
||||
display:none;
|
||||
font-size:0.1px;
|
||||
position:absolute;
|
||||
z-index:1;
|
||||
}
|
||||
|
||||
#nav-tree-contents {
|
||||
margin: 6px 0px 0px 0px;
|
||||
}
|
||||
|
||||
#nav-tree {
|
||||
background-repeat:repeat-x;
|
||||
background-color: #F9FAFC;
|
||||
-webkit-overflow-scrolling : touch; /* iOS 5+ */
|
||||
}
|
||||
|
||||
#nav-sync {
|
||||
position:absolute;
|
||||
top:5px;
|
||||
right:24px;
|
||||
z-index:0;
|
||||
}
|
||||
|
||||
#nav-sync img {
|
||||
opacity:0.3;
|
||||
}
|
||||
|
||||
#nav-sync img:hover {
|
||||
opacity:0.9;
|
||||
}
|
||||
|
||||
@media print
|
||||
{
|
||||
#nav-tree { display: none; }
|
||||
div.ui-resizable-handle { display: none; position: relative; }
|
||||
}
|
||||
|
||||
549
docs/navtree.js
Normal file
@ -0,0 +1,549 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
var navTreeSubIndices = new Array();
|
||||
var arrowDown = '▼';
|
||||
var arrowRight = '►';
|
||||
|
||||
function getData(varName)
|
||||
{
|
||||
var i = varName.lastIndexOf('/');
|
||||
var n = i>=0 ? varName.substring(i+1) : varName;
|
||||
return eval(n.replace(/\-/g,'_'));
|
||||
}
|
||||
|
||||
function stripPath(uri)
|
||||
{
|
||||
return uri.substring(uri.lastIndexOf('/')+1);
|
||||
}
|
||||
|
||||
function stripPath2(uri)
|
||||
{
|
||||
var i = uri.lastIndexOf('/');
|
||||
var s = uri.substring(i+1);
|
||||
var m = uri.substring(0,i+1).match(/\/d\w\/d\w\w\/$/);
|
||||
return m ? uri.substring(i-6) : s;
|
||||
}
|
||||
|
||||
function hashValue()
|
||||
{
|
||||
return $(location).attr('hash').substring(1).replace(/[^\w\-]/g,'');
|
||||
}
|
||||
|
||||
function hashUrl()
|
||||
{
|
||||
return '#'+hashValue();
|
||||
}
|
||||
|
||||
function pathName()
|
||||
{
|
||||
return $(location).attr('pathname').replace(/[^-A-Za-z0-9+&@#/%?=~_|!:,.;\(\)]/g, '');
|
||||
}
|
||||
|
||||
function localStorageSupported()
|
||||
{
|
||||
try {
|
||||
return 'localStorage' in window && window['localStorage'] !== null && window.localStorage.getItem;
|
||||
}
|
||||
catch(e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
function storeLink(link)
|
||||
{
|
||||
if (!$("#nav-sync").hasClass('sync') && localStorageSupported()) {
|
||||
window.localStorage.setItem('navpath',link);
|
||||
}
|
||||
}
|
||||
|
||||
function deleteLink()
|
||||
{
|
||||
if (localStorageSupported()) {
|
||||
window.localStorage.setItem('navpath','');
|
||||
}
|
||||
}
|
||||
|
||||
function cachedLink()
|
||||
{
|
||||
if (localStorageSupported()) {
|
||||
return window.localStorage.getItem('navpath');
|
||||
} else {
|
||||
return '';
|
||||
}
|
||||
}
|
||||
|
||||
function getScript(scriptName,func,show)
|
||||
{
|
||||
var head = document.getElementsByTagName("head")[0];
|
||||
var script = document.createElement('script');
|
||||
script.id = scriptName;
|
||||
script.type = 'text/javascript';
|
||||
script.onload = func;
|
||||
script.src = scriptName+'.js';
|
||||
head.appendChild(script);
|
||||
}
|
||||
|
||||
function createIndent(o,domNode,node,level)
|
||||
{
|
||||
var level=-1;
|
||||
var n = node;
|
||||
while (n.parentNode) { level++; n=n.parentNode; }
|
||||
if (node.childrenData) {
|
||||
var imgNode = document.createElement("span");
|
||||
imgNode.className = 'arrow';
|
||||
imgNode.style.paddingLeft=(16*level).toString()+'px';
|
||||
imgNode.innerHTML=arrowRight;
|
||||
node.plus_img = imgNode;
|
||||
node.expandToggle = document.createElement("a");
|
||||
node.expandToggle.href = "javascript:void(0)";
|
||||
node.expandToggle.onclick = function() {
|
||||
if (node.expanded) {
|
||||
$(node.getChildrenUL()).slideUp("fast");
|
||||
node.plus_img.innerHTML=arrowRight;
|
||||
node.expanded = false;
|
||||
} else {
|
||||
expandNode(o, node, false, false);
|
||||
}
|
||||
}
|
||||
node.expandToggle.appendChild(imgNode);
|
||||
domNode.appendChild(node.expandToggle);
|
||||
} else {
|
||||
var span = document.createElement("span");
|
||||
span.className = 'arrow';
|
||||
span.style.width = 16*(level+1)+'px';
|
||||
span.innerHTML = ' ';
|
||||
domNode.appendChild(span);
|
||||
}
|
||||
}
|
||||
|
||||
var animationInProgress = false;
|
||||
|
||||
function gotoAnchor(anchor,aname,updateLocation)
|
||||
{
|
||||
var pos, docContent = $('#doc-content');
|
||||
var ancParent = $(anchor.parent());
|
||||
if (ancParent.hasClass('memItemLeft') ||
|
||||
ancParent.hasClass('memtitle') ||
|
||||
ancParent.hasClass('fieldname') ||
|
||||
ancParent.hasClass('fieldtype') ||
|
||||
ancParent.is(':header'))
|
||||
{
|
||||
pos = ancParent.position().top;
|
||||
} else if (anchor.position()) {
|
||||
pos = anchor.position().top;
|
||||
}
|
||||
if (pos) {
|
||||
var dist = Math.abs(Math.min(
|
||||
pos-docContent.offset().top,
|
||||
docContent[0].scrollHeight-
|
||||
docContent.height()-docContent.scrollTop()));
|
||||
animationInProgress=true;
|
||||
docContent.animate({
|
||||
scrollTop: pos + docContent.scrollTop() - docContent.offset().top
|
||||
},Math.max(50,Math.min(500,dist)),function(){
|
||||
if (updateLocation) window.location.href=aname;
|
||||
animationInProgress=false;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
function newNode(o, po, text, link, childrenData, lastNode)
|
||||
{
|
||||
var node = new Object();
|
||||
node.children = Array();
|
||||
node.childrenData = childrenData;
|
||||
node.depth = po.depth + 1;
|
||||
node.relpath = po.relpath;
|
||||
node.isLast = lastNode;
|
||||
|
||||
node.li = document.createElement("li");
|
||||
po.getChildrenUL().appendChild(node.li);
|
||||
node.parentNode = po;
|
||||
|
||||
node.itemDiv = document.createElement("div");
|
||||
node.itemDiv.className = "item";
|
||||
|
||||
node.labelSpan = document.createElement("span");
|
||||
node.labelSpan.className = "label";
|
||||
|
||||
createIndent(o,node.itemDiv,node,0);
|
||||
node.itemDiv.appendChild(node.labelSpan);
|
||||
node.li.appendChild(node.itemDiv);
|
||||
|
||||
var a = document.createElement("a");
|
||||
node.labelSpan.appendChild(a);
|
||||
node.label = document.createTextNode(text);
|
||||
node.expanded = false;
|
||||
a.appendChild(node.label);
|
||||
if (link) {
|
||||
var url;
|
||||
if (link.substring(0,1)=='^') {
|
||||
url = link.substring(1);
|
||||
link = url;
|
||||
} else {
|
||||
url = node.relpath+link;
|
||||
}
|
||||
a.className = stripPath(link.replace('#',':'));
|
||||
if (link.indexOf('#')!=-1) {
|
||||
var aname = '#'+link.split('#')[1];
|
||||
var srcPage = stripPath(pathName());
|
||||
var targetPage = stripPath(link.split('#')[0]);
|
||||
a.href = srcPage!=targetPage ? url : "javascript:void(0)";
|
||||
a.onclick = function(){
|
||||
storeLink(link);
|
||||
if (!$(a).parent().parent().hasClass('selected'))
|
||||
{
|
||||
$('.item').removeClass('selected');
|
||||
$('.item').removeAttr('id');
|
||||
$(a).parent().parent().addClass('selected');
|
||||
$(a).parent().parent().attr('id','selected');
|
||||
}
|
||||
var anchor = $(aname);
|
||||
gotoAnchor(anchor,aname,true);
|
||||
};
|
||||
} else {
|
||||
a.href = url;
|
||||
a.onclick = function() { storeLink(link); }
|
||||
}
|
||||
} else {
|
||||
if (childrenData != null)
|
||||
{
|
||||
a.className = "nolink";
|
||||
a.href = "javascript:void(0)";
|
||||
a.onclick = node.expandToggle.onclick;
|
||||
}
|
||||
}
|
||||
|
||||
node.childrenUL = null;
|
||||
node.getChildrenUL = function() {
|
||||
if (!node.childrenUL) {
|
||||
node.childrenUL = document.createElement("ul");
|
||||
node.childrenUL.className = "children_ul";
|
||||
node.childrenUL.style.display = "none";
|
||||
node.li.appendChild(node.childrenUL);
|
||||
}
|
||||
return node.childrenUL;
|
||||
};
|
||||
|
||||
return node;
|
||||
}
|
||||
|
||||
function showRoot()
|
||||
{
|
||||
var headerHeight = $("#top").height();
|
||||
var footerHeight = $("#nav-path").height();
|
||||
var windowHeight = $(window).height() - headerHeight - footerHeight;
|
||||
(function (){ // retry until we can scroll to the selected item
|
||||
try {
|
||||
var navtree=$('#nav-tree');
|
||||
navtree.scrollTo('#selected',100,{offset:-windowHeight/2});
|
||||
} catch (err) {
|
||||
setTimeout(arguments.callee, 0);
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
||||
function expandNode(o, node, imm, showRoot)
|
||||
{
|
||||
if (node.childrenData && !node.expanded) {
|
||||
if (typeof(node.childrenData)==='string') {
|
||||
var varName = node.childrenData;
|
||||
getScript(node.relpath+varName,function(){
|
||||
node.childrenData = getData(varName);
|
||||
expandNode(o, node, imm, showRoot);
|
||||
}, showRoot);
|
||||
} else {
|
||||
if (!node.childrenVisited) {
|
||||
getNode(o, node);
|
||||
}
|
||||
$(node.getChildrenUL()).slideDown("fast");
|
||||
node.plus_img.innerHTML = arrowDown;
|
||||
node.expanded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function glowEffect(n,duration)
|
||||
{
|
||||
n.addClass('glow').delay(duration).queue(function(next){
|
||||
$(this).removeClass('glow');next();
|
||||
});
|
||||
}
|
||||
|
||||
function highlightAnchor()
|
||||
{
|
||||
var aname = hashUrl();
|
||||
var anchor = $(aname);
|
||||
if (anchor.parent().attr('class')=='memItemLeft'){
|
||||
var rows = $('.memberdecls tr[class$="'+hashValue()+'"]');
|
||||
glowEffect(rows.children(),300); // member without details
|
||||
} else if (anchor.parent().attr('class')=='fieldname'){
|
||||
glowEffect(anchor.parent().parent(),1000); // enum value
|
||||
} else if (anchor.parent().attr('class')=='fieldtype'){
|
||||
glowEffect(anchor.parent().parent(),1000); // struct field
|
||||
} else if (anchor.parent().is(":header")) {
|
||||
glowEffect(anchor.parent(),1000); // section header
|
||||
} else {
|
||||
glowEffect(anchor.next(),1000); // normal member
|
||||
}
|
||||
}
|
||||
|
||||
function selectAndHighlight(hash,n)
|
||||
{
|
||||
var a;
|
||||
if (hash) {
|
||||
var link=stripPath(pathName())+':'+hash.substring(1);
|
||||
a=$('.item a[class$="'+link+'"]');
|
||||
}
|
||||
if (a && a.length) {
|
||||
a.parent().parent().addClass('selected');
|
||||
a.parent().parent().attr('id','selected');
|
||||
highlightAnchor();
|
||||
} else if (n) {
|
||||
$(n.itemDiv).addClass('selected');
|
||||
$(n.itemDiv).attr('id','selected');
|
||||
}
|
||||
var topOffset=5;
|
||||
if (typeof page_layout!=='undefined' && page_layout==1) {
|
||||
topOffset+=$('#top').outerHeight();
|
||||
}
|
||||
if ($('#nav-tree-contents .item:first').hasClass('selected')) {
|
||||
topOffset+=25;
|
||||
}
|
||||
$('#nav-sync').css('top',topOffset+'px');
|
||||
showRoot();
|
||||
}
|
||||
|
||||
function showNode(o, node, index, hash)
|
||||
{
|
||||
if (node && node.childrenData) {
|
||||
if (typeof(node.childrenData)==='string') {
|
||||
var varName = node.childrenData;
|
||||
getScript(node.relpath+varName,function(){
|
||||
node.childrenData = getData(varName);
|
||||
showNode(o,node,index,hash);
|
||||
},true);
|
||||
} else {
|
||||
if (!node.childrenVisited) {
|
||||
getNode(o, node);
|
||||
}
|
||||
$(node.getChildrenUL()).css({'display':'block'});
|
||||
node.plus_img.innerHTML = arrowDown;
|
||||
node.expanded = true;
|
||||
var n = node.children[o.breadcrumbs[index]];
|
||||
if (index+1<o.breadcrumbs.length) {
|
||||
showNode(o,n,index+1,hash);
|
||||
} else {
|
||||
if (typeof(n.childrenData)==='string') {
|
||||
var varName = n.childrenData;
|
||||
getScript(n.relpath+varName,function(){
|
||||
n.childrenData = getData(varName);
|
||||
node.expanded=false;
|
||||
showNode(o,node,index,hash); // retry with child node expanded
|
||||
},true);
|
||||
} else {
|
||||
var rootBase = stripPath(o.toroot.replace(/\..+$/, ''));
|
||||
if (rootBase=="index" || rootBase=="pages" || rootBase=="search") {
|
||||
expandNode(o, n, true, true);
|
||||
}
|
||||
selectAndHighlight(hash,n);
|
||||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
selectAndHighlight(hash);
|
||||
}
|
||||
}
|
||||
|
||||
function removeToInsertLater(element) {
|
||||
var parentNode = element.parentNode;
|
||||
var nextSibling = element.nextSibling;
|
||||
parentNode.removeChild(element);
|
||||
return function() {
|
||||
if (nextSibling) {
|
||||
parentNode.insertBefore(element, nextSibling);
|
||||
} else {
|
||||
parentNode.appendChild(element);
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
function getNode(o, po)
|
||||
{
|
||||
var insertFunction = removeToInsertLater(po.li);
|
||||
po.childrenVisited = true;
|
||||
var l = po.childrenData.length-1;
|
||||
for (var i in po.childrenData) {
|
||||
var nodeData = po.childrenData[i];
|
||||
po.children[i] = newNode(o, po, nodeData[0], nodeData[1], nodeData[2],
|
||||
i==l);
|
||||
}
|
||||
insertFunction();
|
||||
}
|
||||
|
||||
function gotoNode(o,subIndex,root,hash,relpath)
|
||||
{
|
||||
var nti = navTreeSubIndices[subIndex][root+hash];
|
||||
o.breadcrumbs = $.extend(true, [], nti ? nti : navTreeSubIndices[subIndex][root]);
|
||||
if (!o.breadcrumbs && root!=NAVTREE[0][1]) { // fallback: show index
|
||||
navTo(o,NAVTREE[0][1],"",relpath);
|
||||
$('.item').removeClass('selected');
|
||||
$('.item').removeAttr('id');
|
||||
}
|
||||
if (o.breadcrumbs) {
|
||||
o.breadcrumbs.unshift(0); // add 0 for root node
|
||||
showNode(o, o.node, 0, hash);
|
||||
}
|
||||
}
|
||||
|
||||
function navTo(o,root,hash,relpath)
|
||||
{
|
||||
var link = cachedLink();
|
||||
if (link) {
|
||||
var parts = link.split('#');
|
||||
root = parts[0];
|
||||
if (parts.length>1) hash = '#'+parts[1].replace(/[^\w\-]/g,'');
|
||||
else hash='';
|
||||
}
|
||||
if (hash.match(/^#l\d+$/)) {
|
||||
var anchor=$('a[name='+hash.substring(1)+']');
|
||||
glowEffect(anchor.parent(),1000); // line number
|
||||
hash=''; // strip line number anchors
|
||||
}
|
||||
var url=root+hash;
|
||||
var i=-1;
|
||||
while (NAVTREEINDEX[i+1]<=url) i++;
|
||||
if (i==-1) { i=0; root=NAVTREE[0][1]; } // fallback: show index
|
||||
if (navTreeSubIndices[i]) {
|
||||
gotoNode(o,i,root,hash,relpath)
|
||||
} else {
|
||||
getScript(relpath+'navtreeindex'+i,function(){
|
||||
navTreeSubIndices[i] = eval('NAVTREEINDEX'+i);
|
||||
if (navTreeSubIndices[i]) {
|
||||
gotoNode(o,i,root,hash,relpath);
|
||||
}
|
||||
},true);
|
||||
}
|
||||
}
|
||||
|
||||
function showSyncOff(n,relpath)
|
||||
{
|
||||
n.html('<img src="'+relpath+'sync_off.png" title="'+SYNCOFFMSG+'"/>');
|
||||
}
|
||||
|
||||
function showSyncOn(n,relpath)
|
||||
{
|
||||
n.html('<img src="'+relpath+'sync_on.png" title="'+SYNCONMSG+'"/>');
|
||||
}
|
||||
|
||||
function toggleSyncButton(relpath)
|
||||
{
|
||||
var navSync = $('#nav-sync');
|
||||
if (navSync.hasClass('sync')) {
|
||||
navSync.removeClass('sync');
|
||||
showSyncOff(navSync,relpath);
|
||||
storeLink(stripPath2(pathName())+hashUrl());
|
||||
} else {
|
||||
navSync.addClass('sync');
|
||||
showSyncOn(navSync,relpath);
|
||||
deleteLink();
|
||||
}
|
||||
}
|
||||
|
||||
var loadTriggered = false;
|
||||
var readyTriggered = false;
|
||||
var loadObject,loadToRoot,loadUrl,loadRelPath;
|
||||
|
||||
$(window).on('load',function(){
|
||||
if (readyTriggered) { // ready first
|
||||
navTo(loadObject,loadToRoot,loadUrl,loadRelPath);
|
||||
showRoot();
|
||||
}
|
||||
loadTriggered=true;
|
||||
});
|
||||
|
||||
function initNavTree(toroot,relpath)
|
||||
{
|
||||
var o = new Object();
|
||||
o.toroot = toroot;
|
||||
o.node = new Object();
|
||||
o.node.li = document.getElementById("nav-tree-contents");
|
||||
o.node.childrenData = NAVTREE;
|
||||
o.node.children = new Array();
|
||||
o.node.childrenUL = document.createElement("ul");
|
||||
o.node.getChildrenUL = function() { return o.node.childrenUL; };
|
||||
o.node.li.appendChild(o.node.childrenUL);
|
||||
o.node.depth = 0;
|
||||
o.node.relpath = relpath;
|
||||
o.node.expanded = false;
|
||||
o.node.isLast = true;
|
||||
o.node.plus_img = document.createElement("span");
|
||||
o.node.plus_img.className = 'arrow';
|
||||
o.node.plus_img.innerHTML = arrowRight;
|
||||
|
||||
if (localStorageSupported()) {
|
||||
var navSync = $('#nav-sync');
|
||||
if (cachedLink()) {
|
||||
showSyncOff(navSync,relpath);
|
||||
navSync.removeClass('sync');
|
||||
} else {
|
||||
showSyncOn(navSync,relpath);
|
||||
}
|
||||
navSync.click(function(){ toggleSyncButton(relpath); });
|
||||
}
|
||||
|
||||
if (loadTriggered) { // load before ready
|
||||
navTo(o,toroot,hashUrl(),relpath);
|
||||
showRoot();
|
||||
} else { // ready before load
|
||||
loadObject = o;
|
||||
loadToRoot = toroot;
|
||||
loadUrl = hashUrl();
|
||||
loadRelPath = relpath;
|
||||
readyTriggered=true;
|
||||
}
|
||||
|
||||
$(window).bind('hashchange', function(){
|
||||
if (window.location.hash && window.location.hash.length>1){
|
||||
var a;
|
||||
if ($(location).attr('hash')){
|
||||
var clslink=stripPath(pathName())+':'+hashValue();
|
||||
a=$('.item a[class$="'+clslink.replace(/</g,'\\3c ')+'"]');
|
||||
}
|
||||
if (a==null || !$(a).parent().parent().hasClass('selected')){
|
||||
$('.item').removeClass('selected');
|
||||
$('.item').removeAttr('id');
|
||||
}
|
||||
var link=stripPath2(pathName());
|
||||
navTo(o,link,hashUrl(),relpath);
|
||||
} else if (!animationInProgress) {
|
||||
$('#doc-content').scrollTop(0);
|
||||
$('.item').removeClass('selected');
|
||||
$('.item').removeAttr('id');
|
||||
navTo(o,toroot,hashUrl(),relpath);
|
||||
}
|
||||
})
|
||||
}
|
||||
/* @license-end */
|
||||
70
docs/navtreedata.js
Normal file
@ -0,0 +1,70 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
var NAVTREE =
|
||||
[
|
||||
[ "Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions", "index.html", [
|
||||
[ "Requirements", "index.html#autotoc_md1", [
|
||||
[ "Operating systems", "index.html#autotoc_md2", null ],
|
||||
[ "Libraries", "index.html#autotoc_md3", null ]
|
||||
] ],
|
||||
[ "Compiling", "index.html#autotoc_md4", [
|
||||
[ "Normal binaries", "index.html#autotoc_md5", null ],
|
||||
[ "Debugging binaries", "index.html#autotoc_md6", null ]
|
||||
] ],
|
||||
[ "Running programs", "index.html#autotoc_md7", [
|
||||
[ "C++ binaries", "index.html#autotoc_md8", null ],
|
||||
[ "Python scripts", "index.html#autotoc_md9", [
|
||||
[ "Install libraries", "index.html#autotoc_md10", null ],
|
||||
[ "Running scripts", "index.html#autotoc_md11", null ]
|
||||
] ]
|
||||
] ],
|
||||
[ "Credits", "index.html#autotoc_md12", null ],
|
||||
[ "Bug List", "bug.html", null ],
|
||||
[ "Classes", "annotated.html", [
|
||||
[ "Class List", "annotated.html", "annotated_dup" ],
|
||||
[ "Class Index", "classes.html", null ],
|
||||
[ "Class Members", "functions.html", [
|
||||
[ "All", "functions.html", null ],
|
||||
[ "Functions", "functions_func.html", null ],
|
||||
[ "Variables", "functions_vars.html", null ]
|
||||
] ]
|
||||
] ],
|
||||
[ "Files", "files.html", [
|
||||
[ "File List", "files.html", "files_dup" ],
|
||||
[ "File Members", "globals.html", [
|
||||
[ "All", "globals.html", null ],
|
||||
[ "Macros", "globals_defs.html", null ]
|
||||
] ]
|
||||
] ]
|
||||
] ]
|
||||
];
|
||||
|
||||
var NAVTREEINDEX =
|
||||
[
|
||||
"WaveSimulation_8hpp.html"
|
||||
];
|
||||
|
||||
var SYNCONMSG = 'click to disable panel synchronisation';
|
||||
var SYNCOFFMSG = 'click to enable panel synchronisation';
|
||||
78
docs/navtreeindex0.js
Normal file
@ -0,0 +1,78 @@
|
||||
var NAVTREEINDEX0 =
|
||||
{
|
||||
"WaveSimulation_8hpp.html":[6,0,0,4],
|
||||
"WaveSimulation_8hpp_source.html":[6,0,0,4],
|
||||
"annotated.html":[5,0],
|
||||
"bug.html":[4],
|
||||
"classWaveSimulation.html":[5,0,0],
|
||||
"classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814":[5,0,0,19],
|
||||
"classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6":[5,0,0,14],
|
||||
"classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7":[5,0,0,12],
|
||||
"classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7":[5,0,0,3],
|
||||
"classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9":[5,0,0,16],
|
||||
"classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d":[5,0,0,17],
|
||||
"classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1":[5,0,0,13],
|
||||
"classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498":[5,0,0,6],
|
||||
"classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38":[5,0,0,15],
|
||||
"classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0":[5,0,0,2],
|
||||
"classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c":[5,0,0,8],
|
||||
"classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4":[5,0,0,1],
|
||||
"classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca":[5,0,0,5],
|
||||
"classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4":[5,0,0,9],
|
||||
"classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6":[5,0,0,20],
|
||||
"classWaveSimulation.html#acb893267a27945645510d736cba2939d":[5,0,0,11],
|
||||
"classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076":[5,0,0,0],
|
||||
"classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e":[5,0,0,18],
|
||||
"classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e":[5,0,0,4],
|
||||
"classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9":[5,0,0,7],
|
||||
"classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f":[5,0,0,10],
|
||||
"classes.html":[5,1],
|
||||
"constants_8hpp.html":[6,0,0,0],
|
||||
"constants_8hpp_source.html":[6,0,0,0],
|
||||
"dir_68267d1309a1af8e8297ef4c3efbcdba.html":[6,0,1],
|
||||
"dir_d44c64559bbebec7f509842c48db8b23.html":[6,0,0],
|
||||
"files.html":[6,0],
|
||||
"functions.html":[5,2,0],
|
||||
"functions_func.html":[5,2,1],
|
||||
"functions_vars.html":[5,2,2],
|
||||
"globals.html":[6,1,0],
|
||||
"globals_defs.html":[6,1,1],
|
||||
"index.html":[],
|
||||
"index.html#autotoc_md1":[0],
|
||||
"index.html#autotoc_md10":[2,1,0],
|
||||
"index.html#autotoc_md11":[2,1,1],
|
||||
"index.html#autotoc_md12":[3],
|
||||
"index.html#autotoc_md2":[0,0],
|
||||
"index.html#autotoc_md3":[0,1],
|
||||
"index.html#autotoc_md4":[1],
|
||||
"index.html#autotoc_md5":[1,0],
|
||||
"index.html#autotoc_md6":[1,1],
|
||||
"index.html#autotoc_md7":[2],
|
||||
"index.html#autotoc_md8":[2,0],
|
||||
"index.html#autotoc_md9":[2,1],
|
||||
"literals_8hpp.html":[6,0,0,1],
|
||||
"literals_8hpp_source.html":[6,0,0,1],
|
||||
"main_8cpp.html":[6,0,1,0],
|
||||
"main_8cpp_source.html":[6,0,1,0],
|
||||
"pages.html":[],
|
||||
"testlib_8hpp.html":[6,0,0,2],
|
||||
"testlib_8hpp.html#a2cbf3a45367e903de6efbdbea3344cea":[6,0,0,2,2],
|
||||
"testlib_8hpp.html#a39abb7cba0535176ed62aae136d2fcc7":[6,0,0,2,5],
|
||||
"testlib_8hpp.html#a3db67d8721d2f3cd626526b43186bcf3":[6,0,0,2,4],
|
||||
"testlib_8hpp.html#a44f47fa3c8654c09712572d75c0ffa7f":[6,0,0,2,3],
|
||||
"testlib_8hpp.html#a73d4f21ad937dbc50a0c0538c78fd4f9":[6,0,0,2,0],
|
||||
"testlib_8hpp.html#ab6585c8aa8c276a3442c67a57c8de6fb":[6,0,0,2,1],
|
||||
"testlib_8hpp_source.html":[6,0,0,2],
|
||||
"utils_8hpp.html":[6,0,0,3],
|
||||
"utils_8hpp.html#a178c4922157666a6e9c127c2ffd96346":[6,0,0,3,4],
|
||||
"utils_8hpp.html#a2b45adc86b70f42021582994e83fa00d":[6,0,0,3,5],
|
||||
"utils_8hpp.html#a3529a74fd2a25d24de73d9d4e1c90835":[6,0,0,3,7],
|
||||
"utils_8hpp.html#a60dca3177fb9cb5256609adc7af55168":[6,0,0,3,0],
|
||||
"utils_8hpp.html#ab3e89176433ddc9ba721b2eba3d08357":[6,0,0,3,6],
|
||||
"utils_8hpp.html#ae91fad89394d745d544737e43524bde6":[6,0,0,3,2],
|
||||
"utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b":[6,0,0,3,1],
|
||||
"utils_8hpp.html#aed026119193a9bbe076671809ff0f430":[6,0,0,3,3],
|
||||
"utils_8hpp_source.html":[6,0,0,3],
|
||||
"wave__simulation_8cpp.html":[6,0,1,1],
|
||||
"wave__simulation_8cpp_source.html":[6,0,1,1]
|
||||
};
|
||||
BIN
docs/open.png
Normal file
|
After Width: | Height: | Size: 123 B |
118
docs/pages.html
Normal file
@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
|
||||
<meta name="generator" content="Doxygen 1.9.6"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions: Related Pages</title>
|
||||
<link href="tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="jquery.js"></script>
|
||||
<script type="text/javascript" src="dynsections.js"></script>
|
||||
<link href="navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="resize.js"></script>
|
||||
<script type="text/javascript" src="navtreedata.js"></script>
|
||||
<script type="text/javascript" src="navtree.js"></script>
|
||||
<link href="search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js"></script>
|
||||
<link href="doxygen.css" rel="stylesheet" type="text/css" />
|
||||
<link href="doxygen-awesome.css" rel="stylesheet" type="text/css"/>
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr id="projectrow">
|
||||
<td id="projectalign">
|
||||
<div id="projectname">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions
|
||||
</div>
|
||||
<div id="projectbrief">Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.9.6 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
var searchBox = new SearchBox("searchBox", "search/",'.html');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="menudata.js"></script>
|
||||
<script type="text/javascript" src="menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(function() {
|
||||
initMenu('',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt MIT */
|
||||
$(document).ready(function(){initNavTree('pages.html',''); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<div id="MSearchResults">
|
||||
<div class="SRPage">
|
||||
<div id="SRIndex">
|
||||
<div id="SRResults"></div>
|
||||
<div class="SRStatus" id="Loading">Loading...</div>
|
||||
<div class="SRStatus" id="Searching">Searching...</div>
|
||||
<div class="SRStatus" id="NoMatches">No Matches</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle"><div class="title">Related Pages</div></div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock">Here is a list of all related documentation pages:</div><div class="directory">
|
||||
<table class="directory">
|
||||
<tr id="row_0_" class="even"><td class="entry"><span style="width:16px;display:inline-block;"> </span><a class="el" href="bug.html" target="_self">Bug List</a></td><td class="desc"></td></tr>
|
||||
</table>
|
||||
</div><!-- directory -->
|
||||
</div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.6 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
155
docs/resize.js
Normal file
@ -0,0 +1,155 @@
|
||||
/*
|
||||
@licstart The following is the entire license notice for the JavaScript code in this file.
|
||||
|
||||
The MIT License (MIT)
|
||||
|
||||
Copyright (C) 1997-2020 by Dimitri van Heesch
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software
|
||||
and associated documentation files (the "Software"), to deal in the Software without restriction,
|
||||
including without limitation the rights to use, copy, modify, merge, publish, distribute,
|
||||
sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all copies or
|
||||
substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
|
||||
BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
|
||||
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@licend The above is the entire license notice for the JavaScript code in this file
|
||||
*/
|
||||
var once=1;
|
||||
function initResizable()
|
||||
{
|
||||
var cookie_namespace = 'doxygen';
|
||||
var sidenav,navtree,content,header,barWidth=6,desktop_vp=768,titleHeight;
|
||||
|
||||
function readSetting(cookie)
|
||||
{
|
||||
if (window.chrome) {
|
||||
var val = localStorage.getItem(cookie_namespace+'_width');
|
||||
if (val) return val;
|
||||
} else {
|
||||
var myCookie = cookie_namespace+"_"+cookie+"=";
|
||||
if (document.cookie) {
|
||||
var index = document.cookie.indexOf(myCookie);
|
||||
if (index != -1) {
|
||||
var valStart = index + myCookie.length;
|
||||
var valEnd = document.cookie.indexOf(";", valStart);
|
||||
if (valEnd == -1) {
|
||||
valEnd = document.cookie.length;
|
||||
}
|
||||
var val = document.cookie.substring(valStart, valEnd);
|
||||
return val;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 250;
|
||||
}
|
||||
|
||||
function writeSetting(cookie, val)
|
||||
{
|
||||
if (window.chrome) {
|
||||
localStorage.setItem(cookie_namespace+"_width",val);
|
||||
} else {
|
||||
var date = new Date();
|
||||
date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week
|
||||
expiration = date.toGMTString();
|
||||
document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; SameSite=Lax; expires=" + expiration+"; path=/";
|
||||
}
|
||||
}
|
||||
|
||||
function resizeWidth()
|
||||
{
|
||||
var windowWidth = $(window).width() + "px";
|
||||
var sidenavWidth = $(sidenav).outerWidth();
|
||||
content.css({marginLeft:parseInt(sidenavWidth)+"px"});
|
||||
if (typeof page_layout!=='undefined' && page_layout==1) {
|
||||
footer.css({marginLeft:parseInt(sidenavWidth)+"px"});
|
||||
}
|
||||
writeSetting('width',sidenavWidth-barWidth);
|
||||
}
|
||||
|
||||
function restoreWidth(navWidth)
|
||||
{
|
||||
var windowWidth = $(window).width() + "px";
|
||||
content.css({marginLeft:parseInt(navWidth)+barWidth+"px"});
|
||||
if (typeof page_layout!=='undefined' && page_layout==1) {
|
||||
footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"});
|
||||
}
|
||||
sidenav.css({width:navWidth + "px"});
|
||||
}
|
||||
|
||||
function resizeHeight()
|
||||
{
|
||||
var headerHeight = header.outerHeight();
|
||||
var footerHeight = footer.outerHeight();
|
||||
var windowHeight = $(window).height();
|
||||
var contentHeight,navtreeHeight,sideNavHeight;
|
||||
if (typeof page_layout==='undefined' || page_layout==0) { /* DISABLE_INDEX=NO */
|
||||
contentHeight = windowHeight - headerHeight - footerHeight;
|
||||
navtreeHeight = contentHeight;
|
||||
sideNavHeight = contentHeight;
|
||||
} else if (page_layout==1) { /* DISABLE_INDEX=YES */
|
||||
contentHeight = windowHeight - footerHeight;
|
||||
navtreeHeight = windowHeight - headerHeight;
|
||||
sideNavHeight = windowHeight;
|
||||
}
|
||||
content.css({height:contentHeight + "px"});
|
||||
navtree.css({height:navtreeHeight + "px"});
|
||||
sidenav.css({height:sideNavHeight + "px"});
|
||||
if (location.hash.slice(1)) {
|
||||
(document.getElementById(location.hash.slice(1))||document.body).scrollIntoView();
|
||||
}
|
||||
}
|
||||
|
||||
function collapseExpand()
|
||||
{
|
||||
var newWidth;
|
||||
if (sidenav.width()>0) {
|
||||
newWidth=0;
|
||||
}
|
||||
else {
|
||||
var width = readSetting('width');
|
||||
newWidth = (width>250 && width<$(window).width()) ? width : 250;
|
||||
}
|
||||
restoreWidth(newWidth);
|
||||
var sidenavWidth = $(sidenav).outerWidth();
|
||||
writeSetting('width',sidenavWidth-barWidth);
|
||||
}
|
||||
|
||||
header = $("#top");
|
||||
sidenav = $("#side-nav");
|
||||
content = $("#doc-content");
|
||||
navtree = $("#nav-tree");
|
||||
footer = $("#nav-path");
|
||||
$(".side-nav-resizable").resizable({resize: function(e, ui) { resizeWidth(); } });
|
||||
$(sidenav).resizable({ minWidth: 0 });
|
||||
$(window).resize(function() { resizeHeight(); });
|
||||
var device = navigator.userAgent.toLowerCase();
|
||||
var touch_device = device.match(/(iphone|ipod|ipad|android)/);
|
||||
if (touch_device) { /* wider split bar for touch only devices */
|
||||
$(sidenav).css({ paddingRight:'20px' });
|
||||
$('.ui-resizable-e').css({ width:'20px' });
|
||||
$('#nav-sync').css({ right:'34px' });
|
||||
barWidth=20;
|
||||
}
|
||||
var width = readSetting('width');
|
||||
if (width) { restoreWidth(width); } else { resizeWidth(); }
|
||||
resizeHeight();
|
||||
var url = location.href;
|
||||
var i=url.indexOf("#");
|
||||
if (i>=0) window.location.hash=url.substr(i);
|
||||
var _preventDefault = function(evt) { evt.preventDefault(); };
|
||||
$("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault);
|
||||
if (once) {
|
||||
$(".ui-resizable-handle").dblclick(collapseExpand);
|
||||
once=0
|
||||
}
|
||||
$(window).on('load',resizeHeight);
|
||||
}
|
||||
/* @license-end */
|
||||
4
docs/search/all_0.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['_5f_5fmethod_5fname_5f_5f_0',['__METHOD_NAME__',['../utils_8hpp.html#a60dca3177fb9cb5256609adc7af55168',1,'utils.hpp']]]
|
||||
];
|
||||
6
docs/search/all_1.js
Normal file
@ -0,0 +1,6 @@
|
||||
var searchData=
|
||||
[
|
||||
['a_0',['A',['../classWaveSimulation.html#a09e997b44ad67b6e3497d77704cd47e7',1,'WaveSimulation']]],
|
||||
['assert_1',['ASSERT',['../testlib_8hpp.html#a73d4f21ad937dbc50a0c0538c78fd4f9',1,'testlib.hpp']]],
|
||||
['assert_5feach_2',['assert_each',['../testlib_8hpp.html#ab6585c8aa8c276a3442c67a57c8de6fb',1,'testlib']]]
|
||||
];
|
||||
5
docs/search/all_2.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['b_0',['B',['../classWaveSimulation.html#a3e7fa7128020c39d51fa933aa7706fd1',1,'WaveSimulation']]],
|
||||
['bug_20list_1',['Bug List',['../bug.html',1,'']]]
|
||||
];
|
||||
6
docs/search/all_3.js
Normal file
@ -0,0 +1,6 @@
|
||||
var searchData=
|
||||
[
|
||||
['close_5fto_0',['close_to',['../testlib_8hpp.html#a2cbf3a45367e903de6efbdbea3344cea',1,'testlib::close_to(arma::Mat< T > &a, arma::Mat< T > &b, double tol=1e-8)'],['../testlib_8hpp.html#a44f47fa3c8654c09712572d75c0ffa7f',1,'testlib::close_to(T a, T b, double tol=1e-8)']]],
|
||||
['concatpath_1',['concatpath',['../utils_8hpp.html#ae91fad89394d745d544737e43524bde6',1,'utils']]],
|
||||
['constants_2ehpp_2',['constants.hpp',['../constants_8hpp.html',1,'']]]
|
||||
];
|
||||
6
docs/search/all_4.js
Normal file
@ -0,0 +1,6 @@
|
||||
var searchData=
|
||||
[
|
||||
['debug_0',['DEBUG',['../utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b',1,'utils.hpp']]],
|
||||
['dirname_1',['dirname',['../utils_8hpp.html#aed026119193a9bbe076671809ff0f430',1,'utils']]],
|
||||
['dt_2',['dt',['../classWaveSimulation.html#a07dbefef86c9ed894d526eea4b039be6',1,'WaveSimulation']]]
|
||||
];
|
||||
4
docs/search/all_5.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['h_0',['h',['../classWaveSimulation.html#a66f2d3a7d278888687822bc20df97f38',1,'WaveSimulation']]]
|
||||
];
|
||||
8
docs/search/all_6.js
Normal file
@ -0,0 +1,8 @@
|
||||
var searchData=
|
||||
[
|
||||
['initialize_5fa_0',['initialize_A',['../classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0',1,'WaveSimulation']]],
|
||||
['initialize_5fb_1',['initialize_B',['../classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7',1,'WaveSimulation']]],
|
||||
['initialize_5fu_2',['initialize_U',['../classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e',1,'WaveSimulation']]],
|
||||
['initialize_5fv_3',['initialize_V',['../classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498',1,'WaveSimulation::initialize_V(double thickness, double pos_x, double aperture_separation, double aperture, uint32_t slits)'],['../classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca',1,'WaveSimulation::initialize_V()']]],
|
||||
['is_5fequal_4',['is_equal',['../testlib_8hpp.html#a3db67d8721d2f3cd626526b43186bcf3',1,'testlib']]]
|
||||
];
|
||||
4
docs/search/all_7.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['literals_2ehpp_0',['literals.hpp',['../literals_8hpp.html',1,'']]]
|
||||
];
|
||||
8
docs/search/all_8.js
Normal file
@ -0,0 +1,8 @@
|
||||
var searchData=
|
||||
[
|
||||
['m_0',['M',['../classWaveSimulation.html#a2e7becba595a864b5754be9e858ac3e9',1,'WaveSimulation']]],
|
||||
['m_5fassert_1',['m_assert',['../testlib_8hpp.html#a39abb7cba0535176ed62aae136d2fcc7',1,'details']]],
|
||||
['main_2ecpp_2',['main.cpp',['../main_8cpp.html',1,'']]],
|
||||
['methodname_3',['methodName',['../utils_8hpp.html#a178c4922157666a6e9c127c2ffd96346',1,'details']]],
|
||||
['mkpath_4',['mkpath',['../utils_8hpp.html#a2b45adc86b70f42021582994e83fa00d',1,'utils']]]
|
||||
];
|
||||
4
docs/search/all_9.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['n_0',['N',['../classWaveSimulation.html#a36dda9ea37cc41e36c27f9729831786d',1,'WaveSimulation']]]
|
||||
];
|
||||
4
docs/search/all_a.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['probability_5fdeviation_0',['probability_deviation',['../classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9',1,'WaveSimulation']]]
|
||||
];
|
||||
7
docs/search/all_b.js
Normal file
@ -0,0 +1,7 @@
|
||||
var searchData=
|
||||
[
|
||||
['scientific_5fformat_0',['scientific_format',['../utils_8hpp.html#a3529a74fd2a25d24de73d9d4e1c90835',1,'utils::scientific_format(double d, int width=20, int prec=10)'],['../utils_8hpp.html#ab3e89176433ddc9ba721b2eba3d08357',1,'utils::scientific_format(const std::vector< double > &v, int width=20, int prec=10)']]],
|
||||
['simulate_1',['simulate',['../classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c',1,'WaveSimulation::simulate(std::string outfile, bool write_each_step=false)'],['../classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4',1,'WaveSimulation::simulate(std::string outfile, std::vector< double > &steps)']]],
|
||||
['simulating_20the_20schrödinger_20wave_20equation_20using_20the_20crank_2dnicolson_20method_20in_202_2b1_20dimensions_2',['Simulating the Schrödinger wave equation using the Crank-Nicolson method in 2+1 dimensions',['../index.html',1,'']]],
|
||||
['step_3',['step',['../classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f',1,'WaveSimulation']]]
|
||||
];
|
||||
5
docs/search/all_c.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['t_0',['T',['../classWaveSimulation.html#aebd53edf928035c7a2438cdd3b1d7d7e',1,'WaveSimulation']]],
|
||||
['testlib_2ehpp_1',['testlib.hpp',['../testlib_8hpp.html',1,'']]]
|
||||
];
|
||||
5
docs/search/all_d.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['u_0',['U',['../classWaveSimulation.html#a02052a447cf7fb49001e231d3a856814',1,'WaveSimulation']]],
|
||||
['utils_2ehpp_1',['utils.hpp',['../utils_8hpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/all_e.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['v_0',['V',['../classWaveSimulation.html#ac40056e5c4b7ae3a022195cb447439b6',1,'WaveSimulation']]]
|
||||
];
|
||||
7
docs/search/all_f.js
Normal file
@ -0,0 +1,7 @@
|
||||
var searchData=
|
||||
[
|
||||
['wave_5fsimulation_2ecpp_0',['wave_simulation.cpp',['../wave__simulation_8cpp.html',1,'']]],
|
||||
['wavesimulation_1',['WaveSimulation',['../classWaveSimulation.html',1,'WaveSimulation'],['../classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076',1,'WaveSimulation::WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y, double thickness, double pos_x, double ap_sep, double ap, uint32_t slits)'],['../classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4',1,'WaveSimulation::WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)']]],
|
||||
['wavesimulation_2ehpp_2',['WaveSimulation.hpp',['../WaveSimulation_8hpp.html',1,'']]],
|
||||
['write_5fu_3',['write_U',['../classWaveSimulation.html#acb893267a27945645510d736cba2939d',1,'WaveSimulation']]]
|
||||
];
|
||||
4
docs/search/classes_0.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['wavesimulation_0',['WaveSimulation',['../classWaveSimulation.html',1,'']]]
|
||||
];
|
||||
31
docs/search/close.svg
Normal file
@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 11 11"
|
||||
height="11"
|
||||
width="11"
|
||||
id="svg2"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<path
|
||||
id="path12"
|
||||
d="M 5.5 0.5 A 5 5 0 0 0 0.5 5.5 A 5 5 0 0 0 5.5 10.5 A 5 5 0 0 0 10.5 5.5 A 5 5 0 0 0 5.5 0.5 z M 3.5820312 3 A 0.58291923 0.58291923 0 0 1 4 3.1757812 L 5.5 4.6757812 L 7 3.1757812 A 0.58291923 0.58291923 0 0 1 7.4003906 3 A 0.58291923 0.58291923 0 0 1 7.8242188 4 L 6.3242188 5.5 L 7.8242188 7 A 0.58291923 0.58291923 0 1 1 7 7.8242188 L 5.5 6.3242188 L 4 7.8242188 A 0.58291923 0.58291923 0 1 1 3.1757812 7 L 4.6757812 5.5 L 3.1757812 4 A 0.58291923 0.58291923 0 0 1 3.5820312 3 z "
|
||||
style="stroke-width:1.09870648;fill:#bababa;fill-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.3 KiB |
4
docs/search/defines_0.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['_5f_5fmethod_5fname_5f_5f_0',['__METHOD_NAME__',['../utils_8hpp.html#a60dca3177fb9cb5256609adc7af55168',1,'utils.hpp']]]
|
||||
];
|
||||
4
docs/search/defines_1.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['assert_0',['ASSERT',['../testlib_8hpp.html#a73d4f21ad937dbc50a0c0538c78fd4f9',1,'testlib.hpp']]]
|
||||
];
|
||||
4
docs/search/defines_2.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['debug_0',['DEBUG',['../utils_8hpp.html#aecc1f7a8a2493b9e021e5bff76a00a5b',1,'utils.hpp']]]
|
||||
];
|
||||
4
docs/search/files_0.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['constants_2ehpp_0',['constants.hpp',['../constants_8hpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/files_1.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['literals_2ehpp_0',['literals.hpp',['../literals_8hpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/files_2.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['main_2ecpp_0',['main.cpp',['../main_8cpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/files_3.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['testlib_2ehpp_0',['testlib.hpp',['../testlib_8hpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/files_4.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['utils_2ehpp_0',['utils.hpp',['../utils_8hpp.html',1,'']]]
|
||||
];
|
||||
5
docs/search/files_5.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['wave_5fsimulation_2ecpp_0',['wave_simulation.cpp',['../wave__simulation_8cpp.html',1,'']]],
|
||||
['wavesimulation_2ehpp_1',['WaveSimulation.hpp',['../WaveSimulation_8hpp.html',1,'']]]
|
||||
];
|
||||
4
docs/search/functions_0.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['assert_5feach_0',['assert_each',['../testlib_8hpp.html#ab6585c8aa8c276a3442c67a57c8de6fb',1,'testlib']]]
|
||||
];
|
||||
5
docs/search/functions_1.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['close_5fto_0',['close_to',['../testlib_8hpp.html#a2cbf3a45367e903de6efbdbea3344cea',1,'testlib::close_to(arma::Mat< T > &a, arma::Mat< T > &b, double tol=1e-8)'],['../testlib_8hpp.html#a44f47fa3c8654c09712572d75c0ffa7f',1,'testlib::close_to(T a, T b, double tol=1e-8)']]],
|
||||
['concatpath_1',['concatpath',['../utils_8hpp.html#ae91fad89394d745d544737e43524bde6',1,'utils']]]
|
||||
];
|
||||
4
docs/search/functions_2.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['dirname_0',['dirname',['../utils_8hpp.html#aed026119193a9bbe076671809ff0f430',1,'utils']]]
|
||||
];
|
||||
8
docs/search/functions_3.js
Normal file
@ -0,0 +1,8 @@
|
||||
var searchData=
|
||||
[
|
||||
['initialize_5fa_0',['initialize_A',['../classWaveSimulation.html#a6c1e7fb0526a7f7947beaedeb383d4c0',1,'WaveSimulation']]],
|
||||
['initialize_5fb_1',['initialize_B',['../classWaveSimulation.html#a25100ad1ffbb0ba16e4928f0c2d58ae7',1,'WaveSimulation']]],
|
||||
['initialize_5fu_2',['initialize_U',['../classWaveSimulation.html#aed4433e3c80ceaad874471a994b6bf0e',1,'WaveSimulation']]],
|
||||
['initialize_5fv_3',['initialize_V',['../classWaveSimulation.html#a657df266bf09298fcb1b901b25fb2498',1,'WaveSimulation::initialize_V(double thickness, double pos_x, double aperture_separation, double aperture, uint32_t slits)'],['../classWaveSimulation.html#aad9e34b8466636b0a346dd30aef35eca',1,'WaveSimulation::initialize_V()']]],
|
||||
['is_5fequal_4',['is_equal',['../testlib_8hpp.html#a3db67d8721d2f3cd626526b43186bcf3',1,'testlib']]]
|
||||
];
|
||||
6
docs/search/functions_4.js
Normal file
@ -0,0 +1,6 @@
|
||||
var searchData=
|
||||
[
|
||||
['m_5fassert_0',['m_assert',['../testlib_8hpp.html#a39abb7cba0535176ed62aae136d2fcc7',1,'details']]],
|
||||
['methodname_1',['methodName',['../utils_8hpp.html#a178c4922157666a6e9c127c2ffd96346',1,'details']]],
|
||||
['mkpath_2',['mkpath',['../utils_8hpp.html#a2b45adc86b70f42021582994e83fa00d',1,'utils']]]
|
||||
];
|
||||
4
docs/search/functions_5.js
Normal file
@ -0,0 +1,4 @@
|
||||
var searchData=
|
||||
[
|
||||
['probability_5fdeviation_0',['probability_deviation',['../classWaveSimulation.html#af0752a10a110644d99ef5c6cab7421c9',1,'WaveSimulation']]]
|
||||
];
|
||||
6
docs/search/functions_6.js
Normal file
@ -0,0 +1,6 @@
|
||||
var searchData=
|
||||
[
|
||||
['scientific_5fformat_0',['scientific_format',['../utils_8hpp.html#a3529a74fd2a25d24de73d9d4e1c90835',1,'utils::scientific_format(double d, int width=20, int prec=10)'],['../utils_8hpp.html#ab3e89176433ddc9ba721b2eba3d08357',1,'utils::scientific_format(const std::vector< double > &v, int width=20, int prec=10)']]],
|
||||
['simulate_1',['simulate',['../classWaveSimulation.html#a82742cffc7c344d705c6a532ed605b0c',1,'WaveSimulation::simulate(std::string outfile, bool write_each_step=false)'],['../classWaveSimulation.html#ab142a9563a302f6cd4b015e3a388c1a4',1,'WaveSimulation::simulate(std::string outfile, std::vector< double > &steps)']]],
|
||||
['step_2',['step',['../classWaveSimulation.html#af9d988b741c59e6de3a32d506538019f',1,'WaveSimulation']]]
|
||||
];
|
||||
5
docs/search/functions_7.js
Normal file
@ -0,0 +1,5 @@
|
||||
var searchData=
|
||||
[
|
||||
['wavesimulation_0',['WaveSimulation',['../classWaveSimulation.html#acb9ed0a8b77ef23ad8682fdef00b5076',1,'WaveSimulation::WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y, double thickness, double pos_x, double ap_sep, double ap, uint32_t slits)'],['../classWaveSimulation.html#a94cf5bb27a79ceefdcc1456704ba17e4',1,'WaveSimulation::WaveSimulation(double h, double dt, double T, double x_c, double y_c, double sigma_x, double sigma_y, double p_x, double p_y)']]],
|
||||
['write_5fu_1',['write_U',['../classWaveSimulation.html#acb893267a27945645510d736cba2939d',1,'WaveSimulation']]]
|
||||
];
|
||||
37
docs/search/mag.svg
Normal file
@ -0,0 +1,37 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://creativecommons.org/ns#"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 19"
|
||||
height="19"
|
||||
width="20"
|
||||
id="svg2"
|
||||
version="1.1">
|
||||
<metadata
|
||||
id="metadata8">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
<dc:title></dc:title>
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<defs
|
||||
id="defs6" />
|
||||
<circle
|
||||
r="3.5"
|
||||
cy="8.5"
|
||||
cx="5.5"
|
||||
id="path4611"
|
||||
style="fill:#000000;fill-opacity:0;stroke:#656565;stroke-width:1.4;stroke-opacity:1;stroke-miterlimit:4;stroke-dasharray:none" />
|
||||
<path
|
||||
id="path4630"
|
||||
d="m 8.1085854,11.109059 2.7823556,2.782356"
|
||||
style="fill:none;stroke:#656565;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.1 KiB |