Problem 1050 - G4Ellipsoid "solid problem"s with /geometry/test/grid_test
Summary: G4Ellipsoid "solid problem"s with /geometry/test/grid_test
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: geometry/solids (show other problems)
Version: 9.1
Hardware: PC Linux
: P5 trivial
Assignee: tatiana.nikitina
URL:
Depends on:
Blocks:
 
Reported: 2009-02-20 03:57 CET by Nahee Park
Modified: 2009-08-04 14:48 CEST (History)
1 user (show)

See Also:


Attachments
Add a ellipsoid in the detector construction of TestEm16 code. (9.58 KB, text/plain)
2009-02-20 03:57 CET, Nahee Park
Details

Note You need to log in before you can comment on or make changes to this problem.
Description Nahee Park 2009-02-20 03:57:43 CET
Created attachment 38 [details]
Add a ellipsoid in the detector construction of TestEm16 code.

<Overview>>>>>>>>
When I tried to test the detector geometry which has a single large ellipsoid shape detector by using "/geometry/test/grid_test" command, it shows "solid problem". Part of error is shown below. 
----
GeomTest Error: SolidProblem
    Solid has odd number of intersection points
    Solid name = air_layer_solid0
    Local position =    3.24007e+08   2.85126e+08             0 cm
GeomTest Error: SolidProblem
    Unmatched intersection point
    Solid name = air_layer_solid0
    Local position =    3.24007e+08   2.85126e+08   4.72901e+08 cm
----

<To reproduce >>>>
1) Add the detector construction in TestEm16 with the attached DetectorConstruction.cc file. (World size has been increased and one ellipsoid is added from original version.)
2) Run with 'vis.mac' and check the status with '/geometry/test/grid_test' command.

<Results shown to me >>>>
Long list of GeomTest Error.
After that, "GeomTest: no overlapping daughters detected." is shown.

<Platform>>>>>>>
Linux version 2.6.18-92.1.22.el5 (CentOs release 5.2)
Geant4.9.1 p02
CLHEP 2.0.2.3
Comment 1 tatiana.nikitina 2009-03-03 11:00:59 CET
 The constructed Ellipsoid is Overlapping with the WorldVolume,
 this causes problems with tracking and with geometry/test.
 It was also verified that after correction of the dimentions, 
 /geometry/test/grid_test  replays correctly :

GeomTest: no daughter volume extending outside mother detected.
GeomTest: no overlapping daughters detected.


 The additional message about 'odd' intersections it is a warning message.
 It might be a problem with DistanceToIn() or DistanceToOut() of G4Ellipsoid.
 It has to be verified.
Comment 2 tatiana.nikitina 2009-08-04 14:48:48 CEST
 Dear Nahee, 

The warning messages from "geometry/test/grid_test" were showing a real error
 in Inside() and in DistanceToIn(p,v) for the points situated on the Curved Surface. 
This problem is fixed and the fix will be provided in the next Geant4 release.
 
 Thank you for reporting the problem.

 Tatiana Nikitina