Message: problem getting volume name Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question problem getting volume name 

Forum: Geometry
Date: 16 Sep, 2011
From: Summit <Summit>

Hello Geant4experts,

I tried to divide detector in tallies. In order to get fluence of particle after tally, i included

G4cout<<"Post Volume: "<<step->GetPostStepPoint()->GetPhysicalVolume()->GetName()<<"\n";

but I am getting segmentation fault

Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: slice1
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Volume: Absorber
Post Segmentation fault

any suggestions please

thanks

Summit

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

1 None: Re: problem getting volume name   (Marc Verderi - 16 Sep, 2011)
 Add Message Add Message
to: "problem getting volume name"

 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 ]