Commit Graph
100 Commits
Author SHA1 Message Date
Christian c13dd58e16 Loading proper velocity from gas flow simulation into the simulation. 2019-07-30 15:17:29 +02:00
Christian ffc3deff14 Bug fix: Constructors throwing errors since Population for tritium was removed. 2019-07-30 13:27:17 +02:00
Christian d9e0065c2b Detal in error msg. 2019-07-30 12:58:15 +02:00
Christian f653eace4f Added electrons to population logging list. 2019-07-30 11:19:13 +02:00
Christian 1438acfb64 Added Interactions:
diss. excitation between e and T_2^+, T_3^+ and vice versa.
2019-07-30 11:04:17 +02:00
Christian 9914fca397 Removed tritium atoms from simulation particles, since no interesting effect for now. 2019-07-29 16:40:55 +02:00
Christian c8d19b1e7f Added T3e_recombination 2019-07-29 16:34:11 +02:00
Christian 338d45f2d2 Added recombination on T3+ side.
Reworked minor changes in structure and integration over energetic population container.
2019-07-29 16:20:29 +02:00
Christian 959b317590 Fixed particles not being logged properly. 2019-07-24 10:01:24 +02:00
Christian 3cab8cc08b Fixed bug where throwing error if both calcPop parameters were 0. 2019-07-23 17:52:00 +02:00
Christian b3633ce956 Fixed outputfile numeration:
Adding leading 0 to match length of file_endings.
MPI_RANK 9 with MPI_SIZE 100 -> '009'
2019-07-23 15:42:22 +02:00
Christian 1338b18aed Fixing bug, where h5 group "Population" was not properly populated. 2019-07-23 15:08:16 +02:00
Christian 7e0880697a Added "Population Calculation" Mode, where Particles are not logged and different communication rate between CPUs can be set to calculate equilibrium population densities in the beginning. 2019-07-23 13:08:04 +02:00
Christian 7efbbefcc8 h5- file corrupted. 2019-07-22 13:51:55 +02:00
Christian e13f79ea27 Minor change: logging not being a parameter. 2019-07-22 12:49:04 +02:00
Christian 2772ae87ce See previous, but working now, maybe. 2019-07-22 10:44:00 +02:00
Christian 5965e3e90a Reworked logging model:
Added T+, T3+.
Changes in logging hierarchie: Every species individually logs positions.
2019-07-22 10:40:21 +02:00
Christian ad5b66dc0d Fixed Bug in recombination formular and added logging of particles hitting the RW. 2019-07-20 12:08:36 +02:00
Christian e5445cc340 Fixed bug for unrealistic case n_decay < n_cores 2019-07-19 15:37:31 +02:00
Christian b2e4f2f4ff Fixed Bug in splitting up the number of calculations on each CPUs leading to deadlock. 2019-07-19 15:27:44 +02:00
Christian 3adefc7c8b testing 2019-07-19 15:22:08 +02:00
Christian 3da3a023b4 test 2019-07-19 15:19:33 +02:00
Christian 349182a32c test
test
2019-07-19 15:18:05 +02:00
Christian 64345e5252 test 2019-07-19 15:16:49 +02:00
Christian a60bcd2823 Minor change in main: 2019-07-19 15:11:07 +02:00
Christian 79110bdbda Fixing bug in vibrational excitation 2019-07-19 15:07:38 +02:00
Christian 70b90690be Makefile 2019-07-19 14:46:49 +02:00
Christian afb67f29a5 Bug fix, right includes for kalinka 2019-07-18 14:16:00 +02:00
Christian 578d673b65 Moved serial mode to target mcelecron_serial.
Implemented parallelization with mpi.
2019-07-18 14:02:19 +02:00
Christian fd131afdd3 Fixing bugs. 2019-07-12 15:32:52 +02:00
Christian f453dff775 Added charge exchange/vibrational exctition/elastic for T2 + T2+ 2019-07-12 15:23:42 +02:00
Christian 6f288bb0c1 Reworked Katrin Geometrics.
Added creation of T3+ clusters.
Added diss. recombination fo T3+ + e-
2019-07-12 15:15:23 +02:00
Christian 194d3eaf77 Fixing type in formular, leading to ridicoulous large exciation cross section and therefore destroying simulation with excitation. 2019-07-09 15:46:36 +02:00
Christian 2bb0eb19f2 removed debug message 2019-07-08 16:06:43 +02:00
Christian c3432cf3e6 Fixed Bug, where differential cross section of ionization would be calculated massivly wrong due to wrong binning and division through 0 d happen. 2019-07-08 15:10:41 +02:00
Christian 09f12d65c4 bug fix 2019-07-08 14:52:48 +02:00
Christian 299fc1306c Added debug problem for DCS_Container Overflow. 2019-07-08 14:42:48 +02:00
Christian 5fac06db94 Why SIGILL(4) 2019-07-08 12:59:29 +02:00
Christian e9f5d61ff3 Added Parameters to controll Interaction building more precisely:
Toggle Recombination On/Off
Toggle Excitation On/Off
Control DCS_Data for Elastic and Excitaiton between: Elastic_data, 4Pi, 0Pi(straight forward)
2019-07-08 10:57:41 +02:00
Christian 8144685cc3 ... 2019-07-05 15:30:01 +02:00
Christian 8b10edef35 blabla 2019-07-05 15:23:31 +02:00
Christian e4a0c4348d Test 2019-07-05 15:16:09 +02:00
Christian 7cc5e25d1d Still Testing 2019-07-05 14:37:16 +02:00
Christian 418ad0f107 test3 2019-07-05 14:03:42 +02:00
Christian f7372888e4 Test2 2019-07-05 14:00:34 +02:00
Christian 2b752f741c Testing mode... 2019-07-05 13:54:06 +02:00
Christian 576d256529 Added Processors for T atoms. 2019-07-04 14:06:24 +02:00
Christian 4b744769c6 Added Ionization Channels for e+T2 -> now 3 Processes from Janev are available:
eT2_T2I_Ionization_Janev_(label)
1. non dissoziative labeled as ndiss
2. dissoziative via X2 Sigma^+_g labeled as diss_g
3. dissoziative via B2 Sigma^+_u labeled as diss_u

