Message: Re: Getting NAN for values of Point in a magnetic field class Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Getting NAN for values of Point in a magnetic field class 

Forum: Fields: Magnetic and Otherwise
Re: None Getting NAN for values of Point in a magnetic field class (Aaron Liblong)
Date: 16 Jul, 2012
From: Gumplinger Peter <Gumplinger Peter>

Hi Aaron,

Can you turn on '/tracking/verbose 1' and add some G4cout statements in your GetFieldValue method, pipe it into an output file and then post a snippet of that file - just the part of when and where the problem occurs.

If that isn't going to hint on what's wrong, we also need to know how you instantiated all of the relevant classes (field, equation, stepper, chordfinder etc.)

Peter

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

1 None: Re: Getting NAN for values of Point in a magnetic field class   (Aaron Liblong - 17 Jul, 2012)
1 None: Re: Getting NAN for values of Point in a magnetic field class   (Youming Yang - 17 Jul, 2012)
2 Feedback: Re: Getting NAN for values of Point in a magnetic field class   (Gumplinger Peter - 17 Jul, 2012)
1 None: Re: Getting NAN for values of Point in a magnetic field class   (Aaron Liblong - 18 Jul, 2012)
... 1 Message(s)
 Add Message Add Message
to: "Re: Getting NAN for values of Point in a magnetic field class"

 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 ]