|Message: Force a nuclear decay||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am using the Radioactive Decay Manager in a simulation to create the particles I need. I'm manually setting the global time of the event when said event is generated. Unfortunately, that's only when the radioisotope is itself created--it then decays only after a random time has passed (based on that radioisotope's half-life, of course).
I thought I might be able to handle this by subtracting the time of the first step of whatever track has a parent ID of 1 (which would be the actual decay time of the primary radioisotope), but then I run into the fact that the particle not always a radioisotope (e.g., it might be a neutron), and sometimes I might have stable primary particles. In cases where the primary particle isn't a radioisotope, I don't want to subtract the time of the secondary track / step 1.
A second problem I'm running into is the limitations of the double data type. There are only about 15 decimal places of accuracy in the double, which means if the primary radioisotope has a half-life of a year or more, the accuracy is exceeded (because the time is stored internally in units of nanoseconds, and a year is roughly 1e16 nanoseconds).
One solution to my conundrum is to force the primary nucleus to decay instantly. But I can't figure out how to force a nuclear decay. The class G4DynamicParticle has a SetPreAssignedDecayProperTime method, but it doesn't seem to be applicable to radioisotopes.
Does anybody have any suggestions on how to force a nuclear decay at a specific time? Or any other ideas on how to handle the timing of a delayed decay?
Thanks for any and all help.
|Inline Depth:||Outline Depth:||Add message:|