Commit Graph
60 Commits
Author SHA1 Message Date
csendlinger 5179869039 Removed deleted particles array;
resturctured debug output a bit
2025-05-19 09:38:12 +02:00
csendlinger b28245f1a8 Bin based drawing implemented (debug output not
yet removed)
2025-05-14 16:41:19 +02:00
csendlinger 60430abcba Changed distance drawing procedure;
Changed mover to work with times instead of distance;
Changed how interactions are done (recombination still tbd)
2025-05-08 09:56:25 +02:00
csendlinger 2c79c567d8 removed infrastructure only needed for the old
density calculation scheme
2025-05-06 09:53:18 +02:00
csendlinger 89e0a0eb2a Changed density calculation to only log particle
in the bin its movement ends; timestep changed to double
2025-04-23 14:37:55 +02:00
csendlinger 3396d810a2 Fixed calculation of currents (included particle weights) 2025-02-19 15:53:46 +01:00
csendlinger 24b2c2f2ed Decoupled timestep from number of beta events 2025-02-13 10:03:15 +01:00
csendlinger 047cfa8491 Decoupled the number of events simulated from
the timestep;
Bug with density drawing present
(if CPU syncs don't line up with the timestep)
2025-02-12 14:07:43 +01:00
csendlinger 299dfa6fc4 Updated Boris mover to include gravity fields and
in case B=0 use z-direction for mu calculation;
correction of units in analysis script
2025-02-05 14:17:10 +01:00
csendlinger 57ef99a57b Moved drawing from density to seperate classes 2025-02-05 10:31:56 +01:00
csendlinger b529021149 Some optimizations (mfp: vector instead of recalc,
reduced number of density recalculations);
Default gravity field of 0;
adjusted error output
2025-01-29 16:59:10 +01:00
csendlinger 5dffc0c102 removed the 4d density field 2024-11-04 16:08:40 +01:00
csendlinger b1519cb4ca Included pitch angle binning in the json file;
minor changes to debug output
2024-10-29 14:55:14 +01:00
csendlinger 5fc227e1b1 Implemented pitch angle resolution.
Still includes (and uses) the non-pitch angle
resolved fields as well; have to be either removed
completely or refactored s.t. one of the two options
is chosen.
Pitch angle distribution has a hardcoded number of
bins for now, and exists in 'energy_binning.h'
2024-10-28 15:00:19 +01:00
csendlinger b4cbd8c44c Bugfixes;
Restarts now reproduce longer Sims
2024-09-11 14:56:14 +02:00
csendlinger 75bb2e4d85 small fixes and cosmetic changes 2024-09-05 09:33:12 +02:00
csendlinger 9c45fce644 built restart utilities 2024-09-03 16:02:40 +02:00
csendlinger c33629cb88 Added new reading routines (engine state,
4d double, 4d int); fixed error in RestartInfo
output; added the maximum length of the engine
state string into sim_constants.h
2024-08-27 14:46:48 +02:00
csendlinger c14a5245b1 added failsafe in case the value read by json_string_value is not a string 2024-08-26 11:01:46 +02:00
csendlinger f6aae32288 added basic parallel output for the
string representation of the rng engine state
2024-08-23 16:39:03 +02:00
csendlinger 2e5923ab6f restructured fields for cpu sync;
no longer whole object in species but additional
fields in the corresponding classes
2024-08-13 15:00:13 +02:00
csendlinger 9dda12b60a Fixed to state that drawing from density works.
Some debugging elements not removed.
2024-08-12 14:20:45 +02:00
csendlinger b57f6ff201 Basic neccessities to draw from a density field;
does not yet work correctly since the neccessary
density field is reset after a time resolution
step
2024-08-08 10:10:50 +02:00
csendlinger 4301c4453b Added option for initial weights in the injector 2024-07-31 10:35:14 +02:00
csendlinger d08407c773 added function for id of a particle 2024-06-27 10:12:07 +02:00
csendlinger a1444bceaa inclusion gradB field and quickfix reading from array 2024-06-25 10:08:12 +02:00
csendlinger f82cbf4c47 fix in density calculation 2024-05-27 11:00:52 +02:00
csendlinger d6ee7e8be8 optimized queue and backup queue a bit 2024-05-15 09:57:31 +02:00
csendlinger fcbff96f17 Poisson step and resets only after time resolution 2024-05-15 09:12:43 +02:00
csendlinger 77fa8d175a Basic changes for time resolution.
Input from json still suboptimal.
2024-05-14 09:23:52 +02:00
csendlinger cac5e6ff5d added exponential into predefined functions 2024-05-10 14:36:49 +02:00
csendlinger 93a51acbda Added option to reset relevant fields for
output after a poisson solution step
2024-04-13 11:10:18 +02:00
csendlinger ab7c6f20cc inclusion of gravity field;
minor fix in drift velocity calculation in
mover.cpp
2024-04-03 17:13:46 +02:00
csendlinger 52a580ac63 Restructuring of poisson solver offset;
inclusion of stride for poisson solver
2024-03-28 15:57:04 +01:00
csendlinger b54a5805d7 poisson solver boundary in .json 2024-03-27 10:12:09 +01:00
csendlinger 180cb543fe Included meta data output for poisson solver;
minor formatting changes
2024-03-26 10:41:30 +01:00
csendlinger f0df16263b reduced size of potential and electric field grids 2024-03-26 10:02:23 +01:00
csendlinger 55c51f8434 Included redirection in geometry generator 2024-03-15 14:09:00 +01:00
csendlinger be5ab2fbb0 included guard against very large (or inf) timesteps 2024-03-13 13:15:12 +01:00
csendlinger e962f6c461 Merge branch 'atomic_tritium' into poisson_solver_devel 2024-03-11 16:37:11 +01:00
csendlinger 25da47ce0c comments 2024-03-11 16:36:02 +01:00
csendlinger 9e3640210d Included possibility for electron as
target for recombination;
Added energy dependent deletions in recombination
2024-03-11 16:30:52 +01:00
csendlinger dc534dcd9d Included redirection in drift velocity generator 2024-03-07 10:56:01 +01:00
csendlinger 95461433c2 Changed CPU synchronization from averaging to
communicating changes
2024-03-05 17:22:05 +01:00
csendlinger f1d9ccd089 Minor changes in comments 2024-03-05 09:31:36 +01:00
csendlinger 1bff4270e8 fixed spelling, included missing cross section 2024-02-27 17:46:14 +01:00
csendlinger 6900bef856 Added new cross section functions and data
for collisions with atomic tritium
2024-02-27 16:08:08 +01:00
csendlinger 0471363834 formatting adjustments 2024-02-27 16:02:31 +01:00
csendlinger 47e061de47 fixed spelling 2024-02-22 10:42:22 +01:00
csendlinger 6456dab0c4 Revert "averaging instead of summation in syncronization;"
This reverts commit 4dd84ff5fc.
2024-02-06 15:44:30 +01:00