Message: Re: Problem with G4Sphere Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Problem with G4Sphere 

Forum: Geometry
Re: None Problem with G4Sphere (Adil MACHMACH)
Date: 18 Aug, 2010
From: John Apostolakis <John Apostolakis>

Dear Adil,

It is not possible to diagnose your problem given the information  
which you provide. We have had many examples of geometries where one  
volume is placed inside another which work.

Could you please make sure that you have placed your second sphere  
correctly inside the first ?

I would expect that you are talking about full spheres (ie ones which  
have zero inner radius ).  Else you need to ensure that the inner  
sphere's maximum and minimum radius are inside the ones for the outer  
sphere.

Once you have checked this, could you post the relevant lines which  
define your solids (spheres) and physical volumes (placements) ?

Best regards,
John

On Aug 15, 2010, at 1:24 AM, adil machmach wrote:

>
> *** Discussion title: Geometry
>
> --00c09fa21741c10e7a048dd0e56f
> Content-Type: text/plain; charset=ISO-8859-1
>
> i have problem in geometrie in my model
> when i use one Sphere in the detector is good, but when i want to  
> use two
> Sphere " Sphere inside Sphere " i has this message
>
> terminate called after throwing an instance of 'std::length_error'
>  what():  vector::reserve
>
> so when i execute the some program in serveur with bigger memory i  
> has the
> same error message.
> thanks for you help
>
> --00c09fa21741c10e7a048dd0e56f
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: quoted-printable
>
> <div dir=3D"ltr"><div>i have problem in geometrie in my model</ 
> div><div>whe=
> n i use one Sphere in the detector is good, but when i want to use  
> two Sphe=
> re &quot; Sphere inside Sphere &quot; i has this message=A0</ 
> div><div><br><=
> /div>
> <div><br></div><div><br></div><div>terminate called after throwing  
> an insta=
> nce of &#39;std::length_error&#39;</div><div>=A0=A0what():  
> =A0vector::reser=
> ve</div><div><br></div><div><br></div><div>so when i execute the  
> some progr=
> am in serveur with bigger memory i has the same error message.</div>
> <div>thanks for you help</div><br><br>
> </div>
>
> --00c09fa21741c10e7a048dd0e56f--
>
> -------------------------------------------------------------
> Visit this GEANT4 at hypernews.slac.stanford.edu message (to reply  
> or unsubscribe) at:
> http://hypernews.slac.stanford.edu/HyperNews/geant4/get/geometry/1066.html

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

1 None: Re: Problem with G4Sphere   (John Apostolakis - 23 Aug, 2010)
 Add Message Add Message
to: "Re: Problem with G4Sphere"

 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 ]