Message: Re: Speed Difference between Parameterised and Replica? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Speed Difference between Parameterised and Replica? 

Forum: Geometry
Re: None Speed Difference between Parameterised and Replica? (Ryan)
Date: 11 Jul, 2007
From: John Apostolakis <John Apostolakis>

In case the phantom is homogeneous, a replica will be a good 
implementation for a phantom. There is no overhead in memory (which can 
exists for simpler 3-d parameterisations).

It was not clear whether you are making a simple 1-d slicing or creating 
3-d voxels.  Replicas will be fine for either, but moving to a 
non-homogeneous setup is only possible for parameterised volumes.  An in 
the latter case (of 3d voxels) there are significant benefits in memory 
use in using nested parameterisations.

But since the volume is homogeneous you can also avoid subdiving your 
volumes, if you take care to deposit the energy in your sensitive volume.

In particular instead of putting all the energy deposited along the step 
at one point (it is meant to represent continuous energy loss, spread 
along the step), you will need to  spread the deposit between artificial 
cells that you create only for the purpose of scoring the energy. Since 
your steps will not stop at volume boundaries, the simulation will be 
much faster.

Could you please give some more information about your application, to 
enable better feedback.

Best regards,
John.

Ryan wrote:
> *** Discussion title: Geometry
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/geometry/755"@geant4-hn.slac.stanford.edu>
>   Subject: Re: Speed Difference between Parameterised and Replica?
>
> Hi,
>
> I'm implementing a homogeneous voxel phantom. Between using replicas and
> parameterization, I know that replicas will save more memory. But will
> there be any execution time difference between the two methods of doing
> it?
>
> Thanks
>   

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

1 None: Re: Speed Difference between Parameterised and Replica?   (Ryan - 11 Jul, 2007)
1 None: Re: Speed Difference between Parameterised and Replica?   (John Apostolakis - 11 Jul, 2007)
1 None: Re: Speed Difference between Parameterised and Replica?   (Ryan - 11 Jul, 2007)
...
2 None: Re: Speed Difference between Parameterised and Replica?   (michel maire - 12 Jul, 2007)
1 None: Re: Speed Difference between Parameterised and Replica?   (Ryan - 12 Jul, 2007)
... 4 Message(s)
 Add Message Add Message
to: "Re: Speed Difference between Parameterised and Replica?"

 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 ]