<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello, I fixed the previous problem (extremely trivial, sorry about that), however I have another one. After defining two volumes called vol_tot and vol_tpc, I would like to make a booleanDifference and get the 3rd volume, called vol_tot. However, nor the elementary entity vol_tot or the physical entity physiv_gas are tagged when I look in the ‘visibility’ option, whereas vol_env and vol_tpc do appear. <div class=""><br class=""></div><div class="">Here is the relevant part of the code:<div class=""><div class=""><br class=""></div><div class=""><pre style="background-color: rgb(255, 255, 255); font-family: Menlo; font-size: 9pt;" class="">n_physv = 1; // physical volumes</pre><div class=""><span style="font-family: Menlo; font-size: 9pt; background-color: rgb(255, 255, 255);" class="">vol_tot = newv;</span></div></div><div class=""><pre style="background-color: rgb(255, 255, 255); font-family: Menlo; font-size: 9pt;" class=""><br class="">BooleanDifference(vol_tot) = { Volume{vol_env};Delete;}{Volume{vol_tpc};};<br class=""><br class=""></pre><div class=""><pre style="background-color: rgb(255, 255, 255); font-family: Menlo; font-size: 9pt;" class="">physv_gas = n_physv; Physical Volume(physv_gas) = {vol_tot}; n_physv += 1;</pre><div class="">Also (I don’t know if it is related) when I print the tag number of vol_tot, I get 57. Which I find very strange since there are only two volumes defined (vol_env and vol_tpc), so I was expecting to get a tag number 3.</div></div><div class=""><br class=""></div><div class="">Any help is greatly appreciated.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class="">Sabrina</div><div class="">
<div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">-- <br class="">Sabrina Zacarias<br class="">Institut für Kernphysik<br class="">Technische Universität Darmstadt<br class="">S2|14 / office 319<br class="">Schlossgartenstr. 9<br class=""><br class=""></div><div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">64289 Darmstadt<br class=""><br class="">Office: +49 6151 16 23589<br class=""></div></div>
</div>
<br class=""></div></div></div></body></html>