Message: only apply field only to one particle and energy range Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question only apply field only to one particle and energy range 

Forum: Fields: Magnetic and Otherwise
Date: 04 Nov, 2013
From: John Leacock <John Leacock>

After profiling my program I've found that most time is spent calculating the field at each step. I'm using a gravity field derived from a magnetic field using posts on this site.

Gravity is negligible for most of the particles I'm interested in. Is there a way to only call the Field if a particle matches some criteria?

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

1 Idea: Re: only apply field only to one particle and energy range   (Gumplinger Peter - 12 Nov, 2013)
(_ None: Re: only apply field only to one particle and energy range   (John Leacock - 17 Feb, 2014)
 Add Message Add Message
to: "only apply field only to one particle and energy range"

 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 ]