Message: Re: Local Electric Field: GetFieldValue() problem Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Local Electric Field: GetFieldValue() problem 

Keywords: coordinate systems nonuniform electric field
Forum: Fields: Magnetic and Otherwise
Re: Question Local Electric Field: GetFieldValue() problem (Mario)
Re: Feedback Re: Local Electric Field: GetFieldValue() problem (Gumplinger Peter)
Re: None Re: Local Electric Field: GetFieldValue() problem (Mario)
Date: 18 Feb, 2008
From: Gumplinger Peter <Gumplinger Peter>

> but after looking at the /tracking/verbose 1 output, I have seen

> that GetFielValue() is called a large number of times during one track

> step... am I right?

Yes, this is a feature of the Runge Kutta stepper.

> I have changed the minFieldStep to various values, but there is still

> only one step within the volume... is there another variable I should

> be setting??

Looks to me like you want to set the max. step (not the min. step). I would have thought that in a highly varying field the RK method will reduce the step size automatically to adjust for this. I don't know why that's not the case for your field.

Anyway, you can force a max. step with:

G4TransportationManager* tmanager = G4TransportationManager::GetTransportationManager();

tmanager->GetPropagatorInField()->SetLargestAcceptableStep(MaxTrackingStep);

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

 Add Message Add Message
to: "Re: Local Electric Field: GetFieldValue() problem"

 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 ]