[Gate-users] Repeat Number

Larry Byars Larry at Byars-Consulting.com
Wed Jan 10 22:36:04 CET 2018


Hello P.T.

Think about what you are asking Gate to try to do...2000 * 2000 * 2000 
objects - thats 8 Billion objects which if they only required 1 byte for 
storage would need 8 GBytes. My guess is they need a whole lot more than 
that and you are probably running our of virtual memory as the system 
tries to accommodate your request. Why not try 200*200*200 and keep 
increasing until it won't work.

My 2 cents worth...

Larry Byars

On 01/08/2018 03:55 PM, P. T. wrote:
> Dear All,
>
> Is there any limitation on the number of times N that a  volume has to 
> be repeated?
>
> In my simulation (in Gate 8.0), everything is OK, when i used 
> following commands:
>
> /gate/mainbox/daughters/name vox
> /gate/mainbox/daughters/insert box
> /gate/vox/geometry/setXLength 0.001  mm
> /gate/vox/geometry/setYLength 0.001  mm
> /gate/vox/geometry/setZLength 0.001  mm
> /gate/vox/placement/setTranslation 0. 0. 0. mm
>
> /gate/vox/repeaters/insert cubicArray
> /gate/vox/cubicArray/setRepeatNumberX 2000
> /gate/vox/cubicArray/setRepeatNumberY 1
> /gate/vox/cubicArray/setRepeatNumberZ 1
> /gate/vox/cubicArray/setRepeatVector 0.001  0.   0. mm
>
> But, when i used :
> /gate/vox/repeaters/insert cubicArray
> /gate/vox/cubicArray/setRepeatNumberX 2000
> /gate/vox/cubicArray/setRepeatNumberY *2000*
> /gate/vox/cubicArray/setRepeatNumberZ *2000*
> /gate/vox/cubicArray/setRepeatVector 0.001 0.001   0.001 mm
>
> The simulation is not running after "[Core-0] Initialization of 
> geometry" command in terminal screen.
>
> Furthermore, everything is OK, when i used following commands:
>
> /gate/vox/repeaters/insert cubicArray
> /gate/vox/cubicArray/setRepeatNumberX *10*
> /gate/vox/cubicArray/setRepeatNumberY *10*
> /gate/vox/cubicArray/setRepeatNumberZ *10*
> /gate/vox/cubicArray/setRepeatVector 0.001  0.001   0.001 mm
>
> Is there any limitation for the setRepeatNumber?
> And, How can I produce a cubic array with the dimension of 2000*2000*2000?
>
>
>
> Thanks in advance,
> Regards,
> PAT
>
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/pipermail/gate-users/attachments/20180110/da4d9c5d/attachment.html>


More information about the Gate-users mailing list