magnet_one_of_each_base test has geometry overlaps

Issue #64 resolved
Jochem Snuverink created an issue

With the newly introduced overlap checks in ctest, it is found that the features/geometry/4_magnets/one_of_each_base.gmad has overlaps:

55: Checking overlaps for volume rb1_bp_start_phys ... 
55: -------- WWWW ------- G4Exception-START -------- WWWW -------
55: *** G4Exception : GeomVol1002
55:       issued by : G4PVPlacement::CheckOverlaps()
55: Overlap with mother volume !
55:           Overlap is detected for volume rb1_bp_start_phys
55:           with its mother volume rb1_container_lv
55:           at mother local point (119.149,-46.0191,-4983.85), overlapping by at least: 7.84138 mm 
55: NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
55: *** This is just a warning message. ***
55: -------- WWWW -------- G4Exception-END --------- WWWW -------
55: 
55: Checking overlaps for volume rb1_bp_phys ... OK! 
55: Checking overlaps for volume rb1_bp_end_phys ... 
55: -------- WWWW ------- G4Exception-START -------- WWWW -------
55: *** G4Exception : GeomVol1002
55:       issued by : G4PVPlacement::CheckOverlaps()
55: Overlap with mother volume !
55:           Overlap is detected for volume rb1_bp_end_phys
55:           with its mother volume rb1_container_lv
55:           at mother local point (68.1839,77.8987,4994.18), overlapping by at least: 7.84138 mm 
55: NOTE: Reached maximum fixed number -1- of overlaps reports for this volume !
55: *** This is just a warning message. ***
55: -------- WWWW -------- G4Exception-END --------- WWWW -------
55: 
55: Checking overlaps for volume rb1_yoke_pv ... OK! 
55: Checking overlaps for volume rb1_outer_pv ... 
55: -------- WWWW ------- G4Exception-START -------- WWWW -------
55: *** G4Exception : GeomVol1002
55:       issued by : G4PVPlacement::CheckOverlaps()
55: Overlap with volume already placed !
55:           Overlap is detected for volume rb1_outer_pv
55:           apparently fully encapsulating volume rb1_bp_phys
55:           at the same level !

Comments (4)

  1. Laurie Nevay

    one_of_each_base.gmad is the common lattice. Each test in this directory overrides the magnet geometry so the overlaps are particular to one of these tests. There's no need to run one_of_each_base.gmad directly.

  2. Laurie Nevay

    Confirmed. RBend placement was pretty broken. This was checked extensively before but it need some reworking so clearly didn't work exactly as intended, or more recent changes affected it.

    Screen Shot 2015-08-12 at 16.00.29 2.png

    Screen Shot 2015-08-12 at 15.57.52.png

  3. Laurie Nevay

    Added offset to central magnet geometry; used transforms for placement of start and end pieces of pipe. Checked overlaps thoroughly with range of angles both positive and negative and inside other lattices with prior rotation as well.

    Screen Shot 2015-08-13 at 16.47.52.png

  4. Log in to comment