Message: Re: Modify geometry by changing material Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

More Re: Modify geometry by changing material 

Forum: Geometry
Re: Question Modify geometry by changing material (C Mos)
Re: Idea Re: Modify geometry by changing material (Vladimir Ivanchenko)
Date: 04 Nov, 2012
From: C Mos <C Mos>

Great, I look at the suggested example and I was able to see they rebuild the whole universe every time a change is implemented and the update() function is called. A question following this up, should I care about resetting sensitive detectors at all? I tried to follow the geant4 code "behind the scenes" when DefiningNewUniverse() and I was not able to succeed in this task. I am just concerned about freeing used memory although I assume geant4 kernel is taking care of this important task when rebuilding the universe.

Cheers, Chris

 Add Message Add Message
to: "Re: Modify geometry by changing material"

 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 ]