Hello gaters,<br><br>I've been trying to use the "forbid" and "confine" command to create the source with some particular shape.<br><br>But when I start the simulation, it always gives me <br>*************************************<br>
LoopCount = 100000<br>Either the source distribution >> confinement<br>or any confining volume may not overlap with<br>the source distribution or any confining volumes<br>may not exist<br>If you have set confine then this will be ignored<br>
for this event.<br>*************************************<br>this for many times then finally it reaches "***Break*** Segmentation violation"<br clear="all"><br>I tried this with a simple geometry which a large cylinder confines a little smaller cylinder source so that the source always be generated within a "confined" volume.<br>
<br>But still I get the aforesaid error.<br><br>I'll gladly await for any solution or suggestion.<br><br>Taku<br><br><br>Below is the part of macro where I think related with the confine command...<br>-----<br>/gate/world/daughters/name forbidBox<br>
/gate/world/daughters/insert box<br>
/gate/forbidBox/placement/setTranslation 0 0 0 cm<br>/gate/forbidBox/geometry/setXLength 15. cm<br>/gate/forbidBox/geometry/setYLength 15. cm<br>/gate/forbidBox/geometry/setZLength 15. cm<br><br>/gate/forbidBox/daughters/name coldCyl1<br>
/gate/forbidBox/daughters/insert cylinder<br>/gate/coldCyl1/placement/setTranslation 1.0 1.0 0.0 cm<br>/gate/coldCyl1/geometry/setRmax 1. cm<br>/gate/coldCyl1/geometry/setHeight 1. cm<br>/gate/coldCyl1/setMaterial Water<br>
/gate/coldCyl1/vis/forceWireframe<br>/gate/coldCyl1/vis/setColor white<br><br>/gate/source/addSource testsource2<br>/gate/source/testsource2/gps/centre 1.0 1.0 0. cm<br>/gate/source/testsource2/setActivity 10000. becquerel<br>
/gate/source/testsource2/gps/particle e+<br>/gate/source/testsource2/gps/energytype Fluor18<br>/gate/source/testsource2/gps/angtype iso<br>/gate/source/testsource2/setForcedUnstableFlag true<br>/gate/source/testsource2/setForcedHalfLife 6586 s<br>
/gate/source/testsource2/gps/type Volume<br>/gate/source/testsource2/gps/shape Cylinder<br>/gate/source/testsource2/gps/radius 0.9 cm<br>/gate/source/testsource2/gps/halfz 0.25 cm<br><br>/gate/source/testsource2/gps/confine coldCyl1<br>
<br>-- <br>Hokkaido University, Graduate school of medicine, medical physics and engineering D1<br>北海道大学 大学院 医学研瘢雹究科 医学物理工学分野 D1<br>Taku Yamanaka<br>山中 琢<br><br><a href="mailto:takuyama@med.hokudai.ac.jp" target="_blank">takuyama@med.hokudai.ac.jp</a><br>
--