Message: Setting up a gravity field Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Setting up a gravity field 

Keywords: field gravity motion chord
Forum: Fields: Magnetic and Otherwise
Date: 23 Aug, 2004
From: <>

I'm trying to build a Geant4 application that 
will track small dust particles under the influence of (Martian) gravity.

To do this I have first created a G4GravityField class that inherits 
from G4Field. Then I have created a G4Gravity_EqRhs class that inherits
from G4EquationOfMotion, and which will eventually take care of 
computing the motion.

Next I wanted to set up the Chord Finder for use with my new gravity

 fChordFinder = new G4ChordFinder( fGravityField, fMinStep, fStepper);

but G4ChordFinder does not like my field argument: it expects a 
G4MagneticField, perhaps not unexpectedly (?)

Am I now faced with creating a new G4ChordFinder class, or am I approaching
this the wrong way?

Any tips or advice are most welcome. I am a complete novice with
Geant4 so please be gentle :-)


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

1 Feedback: Re: Seg Fault in G4VProcess::GetProcessName() ???   (John Apostolakis - 24 Aug, 2004)
 Add Message Add Message
to: "Setting up a gravity 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 ]