Message: Re: simplest example of reverse monte carlo for GRAS | Not Logged In (login) |
Hi Svetlana, Unfortunanately you can't run this macro simultaneously with adjoint mode, also there is no source position definition in your macro file. However, i can recommend using integral data with adjoint mode instead of using differential data. After translating to fluence, the data should look as exponential and you can apply the data with following functions : /adjoint_physics/SetEminForAdjointModels /adjoint_physics/SetEmaxForAdjointModels If the data is not exponential you can divide (if possible) each exponential range to a new run via adding a loop to macro. In the adjoint mode, the events will be biased on a sphere, target material or sensitive detector, so omnidirectional behaivour will change. There is good example in examples directory (examples/extended/biasing/ReverseMC01) and its comparing both forward(with gps) and reverse mc method. Best, Tevfik On 25 August 2017 at 19:47, Svetlana G. Shasharina <sveta@txcorp.com> wrote: > Hi Tevfik, > > I have a user-defined source: differential fluence vs energy. It is > > omnidirectional (I attach a gps file). I would like to run adjoint > simulation which corresponds to a direct simulation with this gps). > > Thank you, > > > Svetlana > > > On 8/25/17 12:26 PM, M.Tevfik Kaplanoglu wrote: > > > > > > > > > Dear Svetlana, > > Using GPS with Adjoint is not avaible at the moment > , the adjoint/rmc code has some abilities for particle generating > similar like GPS. What do you expect to create as radiation source? > > greetings, > Tevfik > On 25/08/2017 8:29 PM, "Svetlana Shasharina" <sveta@txcorp.com> wrote: > >> >> *** Discussion title: Space Applications >> >> Hello, I have a setup using gdml and gps file. How do I modify it for an >> adjoint simulation in GRAS? I found the simple_geo example in GRAS, but >> was hoping to use the gps file in the adjoint simulation, if this is >> possible. Best regards, Sveta >> >> ------------------------------------------------------------- >> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply or >> unsubscribe) at: >> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/spac >> e_app/130.html >> > > -- M. Tevfik Kaplanoğlu +90 554 378 2975 <+90%20554%20378%2029%2075> [ MIME part of type text/html without a name stripped ] |
Inline Depth: | Outline Depth: | Add message: |
to: |