Message: Cylinder volume filled with small spheres Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Cylinder volume filled with small spheres 

Forum: Geometry
Date: 08 Mar, 2018
From: Cristian Bungau <Cristian Bungau>

Hi,

I have a tube of certain minimum and maximum radii, and I have to fill it with tiny spheres placed closed together right next to each other. I know one can use a for loop to place each volume with the calculated coordinates as a new placement copy of the same logical volume. But the memory consumption is huge and causes the code to crash because of this.

If anyone can think of a better way using either replica or parametrised volumes, I would be very grateful if you could please let me know.

Thank you,

Cristian

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: Cylinder volume filled with small spheres   (Michael H. Kelsey - 08 Mar, 2018)
(_ Ok: Re: Cylinder volume filled with small spheres   (Cristian Bungau - 08 Mar, 2018)
(_ None: Re: Cylinder volume filled with small spheres   (Mike Kelsey - 08 Mar, 2018)
 Add Message Add Message
to: "Cylinder volume filled with small spheres"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]