<div dir="ltr">Hello, <div><br></div><div>I agree with John. To my knowledge, t<span style="font-size:12.8000001907349px">esselated solid is not accessible in Gate. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">However remember, Gate is nothing else than a shared, collaborative, pure Geant4 application, so everything available in Geant4 could be added in Gate. If nothing already available in Gate directly suits your problem, my advice is to start studying your specific situation with additional Geant4 code in your own Gate repository. For example, you may want to add a new type of volume (inherit from GateVVolume that uses G4Physical and G4LogicalVolume). </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">If it appears that this new volume could be of interest to other people, feel free to propose a pull-request so as we can integrate it in next Gate releases. </span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">David</span></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px"><br></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jun 10, 2015 at 4:56 AM, John Apostolakis <span dir="ltr"><<a href="mailto:John.Apostolakis@cern.ch" target="_blank">John.Apostolakis@cern.ch</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>From the perspective of a Geant4 Geometry developer:</div>
<div><br>
</div>
1) One alternative available in ‘native’ Geant4 is to use a ‘Tesselated Solid’, which allows you to create a solid using its surfaces. Those can be either triangles or quadrilaterals. This may or not be available in GATE (the experts can advise). If not,
it should be possible to add it as a shape, within a measurable effort.
<div><br>
</div>
<div>One advantage of this shape is that the implementation has recently been redone, and the CPU performance is greatly improved compared to the original version, which had to test all the surfaces.</div>
<div><br>
</div>
<div>2) Regarding the idea of using 600 boxes: the Geant4 Navigator (which GATE uses) is easily able to handle thousands of volumes placed at the same level of the geometry. This capability is used by the geometry of large High Energy Physics experiments,
and is instrumental in obtaining adequate CPU performance for them. So having 600 boxes at the same level will not stress it. Of course it will not be as fast as a geometry with 6 or 60 boxes - but the most important reason is the increased number of steps,
since steps will stop at volume boundaries.</div>
<div><br>
</div>
<div>[ It may be possible to tweak the CPU performance using a parameter in the volume in which you place these, if you wish to obtain some improvements. Please refer to the Geant4 manual for information about this - again this option may require some
code change in GATE to access . I would expect around 10% change, if any, doing this from prior experience. Unexpected improvements would be of interest! ] </div>
<div><br>
</div>
<div>Hope this helps,<br>
<div><span style="border-collapse:separate;border-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<div>John A</div>
<div>
<div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:-webkit-auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">
<div style="word-wrap:break-word">
<div>===================================================</div>
<div>John Apostolakis, PH Department, CERN</div>
<div><br>
</div>
</div>
</span></span></div>
</div>
</div>
</span></div>
</span></div>
</span></div>
</span></div>
</span></span></div>
<div>
<blockquote type="cite"><div><div class="h5">
<div>On 10 Jun 2015, at 01:26, Karl Spuhler <<a href="mailto:karl.spuhler@stonybrook.edu" target="_blank">karl.spuhler@stonybrook.edu</a>> wrote:</div>
<br>
</div></div><div><div><div class="h5">
<div dir="ltr">Hello,
<div><br>
</div>
<div>I need to model a curved filter. I am wondering if this is possible? It will have different thicknesses at 600 points. I suppose I could use 600 different boxes, as I have calculated the thickness of each cross section in Python, but I am concerned
that this might make the simulation run for too long.<br clear="all">
<div><br>
</div>
-- <br>
<div>
<div dir="ltr">Karl Spuhler
<div><br>
</div>
<div>SUNY Stony Brook</div>
<div>PhD Student</div>
<div>(845)249-6836</div>
<div>
<h1 style="font-weight:normal;color:rgb(51,51,51);margin:0px 0px 0.4em;line-height:1;font-family:arial,sans-serif,helvetica">
<br>
</h1>
</div>
</div>
</div>
</div>
</div></div></div>
_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org" target="_blank">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a></div>
</blockquote>
</div>
<br>
</div>
</div>
<br>_______________________________________________<br>
Gate-users mailing list<br>
<a href="mailto:Gate-users@lists.opengatecollaboration.org">Gate-users@lists.opengatecollaboration.org</a><br>
<a href="http://lists.opengatecollaboration.org/mailman/listinfo/gate-users" target="_blank">http://lists.opengatecollaboration.org/mailman/listinfo/gate-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr">David Sarrut, Phd<br>Directeur de recherche CNRS<br>CREATIS, UMR CNRS 5220, Inserm U 1044<div>Centre de lutte contre le cancer Léon Bérard<br>28 rue Laënnec, 69373 Lyon cedex 08<br>Tel : 04 78 78 51 51 / 06 74 72 05 42<br><a href="http://www.creatis.insa-lyon.fr/~dsarrut" target="_blank">http://www.creatis.insa-lyon.fr/~dsarrut</a><br>_________________________________</div><div> "2 + 2 = 5, for extremely large values of 2"<br>_________________________________</div></div></div>
</div>