[Simulation question]: SBS Gvalues - Creator model undefined #38
-
Simulation questionHello everyone, I am working on calculating G-values for a water cube of 2x2x2 µm³ using a phase space file as the radiation source at the cube's center. Regarding the physics and chemistry, I used as basis the example GValuesDNADefault.txt, where the modules g4em-dna and g4em-dna-chemistry were used. However, when I run the simulation, I get the following error:
I have attached the parameter file for reference. Does anyone know how to fix it? Best regards, TOPAS-nBio categoryChemistry Code of Conduct
Attestation
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi Joana, I have attached a revised version of your parameter file. Which I've tested and runs fine (since I don't have your phase space file I just added 1 MeV electrons as your source). Some things to note:
Hope that helps, and good luck with the simulations. All the best, |
Beta Was this translation helpful? Give feedback.
-
Dear, It seems to me the issue comes from FindNearest function where it finds a invalid node. Can you please try to copy content of these attached files to the files G4KDNode.icc (source/processes/electromagnetic/dna/management/include/G4KDNode.icc) and G4KDTree.icc (source/processes/electromagnetic/dna/management/include/G4KDTree.icc) respectively (I cannot attach the original names to this forum). Then, re-compile fully Topas. Then see if the issue still persists ? |
Beta Was this translation helpful? Give feedback.
Dear,
It seems to me the issue comes from FindNearest function where it finds a invalid node. Can you please try to copy content of these attached files to the files G4KDNode.icc (source/processes/electromagnetic/dna/management/include/G4KDNode.icc) and G4KDTree.icc (source/processes/electromagnetic/dna/management/include/G4KDTree.icc) respectively (I cannot attach the original names to this forum). Then, re-compile fully Topas. Then see if the issue still persists ?
G4KDNode.txt
G4KDTree.txt