Added more Excitation Channels e + T2 from Janev
2019-07-04 10:24:36 +02:00
Christian 6ba3de7c6c Fixed error in of Excitation, where particles would gain energy.
Now using 4pi scattering. Should be fine for low energy electrons.
Might cause problem for high energy excitation processes.
2019-06-27 13:18:40 +02:00
Christian c6239dc8c7 Added Excitation for Electrons:
Rotational	J=0->2
Vibrational	v=0->1
Electrical	various (7 in total, see Paper from Janev 2008 for details)
2019-06-26 12:44:47 +02:00
Christian ebef3d8cdd Added vibrational excitation 0->1, 0->2
Previous commit was incomplete.
2019-06-23 16:47:57 +02:00
Christian 599d70c65d Fixed bug in pop_log_bin Population_Logger::transform.
Added Vibrational Exitation 0->1 0->2.
2019-06-23 16:21:39 +02:00
Christian 61c29739a8 Fixed Bug: Ionization near threashold and sampling near maximum secondary energy could lead to negative energy. Since energy was small, setting it to 0. 2019-06-18 10:35:44 +02:00
Christian ec2864b6fc Removed Bug, where Parameter Loading wouldn t work properly.
Maybe check for Katrin_Geo validity
2019-06-17 13:31:12 +02:00
Christian e67cfc45c0 debug 2019-06-17 13:25:52 +02:00
Christian 05e6cdef62 debug 2019-06-17 13:22:57 +02:00
Christian 9ecadeb754 debug test 2019-06-17 13:18:00 +02:00
Christian d2a3d3b8a3 Removed Constructor of empty Containers to avoid deconstructor calls on not initilized dynamic arrays. 2019-06-17 12:59:05 +02:00
Christian 13ce5177a2 Reworked Populations Loggers.
Added Save and Load Option for Population Data.
2019-06-17 10:47:04 +02:00
Christian bd64d5390f Finished DCS_Ionization Container.
Removed Energy Cut off for T2+ Ions.
Tested Population loggers.
2019-06-06 16:33:42 +02:00
Christian 142197d10a Added class for population logging. 2019-06-04 09:23:55 +02:00
Christian 8af5ca0427 Bug fix regarding ID part 2. 2019-05-28 17:29:43 +02:00
Christian 61730e03d3 Fixing Bug, where Ids weren't setted properly. 2019-05-28 17:28:08 +02:00
Christian e0f14e8af2 Bug Fix, checking... 2019-05-27 14:37:45 +02:00
Christian 4a27309bc7 Minor change to search bug 2019-05-27 14:36:05 +02:00
Christian 7127c1d5ca Updated makefile. 2019-05-27 14:11:29 +02:00
Christian 0c36c0a938 Bug Fix, working around copy oper^ator for ifstream. 2019-05-27 14:04:24 +02:00
Christian 79bf420f8d Major changes:
- Added individul operators for species and better selecting process.
- Switched to C arrays for main loop operations and calculating array indizes using knowledge of binning instead of doing sorted search
- Added Recombination
- Reworked elastic scattering kinematics
- Added inelastic scattering kinematics
2019-05-27 13:51:32 +02:00
Christian ac83bae061 Major changes:
- Moved to array operations for main loops.
- Changed to setting pointers to operator only once before loop.
- Changed Population Containers
- Added Recombination
- Added Inelastic Scattering Kinematics
- Reworked Elastic Scattering Cross Section
- Reworked Elastic Scattering Kinematics
- Reworked organisation of different particle species and corresponding operators
2019-05-27 13:46:59 +02:00
Christian 0f2a5625a2 Working Version with Population update and T+ interactions. 2019-05-08 13:03:10 +02:00
Christian 2f764c4812 Reworked Logging class.
Added Populations for individual Species.
2019-05-06 13:14:03 +02:00
Christian 67f6dcb633 Removed Warning, for no Interaction for Particle Species, since Testcases trigger all the time. Prob rework, so only warn once. 2019-05-02 13:44:52 +02:00
Christian a3c9d8bde4 Merge branch 'working'
Bug fix: Include <algorithm>
2019-05-02 13:39:07 +02:00
Christian c8e4817479 Bug fix: needed to implement <algorithm> for repalce.
Bug fix: needed to implement <algorithm> for repalce.
2019-05-02 13:38:18 +02:00
Christian 42ed94cf00 Merge branch 'working' 2019-05-02 13:30:51 +02:00
Christian 649c278084 Minior Changes on new structure, exported elastic cross section to seperate file.
Please enter the commit message for your changes. Lines starting
2019-05-02 13:29:21 +02:00
Christian e07c03c888 Changes to Interaction Processor, making possible to add infinite Interactions for all kind of Particles 2019-04-29 13:09:58 +02:00
Christian c44bdacb2c Final commit for working version on working branch. 2019-04-13 15:41:22 +08:00
Christian 404dccb5ef More or less last working status, major changes comming now. 2019-04-13 00:14:51 +02:00
Christian b5a73da3b8 Reworked Container structure and wrote template for n-dim Containers. 2019-04-09 10:32:12 +02:00
Christian e5d66411bb Added export function to function container. 2019-04-03 11:43:28 +02:00
Christian c79661292e Merge branch 'working' 2019-04-02 13:11:40 +02:00
Christian 8a76c09e9a Changed to C++11 and added include for <algorithm> 2019-04-02 13:07:53 +02:00
Christian 8fa772a23b Bug fixes 2019-04-02 12:59:27 +02:00
Christian 110f0bec7c Bug fix 2019-04-02 11:19:40 +02:00
Christian 5c057b0c3d Bug Fix for Kalinka 2019-04-02 11:16:48 +02:00
Christian 1114e40d70 changed string replace to a pre c++11 version. 2019-04-02 11:11:22 +02:00
Christian 94deedc7ff Bug Fix for Kalinka 2019-04-02 11:02:46 +02:00
Christian 6408bd2d2b Bugfix for kalinka 2019-04-02 11:01:09 +02:00
Christian 62772f8477 Restructuring Code. Removed some small classes which provided only 1 function, like parameter. Now each class calls it own parameters and stores them as static const.
Merged function containers.

