Message: Re: Self-consistent electric field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Self-consistent electric field 

Forum: Fields: Magnetic and Otherwise
Re: Question Self-consistent electric field (Natalia )
Re: None Re: Self-consistent electric field (John Apostolakis)
Re: Feedback Re: Self-consistent electric field (Gumplinger Peter)
Date: 04 Apr, 2016
From: Natalia <Natalia >

On Thu, 31 Mar 2016 18:30:27 GMT, Gumplinger Peter wrote:
> Dear Natalia,
> > Through GetFieldValue() I can make time-dependent and
> position-dependent fields > at the start of run.
> Why are you saying that you can make these fields (only) 'at the start
> of run'?
> GetFieldValue is called during tracking; at which point you know the
> location and the time. With this you can calculate the field assuming
> you know how to solve for the field from a set number of point charges -
> your previously stopped electrons - (which I don't think is all that
> difficult). You can arrange to communicate the stopping positions from
> the MC to the G4Field.
> Peter

Thank you for the answers!

The problem is that I don't understand whether it's possible to change field input (file with field values or something like that) in GetFieldValue() during the run. Or the filed values are read when creating the field and can't be changed after initialization. If the filed can be changed, as you said, I think I can solve my problem.


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

1 Feedback: Re: Self-consistent electric field   (Gumplinger Peter - 04 Apr, 2016)
 Add Message Add Message
to: "Re: Self-consistent electric field"

 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 ]