csendlinger
d9877c7993
more changes to plot_charge
2026-09-18 10:55:12 +02:00
csendlinger
fbdfe2942c
changes to plot_charge script to include upscatterings
2026-09-17 09:21:53 +02:00
csendlinger
53f0d0d86a
adjusted Boris mover to use the cartesian position for the calculation of the B field
2026-06-09 09:34:59 +02:00
csendlinger
ca7b637577
Added the analytical approximation for the magnetic
...
field in the P8 LFA scenario:
Ioffe: infinite wire approximations
Bottle: Gaussian profile in Bz
2026-06-09 09:29:21 +02:00
csendlinger
46277ae340
Added new deletion logger type to count elastic
...
scattering events that upscatter the neutral
particle by an energy of 5mK*k_B (for now hard-coded);
Type is only used if DeletionLogger is se=pecified as
"all" in the parameter file
2026-06-09 09:20:55 +02:00
csendlinger
9e9c9ac174
Changes to the Cone+Cylinder Geometry; cutting off the
...
tip of the cone is now supported
2026-06-09 09:13:20 +02:00
csendlinger
a6a9ac388c
Added a half-cylinder with a cone end as a geometry.
...
The cone starts at z=0 and has a height H_cone, the
cylinder starts at H_cone and ends at H_cone + H_cyl.
The radii of the cone and the cylinder are matched.
It's important to note that the injector still injects particles
across the whole "bounding cylinder", but particles
outside of the actual region are removed after their
first movement step without being deposited.
2026-04-28 14:00:10 +02:00
csendlinger
32f4703f4e
New energy distribution function to better approximate
...
the energy distribution of the ions created in the T2 beta decay;
Does not take into account the distribution due to angular
distribution nor the fact that that a dissociative decay is possible.
Note: drawing the ion energy also draws a new electron energy, which,
however, is discarded.
2026-02-16 09:02:25 +01:00
csendlinger
364191d92f
Changes to cluster formation;
...
T2p + T2 -> T3p + T is now considered a tertiary process
and no longer a radiative one (might change again in the future);
tertiary association now conserves (kinetic) energy and momentum
in the center of mass frame (any energy released by the reaction
or transferred into excitations are not accounted for);
radiative association also conserves momentum in the center of mass
frame, where the momentum of the photon is negelected however.
2026-02-16 08:56:40 +01:00
csendlinger
ca78062738
fixed electron polar distribution in ionization
2026-02-11 17:57:35 +01:00
csendlinger
c9a8b511f9
removed scaling of the ion again, since the
...
ion only inherits the velocity of the neutral particle
not its energy
2026-02-04 13:48:09 +01:00
csendlinger
0a843f0a4c
Electric field only used at the position at the beginning of the timestep,
...
the magnetic field is not changed since its value does not depend on the
particles;
Added a reflector for both ends of the cylinder
2026-01-27 14:19:44 +01:00
csendlinger
32521298d4
adjusted temperature in three body proton hydrogen association reaction
2025-12-12 12:14:27 +01:00
csendlinger
26b5820a15
Hotfix positive z crossings
2025-11-21 12:38:58 +01:00
csendlinger
41ffe0b96f
use old position from mover
2025-11-20 09:22:50 +01:00
csendlinger
68d1d88962
Mover returns "old position" for check in
...
simulation loop
2025-11-17 15:46:30 +01:00
csendlinger
09dfddb6da
Added Electrodes to Poisson Solver
2025-11-11 09:23:36 +01:00
csendlinger
5d72083a25
Added Terminator type, which detects the crossing across two surfaces (very rudamentary check)
2025-11-11 09:19:34 +01:00
csendlinger
af2ea430f4
Removed atan2
2025-10-31 16:39:30 +01:00
csendlinger
753ff2c09a
Changed j_phi calc
2025-10-31 16:37:13 +01:00
csendlinger
5cb560e727
Removed possibility of Nphi > 1
2025-10-30 16:19:18 +01:00
csendlinger
5c39fb1745
Minor adjustments
2025-10-30 09:43:11 +01:00
csendlinger
5094a1da35
Bug fix in transformation of Cylinder vector to cartesian one
2025-10-29 16:29:03 +01:00
csendlinger
880de9f1ba
analysis Script for plotting charge against time
2025-10-22 09:15:36 +02:00
csendlinger
f57895bcef
Changed Allreduce to Reduce for CurrentCollector
...
and DeletionLogger; removed sync_ field copies
2025-10-21 14:26:45 +02:00
csendlinger
f5ff3d2f7c
Removed cpu syncs inbetween a timestep; Changed Density field accordingly
2025-10-21 09:09:50 +02:00
csendlinger
753cbe31f5
Corrections to drawing the velocity of a tracked
...
species (dynamic density field of previous timestep);
some optimization changes
2025-10-15 14:46:27 +02:00
csendlinger
31c2b230a9
Removed drawing infrastructure
2025-10-13 13:19:23 +02:00
csendlinger
21ad9cd30a
Removed breaking out of move() due to change
...
in pitchangle bin (BorisMover)
2025-10-09 13:40:07 +02:00
csendlinger
85ec40d37b
Updated example json script
2025-10-07 14:38:24 +02:00
csendlinger
4a11245994
Injection stride on a per injected species basis
2025-10-07 13:15:15 +02:00
csendlinger
8425535f9d
improved pitchangle binning bin() function
2025-10-02 11:14:38 +02:00
csendlinger
de2c3618e3
Performance updates DriftMover
2025-10-01 09:52:27 +02:00
csendlinger
f87bb0d9f0
Updates Driftmover; slight improvements Boris push
2025-10-01 09:37:49 +02:00
csendlinger
80b46f70e6
Updated example json file for WGTS setup
2025-09-22 10:31:43 +02:00
csendlinger
d5e01e3f4a
Fixes Recombination
2025-09-11 16:37:24 +02:00
csendlinger
641e26c10b
Added option whether particles should be stored
...
explicitly
2025-09-09 10:49:57 +02:00
csendlinger
c57dd44dde
Applied correction to cluster formation
...
from karl_paper
2025-09-09 10:42:17 +02:00
csendlinger
bea8751f1d
Added new restart info
2025-08-21 14:00:24 +02:00
csendlinger
285d165615
Quick fix for change in time alive variable
...
of the particles
2025-08-21 10:34:03 +02:00
csendlinger
cc827f1417
Removed the rejection sampling for the
...
density drawing position distribution
2025-08-20 14:55:36 +02:00
csendlinger
abab8810f3
Particles don't reset interaction between timesteps,
...
added possibility to stride the injection of new
beta particles
2025-08-20 14:54:03 +02:00
csendlinger
ddfa5672df
added mpi info stuff
2025-08-14 12:31:57 +02:00
csendlinger
711c030cae
quick fix in mpi particle writer
2025-08-13 15:20:44 +02:00
csendlinger
76a93f5aa4
Electrons are explicitly stored between timesteps
...
and can be dumped using MPI-IO.
Restarts read particles from earlier output.
2025-08-11 09:18:51 +02:00
csendlinger
0dd65d38f3
Electrons stored between timesteps;
...
No restart possible for electrons yet
2025-08-04 14:55:36 +02:00
csendlinger
1859243475
added different rotation function
2025-07-31 16:03:01 +02:00
csendlinger
5f025c667f
fix alpha limiting
2025-07-10 13:43:20 +02:00
csendlinger
0237292c5c
Added counting of physical losses at a wall
...
to deletion logger
2025-07-09 16:39:56 +02:00
csendlinger
603434e161
changed the way powerlaw drawing alpha is limited
2025-07-09 16:38:04 +02:00
csendlinger
f5a4e63627
Added limiter to power of powerlaw drawing stuff
2025-07-08 11:06:40 +02:00
csendlinger
c4ae430fff
corrected powerlaw drawing
2025-07-02 09:54:15 +02:00
csendlinger
7ddb57e72e
Changed elastic scattering to not use v_e >> v_t
2025-07-01 10:12:07 +02:00
csendlinger
f9307af911
back to right sided drawing
2025-06-27 15:00:44 +02:00
csendlinger
b2399c3812
central interpolation energy drawing
2025-06-26 09:42:03 +02:00
csendlinger
b8a4631676
Reverted last commit.
...
Changed powerlaw drawing from left to right
cell for power calculation
2025-06-25 17:50:58 +02:00
csendlinger
87ffe087b8
If interaction and timeres reached at same
...
time log only after interaction. Some debug stuff
2025-06-25 16:05:24 +02:00
csendlinger
9ef7fcd3ca
energy drawing via powerlaw
2025-06-24 15:53:26 +02:00
csendlinger
d06d805465
Small bugfix for ion energy from ionization and
...
random index
2025-06-23 13:30:22 +02:00
csendlinger
249fbfc275
Fixed errors in when and where particles are
...
deposited (Boris Mover)
2025-06-17 10:48:01 +02:00
csendlinger
05125a3fc1
Added debug to check density deposition and
...
deletion alignment
2025-06-10 09:23:43 +02:00
csendlinger
024fe59410
corrected mistake in reader
2025-06-03 11:39:50 +02:00
csendlinger
d621932172
fix ion velocity ionization
2025-06-02 13:13:44 +02:00
csendlinger
d6578e540d
reduction of std::pow calls; stronger usage of
...
Cartesian- and CylinderCoordinate objects
2025-06-02 11:09:57 +02:00
csendlinger
f510d0a39a
preprocessor now filters debug output
2025-05-28 15:27:00 +02:00
csendlinger
e2167fb75b
reduced number of calls to atan2 (in mover only
...
for the Boris push algo), changed drawing of
uniformly distributed unit vector
2025-05-28 15:18:13 +02:00
csendlinger
a33e97187e
removed std::pow usage in d2CrossSections
2025-05-28 15:14:52 +02:00
csendlinger
0af4959fa0
Added functions to directly calculate sin(phi) and
...
cos(phi) instead of having to fully transform vectors
first
2025-05-28 15:08:16 +02:00
csendlinger
59f4041238
Added underflow bin (energy) to indices that are
...
drawn from
2025-05-23 16:58:42 +02:00
csendlinger
786cb6d877
changed drawing of r-position in bin from uniform to linear distribution
2025-05-23 11:07:03 +02:00
csendlinger
1194dba918
Hotfix Drift Mover
2025-05-20 16:47:30 +02:00
csendlinger
5179869039
Removed deleted particles array;
...
resturctured debug output a bit
2025-05-19 09:38:12 +02:00
csendlinger
1a7931bbea
Bugfix Driftmover
2025-05-14 16:42:39 +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
d17602e1fa
Fixed bug with mu=-1; added nan-check in
...
drawing velocity from density if DO_DEBUG
is true in the config file
2025-03-15 09:09:21 +01:00
csendlinger
5bc545ac99
hotfix: changed a <= b to !(a > b)
2025-03-13 15:20:56 +01:00
csendlinger
d62c49a15d
Bugfix drawing from density
2025-02-27 11:32:17 +01:00
csendlinger
62e3c27ba4
Added adapted example json script; small bugfix
2025-02-24 15:12:54 +01:00
csendlinger
3396d810a2
Fixed calculation of currents (included particle weights)
2025-02-19 15:53:46 +01:00
csendlinger
154bf41bf0
Bugfix: delta t default value at construction
2025-02-19 09:34:16 +01:00
csendlinger
9cd7db4e05
Bug fixes and formatting
2025-02-18 11:17:24 +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
e205e7469e
Adapted changes to compilation of
...
external libraries (blitz and jansson)
from the karl_paper branch
2025-02-05 16:13:00 +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