Skip to content

Commit c42fbdc

Browse files
authored
Implement new fast thermalization source (#285)
1 parent 2bb12b4 commit c42fbdc

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

src/physics/nuclear.jl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,13 @@ function fusion_reaction_source(
240240
ion.particles = reactivity
241241
ion.fast_particles_energy = eV
242242

243+
if out == :He4
244+
k += 1
245+
ion = resize!(s1d.ion, k)[k]
246+
ion_element!(ion, out; fast=false)
247+
ion.particles = reactivity
248+
end
249+
243250
return nothing
244251
end
245252

0 commit comments

Comments
 (0)