Added HDF5 output and reworked Logger class into Base class and 2 derived classes ASCI_Logger and H5_Logger
2019-04-02 10:44:33 +02:00
Christian 3c94d9083e Added Parameter maxNumberInteractionsPerElectron. 2019-03-20 15:58:00 +01:00
Christian 63470ac340 Added termination of Electrons after 100 Interactions 2019-03-20 15:48:24 +01:00
Christian c5174beeb9 Merge remote-tracking branch 'refs/remotes/origin/master' 2019-03-19 15:52:11 +01:00
Christian 3d4d2d3a1f Change in Parameter: input parameter numTotalElectrons changed to numberTotalDecays. Now running until number of decays happend, for better time scale. 2019-03-19 15:51:56 +01:00
Christian 74b45bb88d Bug fixed, where check_EnergyTermination was used instead of check_Termination.
Changed check_EnergyTermination and check_WallTermination to private methods.
Minor change for status updater: Set updater Rate to 1% steps.
2019-03-18 14:13:59 +01:00
Christian e77176cc76 Multiple Changes:
Conceptional Change, where terminated Particles were set to Energy = 0. Now Particles are just moved within mover and termination detects, position and starts Interaction only if particle remains in tank.

Added function_container: Filled with anker points and get values corresponding to input by interpolation. 2D Interpolation needs improvement. CSV-Read in function needs error checks of input file.
Changes in katrin class: Boris Push and Drift Approximation improved.
Minor Renamings.
2019-03-18 13:51:41 +01:00
Christian 0c722147f5 Slight changes in Driftapproximation:
1) Spectrometer will reflect electrons.
2) Taking into account radial movement leading to smaller delta z.
2019-03-11 16:00:49 +01:00
Christian 0c8d7f35e1 Removed elastic.cpp and ionization.cpp 2019-03-01 13:04:57 +01:00
Christian b19c03f524 Added myexeption to throw errors and show using MyExeption class. 2019-03-01 11:12:44 +01:00
Christian c0c6bf63a0 bug fix for kalinka. 2019-03-01 10:41:41 +01:00